https://pantsbuild.org/ logo
#general
Title
# general
s

swift-river-73520

04/11/2023, 9:01 PM
what are people doing for versioning/tagging docker images built with pants? any favorite tools / methodologies you've incorporated? would be interested in the same question as it applied to python packages as well
h

high-yak-85899

04/11/2023, 9:08 PM
Tag every build by the commit hash of the repo. Then cut releases manually when we do our release process by retagging images already built.
s

swift-river-73520

04/11/2023, 9:09 PM
if it's not too big a bother would you mind describing your release process at a high level?
h

high-yak-85899

04/11/2023, 9:12 PM
Roughly, we • Implement a bunch of features • Cut a branch called something like
our-release-<major>.<minor>
• Run some heavier verification campaigns on that branch and make any fixes to that and master as needed • Once all verified, promote the final commit and its associated artifacts as a new patch release
<major>.<minor>.<patch>
• As new fixes our needed, make additional patch releases on that branch • Repeat for new major.minor combos
2 Views