-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VACMS-17023 nightly archive workflow #478
Conversation
…hive script, install deps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, with one tiny non-blocking question
uses: actions/checkout@v4 | ||
with: | ||
repository: department-of-veterans-affairs/next-build | ||
ref: ${{ needs.validate-build-status.outputs.TAG }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from the latest workflow run:
Checking out the ref
/usr/bin/git checkout --progress --force refs/tags/v0.0.111
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me.
Description
Closes #17023.
Adds a separate workflow for archiving a
APP_ENV=prod
build nightly. This re-uses the same bucket that content-build archives into, however we upload intos3://{{bucket-path}}/next-build/
so there is no fear of overwriting or conflicting with current content-build processes.This ports over some scripts and custom actions from content-build used for validating the latest passing build.
Testing done
https://github.com/department-of-veterans-affairs/next-build/actions/runs/8458526038/job/23173013746?pr=478
Screenshots
the next-build folder in the archive bucket:
https://console.amazonaws-us-gov.com/s3/buckets/vetsgov-website-builds-s3-upload?region=us-gov-west-1&prefix=next-build/&showversions=false
our archived build:
the
9f233085b8b9f7728195a120404cf1704e29201a
name maps to 9f23308 aka the last commit merged to main that successfully passed ourci.yml
workflow.QA steps
Tasks