Skip to content
Snippets Groups Projects
Commit aee2f81a authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

CI: trying a workflow without duplicated pipelines

parent 84396c2e
No related branches found
No related tags found
1 merge request!49Draft: Resolve "Adapt to new sensor constructors in core"
...@@ -13,15 +13,16 @@ include: ...@@ -13,15 +13,16 @@ include:
# - scheduled # - scheduled
# - by a merge_request event # - by a merge_request event
# - by a commit (push) # - by a commit (push)
# DO NOT RUN the pipeline after a commit in a MR (avoid duplicated pipelines) # DO NOT RUN the pipeline
# - after a commit in a MR (avoid duplicated pipelines)
workflow: workflow:
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "web"' - if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"' - if: '$CI_PIPELINE_SOURCE == "schedule"'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_COMMIT_BRANCH'
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS' - if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: never when: never
- if: '$CI_COMMIT_BRANCH'
stages: stages:
- license - license
......
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