Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-09-17 17:16:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-09-17 17:16:34 +0300
commit4ab54c2233e91f60a80e5b6fa2181e6899fdcc3e (patch)
tree2b256ff8dfe63dafe7f42b0d995f9e74fd1dc48b /.gitlab/ci/global.gitlab-ci.yml
parentbd860c22f6a4b9473cbddd34a53eead8235a7ea1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab/ci/global.gitlab-ci.yml')
-rw-r--r--.gitlab/ci/global.gitlab-ci.yml95
1 files changed, 72 insertions, 23 deletions
diff --git a/.gitlab/ci/global.gitlab-ci.yml b/.gitlab/ci/global.gitlab-ci.yml
index 8287390c80e..94d7d2cdaa4 100644
--- a/.gitlab/ci/global.gitlab-ci.yml
+++ b/.gitlab/ci/global.gitlab-ci.yml
@@ -27,40 +27,83 @@
- vendor/gitaly-ruby
policy: pull
-.except-docs:
- except:
+.default-only:
+ only:
refs:
- - /(^docs[\/-].+|.+-docs$)/
+ - master
+ - /^[\d-]+-stable(-ee)?$/
+ - /^\d+-\d+-auto-deploy-\d+$/
+ - merge_requests
+ - tags
-.except-qa:
- except:
- refs:
- - /(^qa[\/-].*|.*-qa$)/
+.only-code-changes:
+ only:
+ changes:
+ - ".gitlab/ci/**/*"
+ - ".{eslintignore,gitattributes,nvmrc,prettierrc,stylelintrc,yamllint}"
+ - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,scss-lint}.yml"
+ - ".csscomb.json"
+ - "Dangerfile"
+ - "Dockerfile.assets"
+ - "*_VERSION"
+ - "Gemfile{,.lock}"
+ - "Rakefile"
+ - "{babel.config,jest.config}.js"
+ - "config.ru"
+ - "{package.json,yarn.lock}"
+ - "{app,bin,config,danger,db,ee,fixtures,haml_lint,lib,public,rubocop,scripts,spec,symbol,vendor}/**/*"
+ - "doc/README.md" # Some RSpec test rely on this file
-.except-docs-qa:
- except:
- refs:
- - /(^docs[\/-].+|.+-docs$)/
- - /(^qa[\/-].*|.*-qa$)/
+.only-qa-changes:
+ only:
+ changes:
+ - ".dockerignore"
+ - "qa/**/*"
-.except-docs-qa-geo:
- except:
- refs:
- - /(^docs[\/-].+|.+-docs$)/
- - /(^qa[\/-].*|.*-qa$)/
- - /(^geo[\/-].*|.*-geo$)/
+.only-docs-changes:
+ only:
+ changes:
+ - ".gitlab/route-map.yml"
+ - "doc/**/*"
+ - ".markdownlint.json"
-.review-only:
+.only-code-qa-changes:
only:
- refs:
- - branches@gitlab-org/gitlab-foss
- - branches@gitlab-org/gitlab
+ changes:
+ - ".gitlab/ci/**/*"
+ - ".{eslintignore,gitattributes,nvmrc,prettierrc,stylelintrc,yamllint}"
+ - ".{codeclimate,eslintrc,gitlab-ci,haml-lint,haml-lint_todo,rubocop,rubocop_todo,scss-lint}.yml"
+ - ".csscomb.json"
+ - "Dangerfile"
+ - "Dockerfile.assets"
+ - "*_VERSION"
+ - "Gemfile{,.lock}"
+ - "Rakefile"
+ - "{babel.config,jest.config}.js"
+ - "config.ru"
+ - "{package.json,yarn.lock}"
+ - "{app,bin,config,danger,db,ee,fixtures,haml_lint,lib,public,rubocop,scripts,spec,symbol,vendor}/**/*"
+ - "doc/README.md" # Some RSpec test rely on this file
+ - ".dockerignore"
+ - "qa/**/*"
+
+.only-review:
+ only:
+ variables:
+ - $CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE == "gitlab-org"
kubernetes: active
except:
refs:
- master
- /^\d+-\d+-auto-deploy-\d+$/
- - /(^docs[\/-].+|.+-docs$)/
+
+.only-review-schedules:
+ only:
+ refs:
+ - schedules
+ variables:
+ - $REVIEW_APP_CLEANUP && $CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE == "gitlab-org"
+ kubernetes: active
.use-pg:
services:
@@ -74,3 +117,9 @@
- name: postgres:10.9
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
- name: redis:alpine
+
+.only-ee:
+ only:
+ variables:
+ - $CI_PROJECT_NAME == "gitlab-ee"
+ - $CI_PROJECT_NAME == "gitlab" # New name of gitlab-ee after the single codebase migration