Philipp Hörist pushed to branch master at gajim / gajim


Commits:
2163b33f by Philipp Hörist at 2023-01-31T19:34:02+01:00
ci: Add Debian only pipelines

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.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:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/2163b33f6feea8092f56081f23c85b980feabf0f

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/2163b33f6feea8092f56081f23c85b980feabf0f
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to