From 6ef6d36296a1562d77e7cc725db348127f72a081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Charaoui?= Date: Tue, 15 Feb 2022 17:07:24 -0500 Subject: [PATCH] Add CI triggers for Debian package builds This enables on-demand debian packaging CI builds on maintenance branches, to replace (often unnecessary) daily scheduled builds. --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c6bcf38c54..284f7d858c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"