[tracker-oci-images/sam/interruptible] Set 'interruptible' flag on build pipelines
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-oci-images/sam/interruptible] Set 'interruptible' flag on build pipelines
- Date: Fri, 13 Dec 2019 22:03:37 +0000 (UTC)
commit b4353aca428526e19b2bb368defa31947cd462d0
Author: Sam Thursfield <sam afuera me uk>
Date: Fri Dec 13 23:01:47 2019 +0100
Set 'interruptible' flag on build pipelines
This should save resources on the builders by cancelling jobs which
have been superceded by a new pipeline, for example when you push a
fix for a problem.
See https://docs.gitlab.com/ee/ci/yaml/README.html#interruptible
.gitlab-ci.yml | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8798140..b7f390a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,6 +36,7 @@ stages:
before_script:
- export NAMESPACE="$(echo "${CI_PROJECT_NAMESPACE}" | tr A-Z a-z)"
- export IMAGE=${CI_REGISTRY}/${NAMESPACE}/${CI_PROJECT_NAME}/${ARCH}/${DISTRO_NAME}:${DISTRO_VER}
+ interruptible: true
<<: *base_build
fedora:latest:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]