Skip to content
Snippets Groups Projects
Commit 343eb737 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

Merge branch 'feature/change-ci-workflow-rules' into 'master'

[ci] ensure pipeline creation in schedules

See merge request !2578
parents 98b94179 d308a462
No related branches found
No related tags found
1 merge request!2578[ci] ensure pipeline creation in schedules
...@@ -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