diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-06 15:07:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-06 15:07:56 +0300 |
commit | 045c0f9554a99c80d0a127540da168e272a9f977 (patch) | |
tree | 2c4b0d10c9432e68b6c1aca2097e663ba18b48ec /.gitlab/ci/review.gitlab-ci.yml | |
parent | 669c24d9276db9a73bbcea40aeab98273aae9e5e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab/ci/review.gitlab-ci.yml')
-rw-r--r-- | .gitlab/ci/review.gitlab-ci.yml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/.gitlab/ci/review.gitlab-ci.yml b/.gitlab/ci/review.gitlab-ci.yml index 43686a5c8e7..a42a927c6b9 100644 --- a/.gitlab/ci/review.gitlab-ci.yml +++ b/.gitlab/ci/review.gitlab-ci.yml @@ -1,9 +1,9 @@ # Make sure to update all the similar conditions in other CI config files if you modify these conditions -.if-canonical-gitlab: &if-canonical-gitlab - if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE =~ /^gitlab-org($|\/)/' +.if-canonical-gitlab-schedule: &if-canonical-gitlab-schedule + if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE =~ /^gitlab-org($|\/)/ && $CI_PIPELINE_SOURCE == "schedule"' # Make sure to update all the similar conditions in other CI config files if you modify these conditions -.if-canonical-gitlab-and-merge-request: &if-canonical-gitlab-and-merge-request +.if-canonical-gitlab-merge-request: &if-canonical-gitlab-merge-request if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE =~ /^gitlab-org($|\/)/ && $CI_MERGE_REQUEST_IID' # Make sure to update all the similar patterns in other CI config files if you modify these patterns @@ -44,9 +44,11 @@ build-qa-image: extends: .review-docker stage: prepare rules: - - <<: *if-canonical-gitlab + - <<: *if-canonical-gitlab-merge-request changes: *code-qa-patterns when: on_success + - <<: *if-canonical-gitlab-schedule + when: on_success script: - '[[ ! -d "ee/" ]] || export GITLAB_EDITION="ee"' - export QA_MASTER_IMAGE="${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab/gitlab-${GITLAB_EDITION}-qa:master" @@ -157,7 +159,7 @@ schedule:review-build-cng: review-deploy: extends: .review-deploy-base rules: - - <<: *if-canonical-gitlab-and-merge-request + - <<: *if-canonical-gitlab-merge-request changes: *code-qa-patterns when: on_success @@ -184,7 +186,7 @@ review-stop-failed-deployment: extends: .base-review-stop stage: prepare rules: - - <<: *if-canonical-gitlab-and-merge-request + - <<: *if-canonical-gitlab-merge-request changes: *code-qa-patterns when: on_success script: @@ -194,7 +196,7 @@ review-stop: extends: .base-review-stop stage: review rules: - - <<: *if-canonical-gitlab-and-merge-request + - <<: *if-canonical-gitlab-merge-request changes: *code-qa-patterns when: manual allow_failure: true @@ -235,7 +237,7 @@ review-stop: review-qa-smoke: extends: .review-qa-base rules: - - <<: *if-canonical-gitlab-and-merge-request + - <<: *if-canonical-gitlab-merge-request changes: *code-qa-patterns when: on_success script: @@ -244,7 +246,7 @@ review-qa-smoke: review-qa-all: extends: .review-qa-base rules: - - <<: *if-canonical-gitlab-and-merge-request + - <<: *if-canonical-gitlab-merge-request changes: *code-qa-patterns when: manual parallel: 5 @@ -276,7 +278,7 @@ review-qa-all: review-performance: extends: .review-performance-base rules: - - <<: *if-canonical-gitlab-and-merge-request + - <<: *if-canonical-gitlab-merge-request changes: *code-qa-patterns when: on_success needs: ["review-deploy"] |