Skip to content
Snippets Groups Projects
Commit f0523767 authored by Adam G-H's avatar Adam G-H
Browse files

Issue #3496652 follow-up by phenaproxima: Nightly and manual CI runs should...

Issue #3496652 follow-up by phenaproxima: Nightly and manual CI runs should not trigger the subtree split.
parent 1dede5fe
No related branches found
No related tags found
No related merge requests found
Pipeline #383060 failed
...@@ -16,12 +16,6 @@ variables: ...@@ -16,12 +16,6 @@ variables:
- if: $CI_COMMIT_BRANCH =~ /^([0-9]+\.)?[0-9]+\.x$/ && $CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_ROOT_NAMESPACE == "project" - if: $CI_COMMIT_BRANCH =~ /^([0-9]+\.)?[0-9]+\.x$/ && $CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_ROOT_NAMESPACE == "project"
# Deploy when we push a tag. # Deploy when we push a tag.
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
# Deploy in scheduled nightly builds.
- if: $CI_PIPELINE_SOURCE == "schedule"
# Deploy when manually triggered via the web UI.
- if: $CI_PIPELINE_SOURCE == "web"
# Deploy when manually triggered via the Web IDE.
- if: $CI_PIPELINE_SOURCE == "webide"
# Don't deploy in any other circumstance. # Don't deploy in any other circumstance.
- when: never - when: never
...@@ -30,6 +24,12 @@ workflow: ...@@ -30,6 +24,12 @@ workflow:
rules: rules:
# Run on merge requests. # Run on merge requests.
- if: $CI_MERGE_REQUEST_IID || $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_MERGE_REQUEST_IID || $CI_PIPELINE_SOURCE == 'merge_request_event'
# Run on a regular schedule (i.e., nightly builds).
- if: $CI_PIPELINE_SOURCE == "schedule"
# Run when manually triggered via the web UI.
- if: $CI_PIPELINE_SOURCE == "web"
# Run when manually triggered via the Web IDE.
- if: $CI_PIPELINE_SOURCE == "webide"
# Also run in any circumstance where we'd do a deployment. # Also run in any circumstance where we'd do a deployment.
- *deploy-rules - *deploy-rules
......
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