[neon/snap-packaging/qt6-snap-runtime] debian: back to last pipeline that ran

Carlos De Maine null at kde.org
Wed Apr 17 09:59:01 BST 2024


Git commit d15081b62dc7de41184a581ea30e7da464e4613e by Carlos De Maine.
Committed on 17/04/2024 at 08:59.
Pushed by carlosdem into branch 'master'.

back to last pipeline that ran

M  +25   -18   debian/.gitlab-ci-neon.yml

https://invent.kde.org/neon/snap-packaging/qt6-snap-runtime/-/commit/d15081b62dc7de41184a581ea30e7da464e4613e

diff --git a/debian/.gitlab-ci-neon.yml b/debian/.gitlab-ci-neon.yml
index bd41f9c..c144a92 100644
--- a/debian/.gitlab-ci-neon.yml
+++ b/debian/.gitlab-ci-neon.yml
@@ -9,71 +9,78 @@ snapcraft:
   tags:
     - Snap
   variables:
-    name: KDE_SNAP_BUILD_TYPE
-    value: "lxc"
+    KDE_SNAP_BUILD_TYPE:
+      value: "destructive"
     options:
       destructive
       lxc
       image-dangerous
       image-signed
-    description: "The scraft build type. Set to 'lxc' by default."
+    description: "The Snap build. Set to 'destructive' by default."
     KDE_SNAP_MODULE_NAME: ${CI_PROJECT_NAME}
+    KDE_SNAP_BUILD_PIPELINE_NAME: ""
     SNAPCRAFT_BUILD_ENVIRONMENT: "host"
     SNAPCRAFT_MANAGED_MODE: "y"
-    SNAPCRAFT_STORE_CREDENTIALS: "abcdefghijklmnopqrstuvwxyz1234567890"
   interruptible: true
   before_script:
     - git clone https://invent.kde.org/sysadmin/ci-utilities.git --depth=1
     - git clone https://invent.kde.org/sysadmin/repo-metadata.git ci-utilities/repo-metadata/ --depth=1
   script:
     - git config --global --add safe.directory $CI_PROJECT_DIR
+    - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode
     - echo $SNAPCRAFT_STORE_CREDENTIALS
 
-## different build jobs
-workflow:
-  rules:
-    - if: $KDE_SNAP_BUILD_TYPE == "destructive"
 snapcraft_destructive:
   extends: snapcraft
   inherit:
     default: true
+  rules:
+    - if: $KDE_SNAP_BUILD_TYPE == "destructive"
+      interruptible: false  # Override interruptible defined at the job level.
+    - when: on_success
   script:
+    - echo $SNAPCRAFT_STORE_CREDENTIALS
     - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode
     - snapcraft whoami
     - snapcraft --destructive
   interruptible: true
 
-  rules:
-    - if: $KDE_SNAP_BUILD_TYPE == "lxc"
 snapcraft_lxc:
   extends: snapcraft
   inherit:
     default: true
+  rules:
+    - if: $KDE_SNAP_BUILD_TYPE == "lxc"
+      interruptible: false  # Override interruptible defined at the job level.
+    - when: on_success
   script:
-    - echo $SNAPCRAFT_STORE_CREDENTIALS
     - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode ...
     - snapcraft whoami
-    - snapcraft --use-lxc
+    - snapcraft --lxc
   interruptible: true
-  
-  rules:
-    - if: '$KDE_SNAP_BUILD_TYPE == "image-dangerous"'
+
 ubuntu_image_dangerous:
   extends: snapcraft
   inherit:
     default: true
+  rules:
+    - if: '$KDE_SNAP_BUILD_TYPE == "image-dangerous"'
+      interruptible: false  # Override interruptible defined at the job level.
+    - when: on_success
   script:
     - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode ...
     - snapcraft whoami
     - make dangerous
   interruptible: true
-
-  rules:
-    - if: $KDE_SNAP_BUILD_TYPE == "image-signed"
+  
 ubuntu_image_signed:
   extends: snapcraft
   inherit:
     default: true
+  rules:
+    - if: $KDE_SNAP_BUILD_TYPE == "image-signed"
+      interruptible: false  # Override interruptible defined at the job level.
+    - when: on_success
   script:
     - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode ...
     - snapcraft whoami


More information about the Neon-commits mailing list