[neon/ubuntu-core/models.add-models-pipeline] debian: Image CI: Fix master trigger condition
Antoine Gonzalez
null at kde.org
Thu Aug 8 15:09:06 BST 2024
Git commit 7bd11b37b1e7c05a6364d496aecf16c6f4afad89 by Antoine Gonzalez.
Committed on 08/08/2024 at 14:09.
Pushed by daspood into branch 'models.add-models-pipeline'.
Image CI: Fix master trigger condition
M +1 -0 debian/neon-core-image-dangerous.yml
M +1 -0 debian/neon-core-image-signed.yml
https://invent.kde.org/neon/ubuntu-core/-/commit/7bd11b37b1e7c05a6364d496aecf16c6f4afad89
diff --git a/debian/neon-core-image-dangerous.yml b/debian/neon-core-image-dangerous.yml
index 8fbee8f..73c0fe9 100644
--- a/debian/neon-core-image-dangerous.yml
+++ b/debian/neon-core-image-dangerous.yml
@@ -2,6 +2,7 @@ neon_core_image_dangerous:
rules:
# Only build the image on master
- if: '$CI_COMMIT_BRANCH == master'
+ when: always
# Allow manually triggering the job on `models.*` branches
- if: '$CI_COMMIT_BRANCH =~ /models\..*/'
when: manual
diff --git a/debian/neon-core-image-signed.yml b/debian/neon-core-image-signed.yml
index 5e2cb26..3bbf338 100644
--- a/debian/neon-core-image-signed.yml
+++ b/debian/neon-core-image-signed.yml
@@ -2,6 +2,7 @@ neon_core_image_signed:
rules:
# Only build the image on master
- if: '$CI_COMMIT_BRANCH == master'
+ when: always
# Only let it run if the required variables are present
# These are normally defined on protected branches on our normal repository but we do the logic this way to allow someone else to set this up in their fork if they want
- if: '$SNAPCRAFT_STORE_CREDENTIALS == null || $SNAP_GPG_PRIVATE_KEY == null || $SNAP_GPG_OWNER_TRUST == null'
More information about the Neon-commits
mailing list