commit
2b38e664f7
56
.github/dependabot.yml
vendored
56
.github/dependabot.yml
vendored
|
@ -9,11 +9,67 @@ updates:
|
|||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
reviewers:
|
||||
- "ngpixel"
|
||||
- package-ecosystem: "docker"
|
||||
directory: "/docker"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
reviewers:
|
||||
- "ngpixel"
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
reviewers:
|
||||
- "rjsparks"
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
reviewers:
|
||||
- "ngpixel"
|
||||
groups:
|
||||
yarn:
|
||||
patterns:
|
||||
- "*"
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/playwright"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
reviewers:
|
||||
- "ngpixel"
|
||||
groups:
|
||||
npm:
|
||||
patterns:
|
||||
- "*"
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/dev/coverage-action"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
reviewers:
|
||||
- "ngpixel"
|
||||
groups:
|
||||
npm:
|
||||
patterns:
|
||||
- "*"
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/dev/deploy-to-container"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
reviewers:
|
||||
- "ngpixel"
|
||||
groups:
|
||||
npm:
|
||||
patterns:
|
||||
- "*"
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/dev/diff"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
reviewers:
|
||||
- "ngpixel"
|
||||
groups:
|
||||
npm:
|
||||
patterns:
|
||||
- "*"
|
||||
|
|
37
.github/workflows/build.yml
vendored
37
.github/workflows/build.yml
vendored
|
@ -17,6 +17,11 @@ on:
|
|||
default: true
|
||||
required: true
|
||||
type: boolean
|
||||
sandboxNoDbRefresh:
|
||||
description: 'Sandbox Disable Daily DB Refresh'
|
||||
default: false
|
||||
required: true
|
||||
type: boolean
|
||||
legacySandbox:
|
||||
description: 'Deploy to Legacy Sandbox'
|
||||
default: false
|
||||
|
@ -54,7 +59,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-depth: 1
|
||||
fetch-tags: false
|
||||
|
||||
- name: Get Next Version
|
||||
if: ${{ github.ref_name == 'release' }}
|
||||
|
@ -126,7 +132,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-depth: 1
|
||||
fetch-tags: false
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
@ -134,13 +141,13 @@ jobs:
|
|||
node-version: '16'
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Download a Coverage Results
|
||||
if: ${{ github.event.inputs.skiptests == 'false' || github.ref_name == 'release' }}
|
||||
uses: actions/download-artifact@v3.0.2
|
||||
uses: actions/download-artifact@v4.1.1
|
||||
with:
|
||||
name: coverage
|
||||
|
||||
|
@ -172,6 +179,20 @@ jobs:
|
|||
echo "Build release tarball..."
|
||||
mkdir -p /home/runner/work/release
|
||||
tar -czf /home/runner/work/release/release.tar.gz -X dev/deploy/exclude-patterns.txt .
|
||||
|
||||
- name: Collect + Push Statics
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_KEY_SECRET }}
|
||||
AWS_DEFAULT_REGION: auto
|
||||
AWS_ENDPOINT_URL: ${{ secrets.CF_R2_ENDPOINT }}
|
||||
run: |
|
||||
echo "Collecting statics..."
|
||||
docker run --rm --name collectstatics -v $(pwd):/workspace ghcr.io/ietf-tools/datatracker-app-base:latest sh dev/deploy/collectstatics.sh
|
||||
echo "Pushing statics..."
|
||||
cd static
|
||||
aws s3 sync . s3://static/dt/$PKG_VERSION --only-show-errors
|
||||
|
||||
- name: Update CHANGELOG
|
||||
id: changelog
|
||||
|
@ -229,7 +250,7 @@ jobs:
|
|||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload Build Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: release-${{ env.PKG_VERSION }}
|
||||
path: /home/runner/work/release/release.tar.gz
|
||||
|
@ -310,7 +331,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Download a Release Artifact
|
||||
uses: actions/download-artifact@v3.0.2
|
||||
uses: actions/download-artifact@v4.1.1
|
||||
with:
|
||||
name: release-${{ env.PKG_VERSION }}
|
||||
|
||||
|
@ -325,7 +346,7 @@ jobs:
|
|||
npm ci
|
||||
cd ../..
|
||||
echo "Start Deploy..."
|
||||
node ./dev/deploy-to-container/cli.js --branch ${{ github.ref_name }} --domain dev.ietf.org --appversion ${{ env.PKG_VERSION }} --commit ${{ github.sha }} --ghrunid ${{ github.run_id }}
|
||||
node ./dev/deploy-to-container/cli.js --branch ${{ github.ref_name }} --domain dev.ietf.org --appversion ${{ env.PKG_VERSION }} --commit ${{ github.sha }} --ghrunid ${{ github.run_id }} --nodbrefresh ${{ github.event.inputs.sandboxNoDbRefresh }}
|
||||
|
||||
- name: Cleanup old docker resources
|
||||
env:
|
||||
|
@ -346,7 +367,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Download a Release Artifact
|
||||
uses: actions/download-artifact@v3.0.2
|
||||
uses: actions/download-artifact@v4.1.1
|
||||
with:
|
||||
name: release-${{ env.PKG_VERSION }}
|
||||
path: /a/www/ietf-datatracker/main.dev.${{ github.run_number }}
|
||||
|
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
|
@ -29,9 +29,9 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
uses: github/codeql-action/analyze@v3
|
||||
|
|
2
.github/workflows/dependency-review.yml
vendored
2
.github/workflows/dependency-review.yml
vendored
|
@ -18,3 +18,5 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: 'Dependency Review'
|
||||
uses: actions/dependency-review-action@v3
|
||||
with:
|
||||
vulnerability-check: false
|
||||
|
|
2
.github/workflows/tests-az.yml
vendored
2
.github/workflows/tests-az.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
|||
ssh-keyscan -t rsa $vminfo >> ~/.ssh/known_hosts
|
||||
|
||||
- name: Remote SSH into VM
|
||||
uses: appleboy/ssh-action@55dabf81b49d4120609345970c91507e2d734799
|
||||
uses: appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
|
|
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
@ -52,7 +52,7 @@ jobs:
|
|||
coverage xml
|
||||
|
||||
- name: Upload geckodriver.log
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
name: geckodriverlog
|
||||
|
@ -69,7 +69,7 @@ jobs:
|
|||
mv latest-coverage.json coverage.json
|
||||
|
||||
- name: Upload Coverage Results as Build Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: coverage
|
||||
|
@ -103,7 +103,7 @@ jobs:
|
|||
npx playwright test --project=${{ matrix.project }}
|
||||
|
||||
- name: Upload Report
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ always() }}
|
||||
continue-on-error: true
|
||||
with:
|
||||
|
@ -162,7 +162,7 @@ jobs:
|
|||
npx playwright test --project=${{ matrix.project }} -c playwright-legacy.config.js
|
||||
|
||||
- name: Upload Report
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ always() }}
|
||||
continue-on-error: true
|
||||
with:
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -23,6 +23,7 @@ datatracker.sublime-workspace
|
|||
/media
|
||||
/node_modules
|
||||
/release-coverage.json
|
||||
/static
|
||||
/tmp-*
|
||||
/.testresult
|
||||
*.pyc
|
||||
|
|
Binary file not shown.
BIN
.yarn/cache/@babel-parser-npm-7.23.6-2fad283d6e-140801c437.zip
vendored
Normal file
BIN
.yarn/cache/@babel-parser-npm-7.23.6-2fad283d6e-140801c437.zip
vendored
Normal file
Binary file not shown.
BIN
.yarn/cache/@eslint-community-regexpp-npm-4.10.0-6bfb984c81-2a6e345429.zip
vendored
Normal file
BIN
.yarn/cache/@eslint-community-regexpp-npm-4.10.0-6bfb984c81-2a6e345429.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@eslint-eslintrc-npm-2.1.4-1ff4b5f908-10957c7592.zip
vendored
Normal file
BIN
.yarn/cache/@eslint-eslintrc-npm-2.1.4-1ff4b5f908-10957c7592.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@fullcalendar-core-npm-6.1.10-15efba3167-88f0feb447.zip
vendored
Normal file
BIN
.yarn/cache/@fullcalendar-core-npm-6.1.10-15efba3167-88f0feb447.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@fullcalendar-daygrid-npm-6.1.10-398fef213d-4b125e57fa.zip
vendored
Normal file
BIN
.yarn/cache/@fullcalendar-daygrid-npm-6.1.10-398fef213d-4b125e57fa.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@fullcalendar-luxon3-npm-6.1.10-8d3a3d8496-47d4c6dbd3.zip
vendored
Normal file
BIN
.yarn/cache/@fullcalendar-luxon3-npm-6.1.10-8d3a3d8496-47d4c6dbd3.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-bundler-default-npm-2.11.0-60cd122e71-6541cd9b82.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-bundler-default-npm-2.11.0-60cd122e71-6541cd9b82.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-cache-npm-2.11.0-009ba90eaa-bcb6ce0224.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-cache-npm-2.11.0-009ba90eaa-bcb6ce0224.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-compressor-raw-npm-2.11.0-c68d493841-90882f3afa.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-compressor-raw-npm-2.11.0-c68d493841-90882f3afa.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-core-npm-2.11.0-6342e70419-22d4e1f3f5.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-core-npm-2.11.0-6342e70419-22d4e1f3f5.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-fs-npm-2.11.0-8d41c39e85-2702d29dd7.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-fs-npm-2.11.0-8d41c39e85-2702d29dd7.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-namer-default-npm-2.11.0-b19d289c57-452978cb59.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-namer-default-npm-2.11.0-b19d289c57-452978cb59.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-node-resolver-core-npm-3.2.0-d449d46e11-9a006b50b1.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-node-resolver-core-npm-3.2.0-d449d46e11-9a006b50b1.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-optimizer-css-npm-2.11.0-9746660015-8407b5e864.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-optimizer-css-npm-2.11.0-9746660015-8407b5e864.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-optimizer-data-url-npm-2.11.0-384ae33ee4-cf8680e676.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-optimizer-data-url-npm-2.11.0-384ae33ee4-cf8680e676.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-optimizer-htmlnano-npm-2.11.0-3247e2fdd1-4943948a8f.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-optimizer-htmlnano-npm-2.11.0-3247e2fdd1-4943948a8f.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-optimizer-image-npm-2.11.0-49b9f44d2c-9c4d9d087f.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-optimizer-image-npm-2.11.0-49b9f44d2c-9c4d9d087f.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-optimizer-svgo-npm-2.11.0-4c73051f7f-4e671856c2.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-optimizer-svgo-npm-2.11.0-4c73051f7f-4e671856c2.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-optimizer-swc-npm-2.11.0-4799184866-be4b8bc94a.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-optimizer-swc-npm-2.11.0-4799184866-be4b8bc94a.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-package-manager-npm-2.11.0-0093175155-3846542eb5.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-package-manager-npm-2.11.0-0093175155-3846542eb5.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-packager-raw-npm-2.11.0-7b94e2b267-c36dbcc82a.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-packager-raw-npm-2.11.0-7b94e2b267-c36dbcc82a.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-packager-svg-npm-2.11.0-8d1f3d908d-2d0394dd5e.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-packager-svg-npm-2.11.0-8d1f3d908d-2d0394dd5e.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-profiler-npm-2.11.0-ddcb455e20-f5b5749786.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-profiler-npm-2.11.0-ddcb455e20-f5b5749786.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-reporter-cli-npm-2.11.0-ab155d7a57-81e62144ad.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-reporter-cli-npm-2.11.0-ab155d7a57-81e62144ad.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-reporter-dev-server-npm-2.11.0-5fc4b1fa22-ac8948c7f3.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-reporter-dev-server-npm-2.11.0-5fc4b1fa22-ac8948c7f3.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-reporter-tracer-npm-2.11.0-8a358255e3-83aedfc97d.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-reporter-tracer-npm-2.11.0-8a358255e3-83aedfc97d.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-resolver-default-npm-2.11.0-d8f3f39d13-bbb5f6dfd6.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-resolver-default-npm-2.11.0-d8f3f39d13-bbb5f6dfd6.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-runtime-browser-hmr-npm-2.11.0-f1e83d8dd6-ad7eba3210.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-runtime-browser-hmr-npm-2.11.0-f1e83d8dd6-ad7eba3210.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-runtime-react-refresh-npm-2.11.0-d4ea40f648-0a29d9e55a.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-runtime-react-refresh-npm-2.11.0-d4ea40f648-0a29d9e55a.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-runtime-service-worker-npm-2.11.0-a6c5146e82-da8d2b5a92.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-runtime-service-worker-npm-2.11.0-a6c5146e82-da8d2b5a92.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-transformer-css-npm-2.11.0-3686de070e-59b1893b94.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-transformer-css-npm-2.11.0-3686de070e-59b1893b94.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-transformer-inline-string-npm-2.11.0-5076b0e854-99e53f2939.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-transformer-inline-string-npm-2.11.0-5076b0e854-99e53f2939.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-transformer-js-npm-2.11.0-dfce68b0df-ae75820a39.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-transformer-js-npm-2.11.0-dfce68b0df-ae75820a39.zip
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/@parcel-transformer-json-npm-2.11.0-2bdc20c542-6e25561d09.zip
vendored
Normal file
BIN
.yarn/cache/@parcel-transformer-json-npm-2.11.0-2bdc20c542-6e25561d09.zip
vendored
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue