[neon/ubuntu-core/ci-prototype] debian: keyring needs to be present and we can't cheat and use snapcraft --listkeys as gitlab-runner stops at the error and the keyring is not made

Carlos De Maine null at kde.org
Fri Apr 26 03:44:52 BST 2024


Git commit fda8964ab3df6f2784e62c01c32ce09bf51853c6 by Carlos De Maine.
Committed on 26/04/2024 at 02:44.
Pushed by carlosdem into branch 'ci-prototype'.

keyring needs to be present and we can't cheat and use snapcraft --listkeys as gitlab-runner stops at the error and the keyring is not made

M  +1    -3    debian/snap-image-dangerous-proto.yml

https://invent.kde.org/neon/ubuntu-core/-/commit/fda8964ab3df6f2784e62c01c32ce09bf51853c6

diff --git a/debian/snap-image-dangerous-proto.yml b/debian/snap-image-dangerous-proto.yml
index 4bfa12c..56a0f10 100644
--- a/debian/snap-image-dangerous-proto.yml
+++ b/debian/snap-image-dangerous-proto.yml
@@ -9,11 +9,9 @@ snap_image_dangerous:
   inherit:
     default: true
   script:
-    - snapcraft list-keys
     - echo -e $PRIVATE_KEY | gpg --homedir ~/.snap/gnupg --import
     - echo building $KDE_SNAP_MODULE_NAME in dangerous mode ...
     - snapcraft whoami
     - make dangerous
   interruptible: true
-  after_script:
-    - rm -rf ~/.snap/gnupg
+  
\ No newline at end of file


More information about the Neon-commits mailing list