[neon/ubuntu-core/ci-prototype] debian: prototype it to get an image out
Carlos De Maine
null at kde.org
Fri Apr 26 03:32:22 BST 2024
Git commit fe6643bc07e437b5de34e0dc42447c1d671bd2cf by Carlos De Maine.
Committed on 26/04/2024 at 02:32.
Pushed by carlosdem into branch 'ci-prototype'.
prototype it to get an image out
M +1 -9 debian/.gitlab-ci-neon.yml
A +19 -0 debian/snap-image-dangerous-proto.yml
https://invent.kde.org/neon/ubuntu-core/-/commit/fe6643bc07e437b5de34e0dc42447c1d671bd2cf
diff --git a/debian/.gitlab-ci-neon.yml b/debian/.gitlab-ci-neon.yml
index 37ac61f..3a2b102 100644
--- a/debian/.gitlab-ci-neon.yml
+++ b/debian/.gitlab-ci-neon.yml
@@ -3,12 +3,4 @@
include:
- project: sysadmin/ci-utilities
- file:
- - /gitlab-templates/snap-image-dangerous.yml
-# - /gitlab-templates/snap-image-signed.yml
-
-default:
- before_script:
- - echo -e $PRIVATE_KEY | gpg --homedir ~/.snap/gnupg --import
- after_script:
- - rm -rf ~/.snap/gnupg
\ No newline at end of file
+ - local: debian/snap-image-dangerous-proto.yml
\ No newline at end of file
diff --git a/debian/snap-image-dangerous-proto.yml b/debian/snap-image-dangerous-proto.yml
new file mode 100644
index 0000000..d98cabf
--- /dev/null
+++ b/debian/snap-image-dangerous-proto.yml
@@ -0,0 +1,19 @@
+include:
+ - project: sysadmin/ci-utilities
+ file:
+ - /gitlab-templates/blocks/snap-base.yml
+ - /gitlab-templates/blocks/workflow.yml
+
+snap_image_dangerous:
+ extends: .snap_base
+ inherit:
+ default: true
+ before_script:
+ - echo -e $PRIVATE_KEY | gpg --homedir ~/.snap/gnupg --import
+ script:
+ - echo building $KDE_SNAP_MODULE_NAME in dangerous mode ...
+ - snapcraft whoami
+ - make dangerous
+ interruptible: true
+ after_script:
+ - rm -rf ~/.snap/gnupg
More information about the Neon-commits
mailing list