]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Drop post-merge pipelines
authorMichał Kępień <michal@isc.org>
Wed, 11 May 2022 12:59:47 +0000 (14:59 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 11 May 2022 13:03:55 +0000 (15:03 +0200)
Commit 24961f606882939b62f461f843933da9c2d44ea8 introduced the concept
of post-merge pipelines.  These were used to build documentation after
each merge to any of the maintained branches, to allow up-to-date
documentation to be subsequently published on the bind.isc.org
microsite.  As the latter no longer downloads documentation from GitLab,
instead linking to Read the Docs for all currently maintained branches,
post-merge pipelines have become redundant since running the
"autoreconf" and "docs" jobs after each merge is not necessary any more.
Drop the "release_branch_triggering_rules" YAML anchor and revert to
default triggering rules for the "autoconf" and "docs" jobs, effectively
preventing pipelines from being created after each merge to any of the
maintained branches.

(cherry picked from commit 7b8c9e04fc6f1db1355499d7e2a8c4b06e117861)

.gitlab-ci.yml

index f0138a45d706acf915c84366ef4437f1d7078e51..193b08ff138b664ad009be3e3aa5bae016b54f75 100644 (file)
@@ -198,17 +198,6 @@ stages:
     - web
     - schedules
 
-.release-branch-triggering-rules: &release_branch_triggering_rules
-  only:
-    - api
-    - merge_requests
-    - tags
-    - triggers
-    - web
-    - schedules
-    - main@isc-projects/bind9
-    - /^v9_[1-9][0-9]$/@isc-projects/bind9
-
 .schedules-tags-web-triggering-rules: &schedules_tags_web_triggering_rules
   only:
     - api
@@ -223,7 +212,7 @@ stages:
   stage: precheck
 
 .autoconf: &autoconf_job
-  <<: *release_branch_triggering_rules
+  <<: *default_triggering_rules
   <<: *base_image
   stage: autoconf
   script:
@@ -528,7 +517,7 @@ tarball-create:
 # Jobs for doc builds on Debian 11 "bullseye" (amd64)
 
 docs:
-  <<: *release_branch_triggering_rules
+  <<: *default_triggering_rules
   <<: *base_image
   <<: *docs_job
   needs: