[neon/snap-packaging/kf6-snap] debian: initial test
Carlos De Maine
null at kde.org
Mon Apr 15 02:24:16 BST 2024
Git commit 68c1bdc15a1a2b2eb1266f3225092df828d71ed3 by Carlos De Maine.
Committed on 15/04/2024 at 01:24.
Pushed by carlosdem into branch 'master'.
initial test
A +42 -0 debian/.gitlab-ci-neon.yml
https://invent.kde.org/neon/snap-packaging/kf6-snap/-/commit/68c1bdc15a1a2b2eb1266f3225092df828d71ed3
diff --git a/debian/.gitlab-ci-neon.yml b/debian/.gitlab-ci-neon.yml
new file mode 100644
index 0000000..cd11893
--- /dev/null
+++ b/debian/.gitlab-ci-neon.yml
@@ -0,0 +1,42 @@
+include:
+ - project: sysadmin/ci-utilities
+ file:
+ - /gitlab-templates/blocks/workflow.yml
+snap:
+ stage: deploy
+ image: invent-registry.kde.org/sysadmin/ci-images/snap-builder:latest
+ 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:
+ - 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