[neon/snap-packaging/kde-qt6-snap] debian: base off flatpak for now

Carlos De Maine null at kde.org
Thu Apr 11 03:22:36 BST 2024


Git commit 0b28a0a7a7be00fbe565c8f41b3f5b775ad8469d by Carlos De Maine.
Committed on 11/04/2024 at 02:22.
Pushed by carlosdem into branch 'master'.

base off flatpak for now

M  +36   -10   debian/.gitlab-ci-neon.yml

https://invent.kde.org/neon/snap-packaging/kde-qt6-snap/-/commit/0b28a0a7a7be00fbe565c8f41b3f5b775ad8469d

diff --git a/debian/.gitlab-ci-neon.yml b/debian/.gitlab-ci-neon.yml
index 44ba57c..7cf648a 100644
--- a/debian/.gitlab-ci-neon.yml
+++ b/debian/.gitlab-ci-neon.yml
@@ -1,14 +1,40 @@
-#include:
-#  - /gitlab-templates/blocks/workflow.yml
-#  - /gitlab-templates/blocks/ci-linux-base.yml
-snapcraft:
-#  extends: .workflow
+include:
+  - /gitlab-templates/blocks/workflow.yml
+snap:
+  stage: deploy
   image: invent-registry.kde.org/sysadmin/ci-images/snap-builder:latest
-  #variables:
-    #KDECI_PLATFORM_PATH: snapcraft
+  rules:
+    # run the job on mainline branches of mainline repositories
+    - if: $KDECI_SECURE_SERVICES_KEY
+      when: on_success
+    # or when triggered manually
+    - when: manual
+      # we don't want the manual job to block the pipeline
+      allow_failure: true
   tags:
     - Snap
+  variables:
+    KDE_SNAP_MODULE_NAME: ${CI_PROJECT_NAME}
+    KDECI_SIGNSNAP_CONFIG: $CI_PROJECT_DIR/ci-utilities/signing/signsnap.ini
+  interruptible: true
+  before_script:
+    - git clone https://invent.kde.org/sysadmin/ci-utilities.git --depth=1
+    - git clone https://invent.kde.org/sysadmin/ci-notary-service.git --depth=1
   script:
-    - git config --global --add safe.directory $CI_PROJECT_DIR
-#    - python3 -u ci-utilities/run-ci-bu
-    - snapcraft
\ No newline at end of file
+    - snapcraft
+    #- git config --global --add safe.directory $CI_PROJECT_DIR
+    #- python3 -u ci-utilities/run-ci-bu
+    #- echo ${KDE_SNAPCRAFT_MODULE_NAME}
+    # Build and install
+    #- python3 -u ci-utilities/snap-build.py ${KDE_SNAP_MODULE_NAME}
+    # Sign and publish (if the project branch is cleared for signing and publishing)
+    #- python3 ci-notary-service/signsnap.py -v --config $KDECI_SIGNSNAP_CONFIG ${KDE_SNAP_MODULE_NAME}.SNAP
+  artifacts:
+    name: SNAPCRAFT artifacts
+    expose_as: 'SNAPCRAFT Bundle'
+    when: always
+    paths:
+      - "${KDE_SNAP_MODULE_NAME}.snap"
+      - "task.log"
+      - "task-debug.log"
+    expire_in: 7 days
\ No newline at end of file


More information about the Neon-commits mailing list