]> 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 12:59:47 +0000 (14:59 +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.

.gitlab-ci.yml

index c08aa2aa0c8dbccaf7d82e8d8898dc78c14b2c11..501ff99b3783f9f27a72419ce453470299b55baa 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: