mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Merge branch 'acunskis-rules-fix' into 'master'
Skip build jobs for scheduled pipeline See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/584 Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com> Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com> Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
This commit is contained in:
commit
b64084e65d
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@
|
|||
script:
|
||||
- ./scripts/lib/custom-docker-build
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
when: never
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_SERVER_HOST == "gitlab.com"'
|
||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_SERVER_HOST == "gitlab.com"'
|
||||
variables:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue