determined
determined copied to clipboard
chore: Retag docker images using CI
Ticket
Description
Add retagging scripts to release party via filters. Update the necessary python and bash scripts.
Test Plan
Release party doesn't break during cut-release
For PR review testing:
- Create a new branch
- Change contents of
VERSION
file to some test string - Run
tools/scripts/release-party-bumpenvs.sh
- Create a new filter in
.circleci/real_config
that has some regex tag matching, i.e./v((\d)+(\.(\d)+)+)(-TEST)(\d)+/
- Create a new workflow that includes
retag-docker images
, e.g. ` test-workflow: jobs:- retag-docker-images: context: determined-production filters: *test-filter`
- create a git tag using that new filter. e.g.
git tag vX.X.X-TEST <commit_hash>
- see that the test workflow passes.
Also, make sure to test in another branch that tools/scripts/release-party-bumpenvs.sh --release
works as expected, but do not do steps 4-6.
Checklist
- [ ] Changes have been manually QA'd
- [ ] New features have been approved by the corresponding PM
- [ ] User-facing API changes have the "User-facing API Change" label
- [ ] Release notes have been added as a separate file under
docs/release-notes/
See Release Note for details. - [ ] Licenses have been included for new code which was copied and/or modified from any external code