Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b6fd01c
chore(deps): bump actions/setup-python from 4 to 5 (#6757)
dependabot[bot] Jan 3, 2024
5c98493
chore(deps): bump actions/upload-artifact from 3 to 4 (#6799)
dependabot[bot] Jan 3, 2024
7d3a6ec
chore(deps): bump github/codeql-action from 2 to 3 (#6801)
dependabot[bot] Jan 3, 2024
dfc3f25
chore(deps): bump actions/download-artifact from 3.0.2 to 4.1.0 (#6848)
dependabot[bot] Jan 3, 2024
2fd6e61
chore(deps): bump appleboy/ssh-action from 1.0.0 to 1.0.2 (#6858)
dependabot[bot] Jan 3, 2024
e330924
chore(deps): update all npm dependencies for dev/deploy-to-container …
depfu[bot] Jan 3, 2024
6f88577
chore(deps): update all npm dependencies for dev/coverage-action (#6733)
depfu[bot] Jan 3, 2024
7431630
chore(deps): update all npm dependencies for playwright (#6732)
depfu[bot] Jan 3, 2024
ac1051e
chore: Update dependabot.yml
NGPixel Jan 3, 2024
3e84424
chore(deps): bump /dev/deploy-to-container npm dependencies (#6869)
dependabot[bot] Jan 3, 2024
ce63a6b
chore(deps): bump the npm group in /dev/coverage-action with 4 update…
dependabot[bot] Jan 3, 2024
4d05844
chore(deps-dev): bump the npm group in /playwright with 5 updates (#6…
dependabot[bot] Jan 3, 2024
5195e93
chore(deps): bump the npm group in /dev/diff with 2 updates (#6876)
dependabot[bot] Jan 3, 2024
f7708c9
ci: update dependabot.yml groups
NGPixel Jan 3, 2024
b3c0b30
ci: add disable daily DB refresh flag
NGPixel Jan 4, 2024
f071c8c
ci: fix sandboxNoDbRefresh flag
NGPixel Jan 4, 2024
02e0d96
fix: Correctly display the last pre-RFC rev of a draft
pselkirk Jan 4, 2024
2331b75
Merge pull request #6878 from pselkirk/fix-6861
rjsparks Jan 4, 2024
678feca
fix: remove unneeded (and broken) redirect (#6866)
rjsparks Jan 4, 2024
1d0b149
ci: update dependency-review.yml
NGPixel Jan 4, 2024
6110c8d
chore(deps): bump the yarn dependencies with 32 updates (#6877)
dependabot[bot] Jan 5, 2024
5174e39
fix: Adjust dark theme to make range slider more visible (#6885)
larseggert Jan 5, 2024
88bc604
fix: filter draft documents that became RFCs out of docs by ad (#6884)
rjsparks Jan 5, 2024
caa1d5f
doc: Update INSTALL
rjsparks Jan 5, 2024
e24fb60
chore: Replace markup_txt with rfc2html (#6632)
larseggert Jan 5, 2024
3312913
fix: better archive search links for group documents (#6835)
rjsparks Jan 9, 2024
81dc555
test: unpin django-stubs and update mypy (#6901)
jennifer-richards Jan 10, 2024
287cf0f
chore: update requests min version (#6905)
jennifer-richards Jan 10, 2024
38ffd8a
fix: correct DATE DTEND values - they are non-inclusive (#6907)
rjsparks Jan 10, 2024
c7ca0b7
Revert "chore: Replace markup_txt with rfc2html (#6632)" (#6909)
jennifer-richards Jan 11, 2024
b70be9b
chore(deps): bump appleboy/ssh-action from 1.0.2 to 1.0.3 (#6894)
dependabot[bot] Jan 12, 2024
cb70da9
fix: Never show AD col on drafts_for_ad.html (#6914)
jennifer-richards Jan 12, 2024
adc73a9
chore(deps): bump actions/download-artifact from 4.1.0 to 4.1.1 (#6923)
dependabot[bot] Jan 15, 2024
b84c717
chore(deps-dev): bump the npm group in /playwright with 1 update (#6922)
dependabot[bot] Jan 15, 2024
4f97fdc
ci: collect + push statics on build
NGPixel Jan 15, 2024
763b725
ci: fix collectstatics build step
NGPixel Jan 15, 2024
71cf00d
ci: fix collectstatics from build workflow
NGPixel Jan 15, 2024
eae048d
ci: avoid fetching full git history during build
NGPixel Jan 16, 2024
47dad07
refactor: Avoid module-level queries (#6916)
jennifer-richards Jan 16, 2024
1bcee8b
chore(deps): bump the yarn group with 15 updates (#6924)
dependabot[bot] Jan 16, 2024
06f496c
fix: reduce database queries when building menues (#6928)
rjsparks Jan 17, 2024
473b84e
feat: color for wit in the schedule editor (#6930)
rjsparks Jan 17, 2024
0ba7eaf
ci: merge release to main (PR #6931)
rjsparks Jan 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 29 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' }}
Expand Down Expand Up @@ -126,21 +132,22 @@ 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
with:
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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

Expand All @@ -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:
Expand All @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 2 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ jobs:
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
with:
vulnerability-check: false
2 changes: 1 addition & 1 deletion .github/workflows/tests-az.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ datatracker.sublime-workspace
/media
/node_modules
/release-coverage.json
/static
/tmp-*
/.testresult
*.pyc
Expand Down
Loading