Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-01-31 21:34:02 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-31 21:34:02 +0300
commit2163b33f6feea8092f56081f23c85b980feabf0f (patch)
tree718ee476be3b753f88bdd2bc5320e5537e75e274 /.gitlab-ci.yml
parent1034848691aba104a8005ccf200d23dd3d8bd2c5 (diff)
ci: Add Debian only pipelines
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4628274c7..2ff9c625d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,6 +74,7 @@ build-unix:
stage: build
dependencies: []
rules:
+ - if: '$DEBIAN_BUILD'
- if: '$NIGHTLY_BUILD'
- if: '$CI_COMMIT_TAG'
script:
@@ -90,15 +91,18 @@ build-unix:
build-debian-nightly:
image: gajim-build:latest
stage: build
+ variables:
+ REV: "1"
needs:
- job: build-unix
artifacts: true
rules:
+ - if: '$DEBIAN_BUILD'
- if: '$NIGHTLY_BUILD'
script:
- apt-get update
- apt-get install -y python3-nbxmpp-nightly
- - release-helper build-debian-pkg "$(find dist/gajim-*.tar.gz)" 1 --pkgsuffix=nightly
+ - release-helper build-debian-pkg "$(find dist/gajim-*.tar.gz)" $REV --pkgsuffix=nightly
artifacts:
name: "gajim-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA"
@@ -185,9 +189,12 @@ deploy-unix-nightly:
deploy-debian-nightly:
image: gajim-deploy:latest
stage: deploy
+ variables:
+ REV: "1"
dependencies:
- build-debian-nightly
rules:
+ - if: '$DEBIAN_BUILD'
- if: '$NIGHTLY_BUILD'
script:
- >
@@ -195,7 +202,7 @@ deploy-debian-nightly:
--host=$FTP_HOST \
--user=$FTP_USER \
--password=$FTP_PASS \
- --directory=debian/gajim/"$(date +'%Y%m%d')" \
+ --directory=debian/gajim/"$(date +'%Y%m%d')"-$REV \
debian_build
deploy-windows: