[neon/ubuntu-core/Neon/ci_build_iso] debian: maybe order is important

Carlos De Maine null at kde.org
Mon Aug 12 13:42:14 BST 2024


Git commit 47e3d99da22c24e348ca2e58c0a3b40215a160ba by Carlos De Maine.
Committed on 12/08/2024 at 12:42.
Pushed by carlosdem into branch 'Neon/ci_build_iso'.

maybe order is important

M  +7    -4    debian/neon-core-image-dangerous-iso.yml

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

diff --git a/debian/neon-core-image-dangerous-iso.yml b/debian/neon-core-image-dangerous-iso.yml
index 803ca33..0e07b27 100644
--- a/debian/neon-core-image-dangerous-iso.yml
+++ b/debian/neon-core-image-dangerous-iso.yml
@@ -24,6 +24,12 @@ neon_core_image_dangerous:
     - mkdir -p -m 0700 $HOME/.snap/gnupg/private-keys-v1.d/
     # export it as a env var so the import commands below work on it...
     - export GNUPGHOME=$HOME/.snap/gnupg/
+
+    # copy in the required exported login creds so that snapcraft whoami works
+    - echo $KDE_NEON_CORE_IMAGE_KEY > kde-neon-core-image-key
+    # test the login
+    - snapcraft whoami
+
     # feed snap's gpg the required key
     - echo $SNAP_GPG_PRIVATE_KEY | base64 --decode | gpg --batch --import
     # make sure the key is trusted
@@ -31,10 +37,7 @@ neon_core_image_dangerous:
     # test the keys
     - gpg --list-keys
 
-    # copy in the required exported login creds so that snapcraft whoami works
-    - echo $KDE_NEON_CORE_IMAGE_KEY > kde-neon-core-image-key
-    # test the login
-    - snapcraft whoami
+   
 
     # remove the task log file from the model signing that was artifacted...
     - rm -f task.log


More information about the Neon-commits mailing list