Tuesday, 2024-11-12

opendevreviewTakashi Kajinami proposed openstack/openstack-zuul-jobs master: Skip unit/functional tests on pre-commit config update  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/93319701:07
cardoeSo question wrt to what we can do with Zuul. In Helm, the Chart.yaml needs a version in it. The OSH (OpenStack Helm) project wants to bump the version every time something lands for a specific chart. Many Helm based projects I've seen use git tags to determine the version but can I have the CI push the tag or a commit bumping the version as part of the build?02:12
cardoehttps://github.com/cardoe/openstack-helm/commit/6629425c88be6f29aa761426bb96fbc193854f07 is what I do today to build the chart versions based on tags.02:14
cardoeTrying to come up with some upstreamable suggestion.02:14
fungicardoe: the openstack release team has release automation which pushes git tags in response to commits merging, so it's possible in theory yes02:25
fungibasically there's a job which runs when a change merges which uses stored gerrit account credentials and openpgp key to sign and push a tag to gerrit02:26
cardoeThat would potentially work. I’ll look at what the release team has.02:55
fungiproposing a change to increase a version in Chart.yaml every time a change merges would be a little weird, since you'd need to avoid having any change that only increases the version number pushing a new change to increase it again. but also you'd have to make sure you approved those changes in the right order relative to the changes which triggered them... basically embedding03:01
fungiversioning per-commit in files that are being committed is not a workflow that seems compatible with code review and non-serialized/distributed development03:01
fungitags, on the other hand, don't alter files in the repository so are a more out-of-band way of versioning repositories03:03
cardoeSo for me I haven’t been using a tag but instead a label on a patch set. If it’s labeled then once that lands the next tag is generated. When a tag is made I build the chart at the tagged version.03:21
fungicardoe: by "a label on a patch set" you mean in the gerrit sense of the term "label"? https://review.opendev.org/Documentation/intro-project-owner.html#labels03:46
fungiso a reviewer basically votes "this change should increase the version"?03:47
cardoeYeah that would be analogous. It’s been on GitHub.12:24
*** haleyb|out is now known as haleyb13:53
opendevreviewFelipe Reyes proposed openstack/openstack-zuul-jobs master: Increase openstack-tox-snap-with-sudo job timeout  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/93482118:02
opendevreviewJames E. Blair proposed openstack/project-config master: Fix openstack developer docs promote job  https://review.opendev.org/c/openstack/project-config/+/93483219:58

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!