summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-07-29 09:22:48 +1000
committerJosé Expósito <jose.exposito89@gmail.com>2021-07-29 15:38:01 +0000
commit355635ad4ff4a63fb26db3b50cde98594449122d (patch)
tree0f584862a05dd0ee02871f66c6e2653f8f3ea4d3 /.gitlab-ci
parentfc24bba7b3f0453794fb22c2e354759e0f896c54 (diff)
downloadlibinput-355635ad4ff4a63fb26db3b50cde98594449122d.tar.gz
gitlab CI: drop dependencies between jobs
None of our jobs rely on the artifacts of a previous job, so let's not pass those around. Make this part of the default policy and include it from every job. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/ci.template5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template
index 3e2dd164..c9051a19 100644
--- a/.gitlab-ci/ci.template
+++ b/.gitlab-ci/ci.template
@@ -108,6 +108,7 @@ variables:
- stuck_or_timeout_failure
# cancel run when a newer version is pushed to the branch
interruptible: true
+ dependencies: []
.default_artifacts:
artifacts:
@@ -230,7 +231,6 @@ check-commit:
- ci-fairy -v --authfile $AUTHFILE delete-image
--repository $FDO_DISTRIBUTION_NAME/$FDO_DISTRIBUTION_VERSION
--exclude-tag $FDO_DISTRIBUTION_TAG
- dependencies: []
allow_failure: true
only:
- schedules
@@ -240,6 +240,7 @@ check-commit:
{% for version in distro.versions %}
{{distro.name}}:{{version}}@container-clean:
extends:
+ - .policy
- .container-clean
variables:
GIT_STRATEGY: none
@@ -264,7 +265,6 @@ check-commit:
stage: build
script:
- .gitlab-ci/meson-build.sh
- dependencies: []
#
# Fedora
@@ -647,6 +647,7 @@ coverity:
check-merge-request:
extends:
- .fdo.ci-fairy
+ - .policy
stage: deploy
script:
- ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml