Skip to content
Snippets Groups Projects
Commit 2890cabf authored by Andrew Kapuscinski's avatar Andrew Kapuscinski
Browse files

optimized CI stages to only run jobs if previous jobs are successful

parent 343b904c
No related branches found
No related tags found
1 merge request!116WS 78 fix datafetcher tests
......@@ -12,6 +12,4 @@
dotenv: build.env
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: always
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always
\ No newline at end of file
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
\ No newline at end of file
......@@ -11,6 +11,4 @@
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_COMMIT_MESSAGE =~ /\A(?i)-debug/'
when: never
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: always
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always
\ No newline at end of file
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
\ No newline at end of file
......@@ -6,5 +6,4 @@
- docker push ${NAME}:${CI_COMMIT_SHORT_SHA}
- docker push ${NAME}:${CI_DEFAULT_BRANCH}
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: always
\ No newline at end of file
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
\ No newline at end of file
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