summaryrefslogtreecommitdiff
path: root/.gitlab/ci/qa.gitlab-ci.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-06 12:07:56 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-06 12:07:56 +0000
commit045c0f9554a99c80d0a127540da168e272a9f977 (patch)
tree2c4b0d10c9432e68b6c1aca2097e663ba18b48ec /.gitlab/ci/qa.gitlab-ci.yml
parent669c24d9276db9a73bbcea40aeab98273aae9e5e (diff)
downloadgitlab-ce-045c0f9554a99c80d0a127540da168e272a9f977.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab/ci/qa.gitlab-ci.yml')
-rw-r--r--.gitlab/ci/qa.gitlab-ci.yml20
1 files changed, 9 insertions, 11 deletions
diff --git a/.gitlab/ci/qa.gitlab-ci.yml b/.gitlab/ci/qa.gitlab-ci.yml
index e9a3cd0da90..0c7d2318009 100644
--- a/.gitlab/ci/qa.gitlab-ci.yml
+++ b/.gitlab/ci/qa.gitlab-ci.yml
@@ -1,5 +1,9 @@
# 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-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-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
@@ -68,19 +72,13 @@ qa:selectors-foss:
package-and-qa:
extends: .package-and-qa-base
rules:
- - <<: *if-canonical-gitlab-and-merge-request
+ - <<: *if-canonical-gitlab-merge-request
changes: *qa-patterns
when: on_success
- - <<: *if-canonical-gitlab-and-merge-request
+ - <<: *if-canonical-gitlab-merge-request
changes: *code-patterns
when: manual
- needs: ["build-qa-image", "gitlab:assets:compile pull-cache"]
- allow_failure: true
-
-schedule:package-and-qa:
- extends:
- - .package-and-qa-base
- - .default-only
- - .only:variables_refs-canonical-dot-com-schedules
+ - <<: *if-canonical-gitlab-schedule
+ when: on_success
needs: ["build-qa-image", "gitlab:assets:compile pull-cache"]
allow_failure: true