]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix docs -> autoreconf dependencies in the .gitlab-ci.yml
authorOndřej Surý <ondrej@sury.org>
Tue, 1 Oct 2019 14:29:33 +0000 (16:29 +0200)
committerOndřej Surý <ondrej@sury.org>
Tue, 1 Oct 2019 14:29:33 +0000 (16:29 +0200)
.gitlab-ci.yml

index 29b31eb4ecdbe91b6c39dc01b85fdc6979e6fe3a..367b04eaac932f933bcfed504fb5660267dc4987 100644 (file)
@@ -118,6 +118,14 @@ stages:
     - tags
     - web
 
+.release-branch-triggering-rules: &release_branch_triggering_rules
+  only:
+    - merge_requests
+    - tags
+    - web
+    - master@isc-projects/bind9
+    - /^v9_[1-9][0-9]$/@isc-projects/bind9
+
 .precheck: &precheck_job
   <<: *default_triggering_rules
   <<: *debian_sid_amd64_image
@@ -218,6 +226,7 @@ stages:
 # Jobs in the precheck stage
 
 autoreconf:sid:amd64:
+  <<: *release_branch_triggering_rules
   <<: *autoconf_job
 
 misc:sid:amd64:
@@ -253,6 +262,7 @@ misc:sid:amd64:
 # Jobs for doc builds on Debian Sid (amd64)
 
 docs:sid:amd64:
+  <<: *release_branch_triggering_rules
   <<: *debian_sid_amd64_image
   stage: docs
   script:
@@ -267,12 +277,6 @@ docs:sid:amd64:
     paths:
       - doc/arm/
     expire_in: "1 month"
-  only:
-    - merge_requests
-    - tags
-    - web
-    - master@isc-projects/bind9
-    - /^v9_[1-9][0-9]$/@isc-projects/bind9
 
 push:docs:sid:amd64:
   <<: *debian_sid_amd64_image