Skip to content
Snippets Groups Projects
Commit 0fcef58d authored by Philipp Hörist's avatar Philipp Hörist
Browse files

ci: Specify dependencies between stages

This allows to pass artifacts between stages
parent b7bc50d4
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,7 @@ test-unittest: ...@@ -68,6 +68,7 @@ test-unittest:
build-linux: build-linux:
image: gajim-deb-build:latest image: gajim-deb-build:latest
stage: build stage: build
dependencies: []
rules: rules:
- if: '$GAJIM_NIGHTLY_BUILD' - if: '$GAJIM_NIGHTLY_BUILD'
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG'
...@@ -83,6 +84,7 @@ build-linux: ...@@ -83,6 +84,7 @@ build-linux:
build-and-deploy-windows: build-and-deploy-windows:
stage: build stage: build
dependencies: []
rules: rules:
- if: '$GAJIM_NIGHTLY_BUILD' - if: '$GAJIM_NIGHTLY_BUILD'
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG'
...@@ -99,6 +101,8 @@ build-and-deploy-windows: ...@@ -99,6 +101,8 @@ build-and-deploy-windows:
deploy-linux: deploy-linux:
stage: deploy stage: deploy
dependencies:
- build-linux
rules: rules:
- if: '$GAJIM_NIGHTLY_BUILD' - if: '$GAJIM_NIGHTLY_BUILD'
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG'
...@@ -121,6 +125,7 @@ deploy-linux: ...@@ -121,6 +125,7 @@ deploy-linux:
deploy-flatpak: deploy-flatpak:
image: git-deploy:latest image: git-deploy:latest
stage: deploy stage: deploy
dependencies: []
rules: rules:
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG'
before_script: before_script:
...@@ -144,6 +149,7 @@ deploy-flatpak: ...@@ -144,6 +149,7 @@ deploy-flatpak:
publish-release: publish-release:
image: git-deploy:latest image: git-deploy:latest
stage: publish stage: publish
dependencies: []
rules: rules:
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG'
before_script: before_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment