Skip to content
Snippets Groups Projects
Commit d308a462 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[ci] modify pipeline creation rules

parent 98b94179
No related branches found
No related tags found
1 merge request!2578[ci] ensure pipeline creation in schedules
Pipeline #3620 waiting for manual action
...@@ -5,9 +5,8 @@ stages: ...@@ -5,9 +5,8 @@ stages:
variables: variables:
IMAGE_REGISTRY_URL: $CI_REGISTRY/dumux-repositories/dumux-docker-ci IMAGE_REGISTRY_URL: $CI_REGISTRY/dumux-repositories/dumux-docker-ci
# Cases in which to create a pipeline. The `select-pipeline` job further # Cases in which to create pipelines at all. The trigger jobs may further
# specifies the situations in which they must be started manually. Currently, # specify how exactly they should be created in different situations.
# we only have automatic pipeline triggers for scheduled pipelines.
workflow: workflow:
rules: rules:
- if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_PIPELINE_SOURCE == "schedule"
...@@ -30,6 +29,8 @@ workflow: ...@@ -30,6 +29,8 @@ workflow:
variables: variables:
TRIGGER_SOURCE: $CI_PIPELINE_SOURCE TRIGGER_SOURCE: $CI_PIPELINE_SOURCE
rules: rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always
- if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: manual when: manual
......
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