]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add CI triggers for Debian package builds
authorJérôme Charaoui <jerome@riseup.net>
Tue, 15 Feb 2022 22:07:24 +0000 (17:07 -0500)
committerJérôme Charaoui <jerome@riseup.net>
Tue, 15 Feb 2022 22:14:34 +0000 (17:14 -0500)
This enables on-demand debian packaging CI builds on maintenance
branches, to replace (often unnecessary) daily scheduled builds.

.gitlab-ci.yml

index c6bcf38c54aadd31e2a5ddce59eca066aa0dba20..284f7d858c9346c43bb2db3aeceb55bd86c14d14 100644 (file)
@@ -242,3 +242,22 @@ debian-nss:
     NSS: "yes"
   script:
     - ./scripts/ci/ci-driver.sh
+
+#####
+# Debian packaging triggers for maintenance branches
+debian-packaging-0.4.5:
+  stage: deploy
+  trigger:
+    project: tpo/core/debian/tor
+    branch: debian-0.4.5
+  rules:
+    - if: $CI_PROJECT_NAMESPACE == "tpo/core" &&
+          $CI_COMMIT_BRANCH == "maint-0.4.5"
+debian-packaging-0.4.6:
+  stage: deploy
+  trigger:
+    project: tpo/core/debian/tor
+    branch: debian-0.4.6
+  rules:
+    - if: $CI_PROJECT_NAMESPACE == "tpo/core" &&
+          $CI_COMMIT_BRANCH == "maint-0.4.6"