]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Tighten dependencies for tag-related jobs
authorMichał Kępień <michal@isc.org>
Wed, 25 Mar 2026 17:09:02 +0000 (18:09 +0100)
committerMichał Kępień (GitLab job 7091315) <michal@isc.org>
Wed, 25 Mar 2026 17:13:48 +0000 (17:13 +0000)
The "merge-tag" and "update-stable-tag" jobs currently use the
"manual_release_job_qa" YAML anchor, which makes them depend on the
"staging" job.  Meanwhile, both of these jobs require the tag they were
created for to be public for them to work.  While this is harmless, as
these jobs will simply fail if they are run too early, it still makes
sense for them to depend on the "publish" job instead, if only to reduce
confusion in the pipeline view.  Adjust the "needs" key for the
"merge-tag" and "update-stable-tag" jobs accordingly.

(cherry picked from commit 722290dce6d2caca8cf5615b5c3fa52ea500f1a1)

.gitlab-ci.yml

index f59a1774a618a27ce5f3c593cdda7f464a16abcf..cee1bbacec6c3f705ea4134abcfe6df2951f1f37 100644 (file)
@@ -2241,6 +2241,10 @@ merge-tag:
   <<: *manual_release_job_qa
   variables:
     GIT_DEPTH: 100
+  needs:
+    # TODO: if necessary, update job name after pushing tags from within CI is implemented
+    - job: publish
+      artifacts: false
   script:
     - >
       "$CI_PROJECT_DIR"/bind9-qa/releng/merge_tag.py --tag "$CI_COMMIT_TAG"
@@ -2255,6 +2259,10 @@ update-stable-tag:
   <<: *manual_release_job_qa
   variables:
     GIT_DEPTH: 1
+  needs:
+    # TODO: if necessary, update job name after pushing tags from within CI is implemented
+    - job: publish
+      artifacts: false
   script:
     - >
       "$CI_PROJECT_DIR"/bind9-qa/releng/update_stable_tag.py --tag "$CI_COMMIT_TAG"