[gnome-build-meta/abderrahim/interruptible] .gitlab-ci.yml: allow interrupting track and build jobs
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/interruptible] .gitlab-ci.yml: allow interrupting track and build jobs
- Date: Sun, 9 Feb 2020 08:54:23 +0000 (UTC)
commit a44c7e8d6b14222429fe0b2f9881b549cb4ad144
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Sun Feb 9 09:53:07 2020 +0100
.gitlab-ci.yml: allow interrupting track and build jobs
This allows cancelling redundant pipelines that have already started
See https://docs.gitlab.com/ce/ci/yaml/#interruptible
.gitlab-ci.yml | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f4b44345..cae81e2b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -77,6 +77,7 @@ default:
.build-template:
stage: build
dependencies: [track]
+ interruptible: true
script:
- ${BST} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build core.bst flatpak-runtimes.bst
flatpak-platform-extensions.bst platform-manifest.bst sdk-manifest.bst
- |
@@ -184,6 +185,7 @@ default:
track:
<<: *x86_64
stage: track
+ interruptible: true
script:
- 'sed -i "s/track-tags: False/track-tags: ${BST_TRACK_TAGS}/" project.conf'
- ${BST} track --deps all core.bst flatpak-runtimes.bst vm/image.bst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]