[neon/snap-packaging/qt6-snap-runtime] debian: refine the template

Carlos De Maine null at kde.org
Tue Apr 16 11:18:35 BST 2024


Git commit 1f6df6f9cbe75eb5929f80de7d0d41daee34a4c6 by Carlos De Maine.
Committed on 16/04/2024 at 10:18.
Pushed by carlosdem into branch 'master'.

refine the template

M  +7    -15   debian/.gitlab-ci-neon.yml

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

diff --git a/debian/.gitlab-ci-neon.yml b/debian/.gitlab-ci-neon.yml
index 81efdf0..88b17fa 100644
--- a/debian/.gitlab-ci-neon.yml
+++ b/debian/.gitlab-ci-neon.yml
@@ -3,7 +3,7 @@ include:
     file:
       - /gitlab-templates/blocks/workflow.yml
 
-snap:
+snapcraft:
   rules:
   stage: build
   tags:
@@ -29,9 +29,7 @@ snap:
     - git config --global --add safe.directory $CI_PROJECT_DIR
 
 snapcraft_destructive:
-  stage: build
-  tags:
-    - Snap
+  extends: snapcraft
   script:
     - snapcraft whoami
     - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode
@@ -43,23 +41,19 @@ snapcraft_destructive:
     - when: on_success
 
 snapcraft_lxc:
-  stage: build
-  tags:
-    - Snap
+  extends: snapcraft
   script:
     - snapcraft whoami
     - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode ...
     - snapcraft --lxc
   interruptible: true
   rules:
-    - if: $KDE_SNAP_BUILD_TYPE == "lxc"  
+    - if: $KDE_SNAP_BUILD_TYPE == "lxc"
       interruptible: false  # Override interruptible defined at the job level.
     - when: on_success
 
 ubuntu_image_dangerous:
-  stage: build
-  tags:
-    - Snap
+  extends: snapcraft
   script:
     - snapcraft whoami
     - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode ...
@@ -69,11 +63,9 @@ ubuntu_image_dangerous:
     - if: '$KDE_SNAP_BUILD_TYPE == "image-dangerous"'
       interruptible: false  # Override interruptible defined at the job level.
     - when: on_success
-  
+
 ubuntu_image_signed:
-  stage: build
-  tags:
-    - Snap
+  extends: snapcraft
   script:
     - snapcraft whoami
     - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode ...


More information about the Neon-commits mailing list