[neon/snap-packaging/gwenview-snap/Neon/release-24.08] /: rebase
Carlos De Maine
null at kde.org
Mon Nov 11 05:50:50 GMT 2024
Git commit 209d0cedbfbe5cbd035e1a0540a39fb4cfcc08f3 by Carlos De Maine.
Committed on 11/11/2024 at 05:50.
Pushed by carlosdem into branch 'Neon/release-24.08'.
rebase
M +46 -4 debian/snap-base-proto.yml
M +19 -20 debian/snap-snapcraft-lxd-proto.yml
M +1 -1 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/gwenview-snap/-/commit/209d0cedbfbe5cbd035e1a0540a39fb4cfcc08f3
diff --cc debian/snap-base-proto.yml
index 818705b,d478eb4..ae2a297
--- a/debian/snap-base-proto.yml
+++ b/debian/snap-base-proto.yml
@@@ -23,3 -21,47 +21,47 @@@
- "task.log"
- "task-debug.log"
expire_in: 7 days
+
+ .snap_deploy:
+ stage: deploy
+ rules:
+ # run the job on mainline branches of mainline repositories
+ #- if: $KDECI_SECURE_SERVICES_KEY
+ # when: on_success
+ # or when triggered manually
+ - when: manual
+ # we don't want the manual job to block the pipeline
+ allow_failure: true
+ tags:
+ - Snap
+ variables:
+ GIT_STRATEGY: none
+ interruptible: true
+ script:
+ - |
+ # upload to the snap store with the channel dependent on which branch we are building
+ # master = edge
+ if [ $CI_COMMIT_BRANCH == "master" ]; then
+ KDE_SNAP_CHANNEL: "edge"
+ # RC branch = beta
+ elif [ $CI_COMMIT_BRANCH == "Neon/release-24.12" ]; then
+ KDE_SNAP_CHANNEL: "beta"
+ # Branch tags = candidate
+ elif [ $CI_COMMIT_BRANCH == "Neon/release-24.08" ]; then
+ KDE_SNAP_CHANNEL: "candidate"
+ # new release tag (new tarball release) = stable needs to be set off manually until ephemeral vm's are a thing
+ #elif [ $CI_COMMIT_TAG == "v24.08.3" ]; then
+ elif [ $SNAP_PUBLISH_TYPE" == "manual" ]; then
+ KDE_SNAP_CHANNEL: "stable"
+ else
+ echo "this is not a publishable branch"
+ fi
+ artifacts:
+ name: Snap artifacts
+ expose_as: 'KDE neon snaps deploy'
+ when: always
+ paths:
+ - "kde-ci-packages/"
+ - "task.log"
+ - "task-debug.log"
- expire_in: 7 days
++ expire_in: 7 days
diff --cc snapcraft.yaml
index 12b8f23,f0952d3..a014d9a
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@@ -135,7 -135,7 +135,8 @@@ parts
- usr/share/metainfo/org.kde.gwenview.appdata.xml
plugin: cmake
source: https://invent.kde.org/graphics/gwenview.git
+ source-branch: release/24.08
+ source-branch: master
build-packages:
- libwayland-dev
- libxkbcommon-dev
@@@ -212,4 -212,4 +213,3 @@@
cd "/snap/$snap/current" && find . -type f,l -exec rm -rf "${CRAFT_PRIME}/{}" \;
done
--
More information about the Neon-commits
mailing list