[neon/ubuntu-core/ci-prototype] debian: refine

Carlos De Maine null at kde.org
Wed May 1 01:44:21 BST 2024


Git commit 44679c69d07a657d74ffff365c8b211e39b09f8c by Carlos De Maine.
Committed on 01/05/2024 at 00:44.
Pushed by carlosdem into branch 'ci-prototype'.

refine

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

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

diff --git a/debian/snap-image-dangerous-proto.yml b/debian/snap-image-dangerous-proto.yml
index f5b4396..6c17d17 100644
--- a/debian/snap-image-dangerous-proto.yml
+++ b/debian/snap-image-dangerous-proto.yml
@@ -9,17 +9,18 @@ snap_image_dangerous:
   inherit:
     default: true
   script:
-    - export GNUPGHOME=/home/snaptester/.snap/
+    - export GNUPGHOME=/home/snaptester/.snap/gnupg/
     - echo $GNUPGHOME
+    - cat <<< "$KDE_NEON_CORE_IMAGE_KEY" > kde-neon-core-image-key
     - gpg --list-keys
     - gpg --batch --import <(echo "$PRIVATE_KEYS")
     #- gpg --batch --pinentry-mode loopback --passphrase-fd 0 --import <(echo "$PRIVATE_KEY")
     - gpg --import-ownertrust <(echo "$OWNER_TRUST")  
-    #- cat <<< "$PRIVATE_KEY" > ~/new_file
+    
     #- echo -e $PRIVATE_KEY | gpg --homedir ~/.snap/gnupg --import
     - snapcraft whoami
     - echo building $KDE_SNAP_MODULE_NAME in dangerous mode ...
     - make dangerous
-    - rm -rf /home/snaptester/.snap/gnupg/
+    - rm -rf /home/snaptester/.snap/gnupg/*
   interruptible: true
   
\ No newline at end of file


More information about the Neon-commits mailing list