gitlab-ci: make every stage interruptible

scheduled cloud cleaner is now fully funcitoning. This means we can
auto-cancel whole pipelines on new commits.
This commit is contained in:
Juan Abia 2022-02-02 10:28:39 +01:00 committed by jrusz
parent 07a5745875
commit 2c8b12febd

View file

@ -11,6 +11,7 @@ stages:
- schutzbot/update_github_status.sh update
- schutzbot/save_journal.sh
- schutzbot/run_cloud_cleaner.sh
interruptible: true
tags:
- terraform
artifacts:
@ -36,7 +37,6 @@ init:
- shell
script:
- schutzbot/update_github_status.sh start
interruptible: true
RPM:
stage: rpmbuild
@ -45,7 +45,6 @@ RPM:
- if: '$CI_PIPELINE_SOURCE != "schedule"'
script:
- sh "schutzbot/mockbuild.sh"
interruptible: true
after_script:
- schutzbot/update_github_status.sh update
- schutzbot/save_journal.sh
@ -78,7 +77,6 @@ Container:
- if: '$CI_PIPELINE_SOURCE != "schedule"'
script:
- sh "schutzbot/containerbuild.sh"
interruptible: true
parallel:
matrix:
- RUNNER:
@ -102,7 +100,6 @@ Prepare-rhel-internal:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $RUNNER =~ /[\S]+rhel-8.6-[^ga][\S]+/ && $NIGHTLY == "true" && $RHEL_MAJOR == "8"'
script:
- schutzbot/prepare-rhel-internal.sh
interruptible: true
artifacts:
paths:
- rhel-${RHEL_MAJOR}.json
@ -128,7 +125,6 @@ Base:
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/base_tests.sh
interruptible: true
parallel:
matrix:
- RUNNER:
@ -183,7 +179,6 @@ Regression:
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/regression.sh
interruptible: true
parallel:
matrix:
- RUNNER:
@ -217,7 +212,6 @@ Image Tests:
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/image_tests.sh
interruptible: true
parallel:
matrix:
- RUNNER:
@ -242,7 +236,6 @@ Test Case Generation:
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/generation.sh
interruptible: true
parallel:
matrix:
- RUNNER:
@ -264,7 +257,6 @@ OSTree:
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/ostree.sh
interruptible: true
parallel:
matrix:
- RUNNER:
@ -389,7 +381,6 @@ libvirt:
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/libvirt.sh
interruptible: true
parallel:
matrix:
- RUNNER:
@ -408,7 +399,6 @@ RHEL 9 on 8:
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/koji.sh
interruptible: true
variables:
RUNNER: aws/rhel-8.5-ga-x86_64
INTERNAL_NETWORK: "true"
@ -463,7 +453,6 @@ Installer:
script:
- schutzbot/deploy.sh
- /usr/libexec/tests/osbuild-composer/installers.sh
interruptible: true
parallel:
matrix:
- RUNNER: