[neon/ubuntu-core/ci-prototype] debian: and once more

Carlos De Maine null at kde.org
Wed May 1 04:51:07 BST 2024


Git commit b802159a1c04fffaa7982d78a71e25333e575429 by Carlos De Maine.
Committed on 01/05/2024 at 03:51.
Pushed by carlosdem into branch 'ci-prototype'.

and once more

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

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

diff --git a/debian/snap-image-dangerous-proto.yml b/debian/snap-image-dangerous-proto.yml
index ba1680e..ba61403 100644
--- a/debian/snap-image-dangerous-proto.yml
+++ b/debian/snap-image-dangerous-proto.yml
@@ -16,7 +16,8 @@ snap_image_dangerous:
     - export GNUPGHOME=/home/snaptester/.snap/gnupg/
     - echo $GNUPGHOME
     - cat <<< "$KDE_NEON_CORE_IMAGE_KEY" > kde-neon-core-image-key
-    - cat <<< "$PRIVATE_KEY" > secrets
+    - cat <<< "$PRIVATE_KEY" > ~/secrets
+    - cat secrets | base64 --decode|gpg --homedir ~/.snap/gnupg --import
     - gpg --list-keys
     #- echo -e $PRIVATE_KEY | base64 --decode | gpg --batch --import
     - gpg --import-ownertrust <(echo "$OWNER_TRUST")  
@@ -26,6 +27,7 @@ snap_image_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