Skip to content
Snippets Groups Projects
Commit 2b34a82d authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix : rules syntax

parent fc1858ee
No related branches found
No related tags found
1 merge request!7fix : disabling windows release & -DWERROR=1 + dependencies fix
......@@ -3,15 +3,14 @@
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TITLE !~ /^Draft:/
when: on_success
allow_failure: false
- when: manual
- allow_failure: true
when: manual
allow_failure: true
.rules:build:merge_pipeline:
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TITLE !~ /^Draft:/
when: always
- when: manual
- allow_failure: false
when: manual
allow_failure: false
# creating release jobs only when merging to main
.rules:release:
......@@ -19,16 +18,15 @@
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_PIPELINE_SOURCE == "schedule" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- allow_failure: false
allow_failure: false
# deploying created releases
# when creating a commit tag & previous release job was successful
.rules:deploy:
rules:
- when: never
- allow_failure: false
- if: $CI_COMMIT_TAG
when: on_success
allow_failure: false
when: on_success
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