Thanks to the 'rules' syntax, this will translate to
'allow_failure:true' and let the job fail but will not affect the rest
of the pipeline.
Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
services:
- docker:dind
rules:
+ - if: "$TEMPORARILY_DISABLED"
+ allow_failure: true
- when: on_success
before_script:
- export TAG="$CI_REGISTRY_IMAGE/ci-$NAME:latest"
stage: builds
image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
rules:
+ - if: "$TEMPORARILY_DISABLED"
+ allow_failure: true
- when: on_success
cache:
paths:
- cat ci/cirrus/$NAME.yml
- cirrus-run -v --show-build-log always ci/cirrus/$NAME.yml
rules:
+ - if: "$TEMPORARILY_DISABLED"
+ allow_failure: true
- if: "$CIRRUS_GITHUB_REPO && $CIRRUS_API_TOKEN"
.cross_build_job:
- ccache/
key: "$CI_JOB_NAME"
rules:
+ - if: "$TEMPORARILY_DISABLED"
+ allow_failure: true
- when: on_success
before_script:
- *script_variables