Page MenuHomePhabricator

PipelineBuilder based jobs need to handle git tags and other ref updates
Closed, ResolvedPublic

Description

The legacy service-pipeline-* jobs supported responding to git tag (and perhaps other ref) updates but that functionality was lost when PipelineBuilder was implemented. The latter should be refactored to provide the same functionality, at the very least setting a setup.git_tag context variable that can be used to tag built images with the git tag, but possibly automatically including the tag/ref value in the default list of image tags.

See integration/config/jjb/service-pipeline.groovy for a reference implementation.

Event Timeline

dduvall triaged this task as Medium priority.

Change 671295 had a related patch set uploaded (by Dduvall; owner: Dduvall):
[integration/config@master] zuul: Run trigger-helloworldoid-pipeline-publish for tag updates

https://gerrit.wikimedia.org/r/671295

Change 671295 merged by jenkins-bot:
[integration/config@master] zuul: Run trigger-helloworldoid-pipeline-publish for tag updates

https://gerrit.wikimedia.org/r/671295

Change 673070 had a related patch set uploaded (by Dduvall; owner: Dduvall):
[integration/pipelinelib@master] Default image tags to included any given git tag

https://gerrit.wikimedia.org/r/673070

Change 673070 merged by jenkins-bot:
[integration/pipelinelib@master] Default image tags to included any given git tag

https://gerrit.wikimedia.org/r/673070