Update .gitlab-ci.yml file

This commit is contained in:
TC 2024-07-14 23:19:53 +00:00
parent bf6d21e1f1
commit efe0d28cf1

View File

@ -54,6 +54,8 @@ build_cache:
rules: rules:
- if: $CI_COMMIT_MESSAGE =~ /\[ci dryrun]/ - if: $CI_COMMIT_MESSAGE =~ /\[ci dryrun]/
when: never when: never
- if: $IS_NIGHTLY == "true"
when: never
- if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_PIPELINE_SOURCE == "push" - if: $CI_PIPELINE_SOURCE == "push"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@ -70,6 +72,8 @@ test_build:
rules: rules:
- if: $CI_COMMIT_MESSAGE =~ /\[ci dryrun]/ - if: $CI_COMMIT_MESSAGE =~ /\[ci dryrun]/
when: never when: never
- if: $IS_NIGHTLY == "true"
when: never
- if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_PIPELINE_SOURCE == "push" - if: $CI_PIPELINE_SOURCE == "push"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH