mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
CI: Disable snap job
This commit is contained in:
parent
2e60322ee9
commit
155e433834
@ -168,40 +168,40 @@ build_linux:
|
||||
- build/linux/release/bundle/
|
||||
allow_failure: true
|
||||
|
||||
snap:edge:
|
||||
stage: release
|
||||
image: "snapcore/snapcraft"
|
||||
before_script:
|
||||
- apt update && apt install git curl unzip clang cmake build-essential ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev -y
|
||||
- git clone https://github.com/flutter/flutter.git
|
||||
- export PATH="$PATH:`pwd`/flutter/bin"
|
||||
variables:
|
||||
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
|
||||
only:
|
||||
- main
|
||||
script: [./scripts/publish-snap-edge.sh]
|
||||
needs: ["build_linux"]
|
||||
artifacts:
|
||||
paths:
|
||||
- "./*.snap"
|
||||
when: on_success
|
||||
allow_failure: true
|
||||
#snap:edge:
|
||||
# stage: release
|
||||
# image: "snapcore/snapcraft"
|
||||
# before_script:
|
||||
# - apt update && apt install git curl unzip clang cmake build-essential ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev -y
|
||||
# - git clone https://github.com/flutter/flutter.git
|
||||
# - export PATH="$PATH:`pwd`/flutter/bin"
|
||||
# variables:
|
||||
# SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
|
||||
# only:
|
||||
# - main
|
||||
# script: [./scripts/publish-snap-edge.sh]
|
||||
# needs: ["build_linux"]
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - "./*.snap"
|
||||
# when: on_success
|
||||
# allow_failure: true
|
||||
|
||||
snap:publish:
|
||||
stage: release
|
||||
image: "snapcore/snapcraft"
|
||||
variables:
|
||||
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
|
||||
only:
|
||||
- tags
|
||||
script: [./scripts/publish-snap-stable.sh]
|
||||
needs: ["build_linux"]
|
||||
artifacts:
|
||||
paths:
|
||||
- "./*.snap"
|
||||
when: on_success
|
||||
expire_in: 1 week
|
||||
allow_failure: true
|
||||
#snap:publish:
|
||||
# stage: release
|
||||
# image: "snapcore/snapcraft"
|
||||
# variables:
|
||||
# SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
|
||||
# only:
|
||||
# - tags
|
||||
# script: [./scripts/publish-snap-stable.sh]
|
||||
# needs: ["build_linux"]
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - "./*.snap"
|
||||
# when: on_success
|
||||
# expire_in: 1 week
|
||||
# allow_failure: true
|
||||
|
||||
update-dependencies:
|
||||
stage: coverage
|
||||
|
Loading…
Reference in New Issue
Block a user