CI: Enable snapcraft remote-build
This commit is contained in:
parent
cda26d9c9c
commit
97fde68619
@ -179,6 +179,18 @@ build_linux_arm64:
|
||||
paths:
|
||||
- build/linux/arm64/release/bundle/
|
||||
|
||||
deploy_linux_snap_edge:
|
||||
image: cibuilds/snapcraft:core18
|
||||
stage: deploy
|
||||
script: [./scripts/publish-snap-edge.sh]
|
||||
only:
|
||||
- main
|
||||
needs: [build_linux_x86]
|
||||
artifacts:
|
||||
when: on_success
|
||||
paths:
|
||||
- ./*.snap
|
||||
|
||||
update-dependencies:
|
||||
stage: coverage
|
||||
needs: []
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -ve
|
||||
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
|
||||
snapcraft login --with snapcraft.login
|
||||
snapcraft
|
||||
snapcraft remote-build --launchpad-accept-public-upload --status --launchpad-user krillechritzel
|
||||
snapcraft upload --release=edge *.snap
|
||||
snapcraft logout
|
||||
|
@ -23,6 +23,9 @@ description: |
|
||||
grade: stable
|
||||
confinement: strict
|
||||
|
||||
architectures:
|
||||
- build-on: amd64
|
||||
|
||||
parts:
|
||||
olm:
|
||||
plugin: cmake
|
||||
|
Loading…
Reference in New Issue
Block a user