[neon/snap-packaging/kf6-core22/ci-prototype] debian: it worked before

Carlos De Maine null at kde.org
Fri May 10 05:12:46 BST 2024


Git commit 9bf0bca85469ace468fffd9c342ceb2fda03f10e by Carlos De Maine.
Committed on 10/05/2024 at 04:12.
Pushed by carlosdem into branch 'ci-prototype'.

it worked before

M  +3    -7    debian/snap-snapcraft-lxd-proto.yml

https://invent.kde.org/neon/snap-packaging/kf6-core22/-/commit/9bf0bca85469ace468fffd9c342ceb2fda03f10e

diff --git a/debian/snap-snapcraft-lxd-proto.yml b/debian/snap-snapcraft-lxd-proto.yml
index 05804e8..623b9f1 100644
--- a/debian/snap-snapcraft-lxd-proto.yml
+++ b/debian/snap-snapcraft-lxd-proto.yml
@@ -29,17 +29,13 @@ snap_snapcraft_lxd:
     - echo version = $KDE_SNAP_MODULE_NAME-$CI_COMMIT_SHORT_SHA
     - tar -zcvf $KDE_SNAP_MODULE_NAME-$CI_COMMIT_SHORT_SHA.tar.gz .kde-ci-packages/
     - cp ./$KDE_SNAP_MODULE_NAME-$CI_COMMIT_SHORT_SHA.tar.gz .kde-ci-packages/
-    - >-
-      curl -k 
-      --verbose
+    -- >-
+      curl -k
       --request PUT
       --include "https://invent.kde.org/api/v4/"
       --header "PRIVATE-TOKEN: $KDECI_GITLAB_TOKEN"
       --upload-file ./.kde-ci-packages/${KDE_SNAP_MODULE_NAME}-${CI_COMMIT_SHORT_SHA}.tar.gz
-      --output $KDE_SNAP_MODULE_NAME-$CI_COMMIT_SHORT_SHA.tar.gz
-      "https://invent.kde.org/api/v4/projects/17922/packages/generic/$KDE_SNAP_MODULE_NAME/$CI_COMMIT_SHORT_SHA/"
-      - echo second attempt
-      - 'curl --verbose --header "JOB-TOKEN: $KDECI_GITLAB_TOKEN" --upload-file ./.kde-ci-packages/${KDE_SNAP_MODULE_NAME}-${CI_COMMIT_SHORT_SHA}.tar.gz ${CI_API_V4_URL}/projects/17922/packages/generic/$KDE_SNAP_MODULE_NAME/$CI_COMMIT_SHORT_SHA/${KDE_SNAP_MODULE_NAME}-${CI_COMMIT_SHORT_SHA}.tar.gz'
+      "https://invent.kde.org/api/v4/projects/17922/packages/generic/$KDE_SNAP_MODULE_NAME/$CI_COMMIT_SHORT_SHA/$KDE_SNAP_MODULE_NAME-$CI_COMMIT_SHORT_SHA.tar.gz?select=package_file"
   #after_script:
     # - snapcraft push --release=edge *.snap
   #allow_failure: true


More information about the Neon-commits mailing list