determined icon indicating copy to clipboard operation
determined copied to clipboard

chore: Retag docker images using CI

Open MikhailKardash opened this issue 8 months ago • 5 comments

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:

  1. Create a new branch
  2. Change contents of VERSION file to some test string
  3. Run tools/scripts/release-party-bumpenvs.sh
  4. Create a new filter in .circleci/real_config that has some regex tag matching, i.e. /v((\d)+(\.(\d)+)+)(-TEST)(\d)+/
  5. Create a new workflow that includes retag-docker images, e.g. ` test-workflow: jobs:
    • retag-docker-images: context: determined-production filters: *test-filter`
  6. create a git tag using that new filter. e.g. git tag vX.X.X-TEST <commit_hash>
  7. 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

MikhailKardash avatar Jun 24 '24 22:06 MikhailKardash