[neon/ubuntu-core/ci-prototype] debian: remember to read the docs....

Carlos De Maine null at kde.org
Wed May 1 08:58:09 BST 2024


Git commit 379ddc550ca361e0014c03756cf270edfb2f6b35 by Carlos De Maine.
Committed on 01/05/2024 at 07:58.
Pushed by carlosdem into branch 'ci-prototype'.

remember to read the docs....

M  +4    -6    debian/snap-image-dangerous-proto.yml

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

diff --git a/debian/snap-image-dangerous-proto.yml b/debian/snap-image-dangerous-proto.yml
index 4e56107..90015f3 100644
--- a/debian/snap-image-dangerous-proto.yml
+++ b/debian/snap-image-dangerous-proto.yml
@@ -15,19 +15,17 @@ snap_image_dangerous:
     - mkdir -m 0700 /home/snaptester/.snap/gnupg/private-keys-v1.d
     - export GNUPGHOME=/home/snaptester/.snap/gnupg/
     - echo $GNUPGHOME
-    - echo "$KDE_NEON_CORE_IMAGE_KEY" > kde-neon-core-image-key
-    - echo "$PRIVATE_KEY" > ~/secrets
-    - cat ~/secrets | base64 --decode|gpg --import
-    - gpg --list-keys
-    #- echo -e $PRIVATE_KEY | base64 --decode | gpg --batch --import
+    - echo "{$KDE_NEON_CORE_IMAGE_KEY}" > kde-neon-core-image-key
+    - echo "{$PRIVATE_KEY}" | base64 --decode | gpg --batch --import
+    #- echo -e $PRIVATE_KEY | base64 --decode | gpg --import
     - gpg --import-ownertrust <(echo "$OWNER_TRUST")  
+    - gpg --list-keys
     - snapcraft whoami
     - echo building $KDE_SNAP_MODULE_NAME in dangerous mode ...
     - make dangerous
   interruptible: true
 
   after_script:
-    #- rm ~/secrets
     - rm kde-neon-core-image-key
     - rm -rf /home/snaptester/.snap/gnupg
   
\ No newline at end of file


More information about the Neon-commits mailing list