Skip to content
Snippets Groups Projects
Commit d3e96ea5 authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

ci: really, fail upcoming on scheduled builds, please

parent 72072fe9
No related branches found
No related tags found
1 merge request!113ci: really, fail upcoming on scheduled builds, please
Pipeline #25315 passed
......@@ -106,11 +106,7 @@
extends: .base
stage: upcoming
rules:
# we don't want to prevent merging unrelated work, so allow
# failures for normal builds
- if: '$CI_COMMIT_BRANCH'
allow_failure: true
# but disallow them for scheduled builds, so we get a nice
# disallow failures for scheduled builds, so we get a nice
# notification
- if: '$CI_PIPELINE_SOURCE == "schedule"'
allow_failure: false
......@@ -114,6 +110,14 @@
# notification
- if: '$CI_PIPELINE_SOURCE == "schedule"'
allow_failure: false
# but we don't want to prevent merging unrelated work, so allow
# failures for normal builds -- all of this is to avoid a detached
# build for merge requests
- if: '$CI_PIPELINE_SOURCE == "push"'
allow_failure: true
- if: '$CI_PIPELINE_SOURCE == "web"'
when: manual
allow_failure: true
parallel:
matrix:
- &development-versions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment