[neon/ubuntu-core/Neon/core22] debian: Gitlab will shoot us in the foot as it captures artifacts after running after_script

Ben Cooksley null at kde.org
Thu Aug 8 12:18:05 BST 2024


Git commit c644773b3e4e6a03294b65007d8ebca384a010e8 by Ben Cooksley.
Committed on 08/08/2024 at 11:17.
Pushed by bcooksley into branch 'Neon/core22'.

Gitlab will shoot us in the foot as it captures artifacts after running after_script

M  +0    -1    debian/neon-core-image-dangerous.yml
M  +0    -1    debian/neon-core-models.yml

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

diff --git a/debian/neon-core-image-dangerous.yml b/debian/neon-core-image-dangerous.yml
index 94182fe..7417f08 100644
--- a/debian/neon-core-image-dangerous.yml
+++ b/debian/neon-core-image-dangerous.yml
@@ -42,7 +42,6 @@ neon-core-image-dangerous:
     - make dangerous 2>&1 | tee task.log
   after_script:
     # Cleanup local state
-    - git clean -dfx .
     - rm -rf ~/.snap/gnupg/
   artifacts:
     name: Signed image
diff --git a/debian/neon-core-models.yml b/debian/neon-core-models.yml
index e8b7a3b..39ce3aa 100644
--- a/debian/neon-core-models.yml
+++ b/debian/neon-core-models.yml
@@ -40,7 +40,6 @@ neon-core-models:
     - cp -vf ./*.model  $CI_PROJECT_DIR/.kde-ci-packages/
   after_script:
     # cleanup local state, including the GPG workspace and the Snapcraft authentication credentials
-    - git clean -dfx .
     - rm -rf ~/.snap/gnupg/
   artifacts:
     name: Signed models


More information about the Neon-commits mailing list