2019-08-26 16:41:55 -04:00
|
|
|
.default-tags:
|
|
|
|
tags:
|
|
|
|
- gitlab-org
|
|
|
|
|
|
|
|
.default-retry:
|
2019-04-12 04:56:38 -04:00
|
|
|
retry:
|
2019-06-05 12:31:35 -04:00
|
|
|
max: 2 # This is confusing but this means "3 runs at max".
|
2019-04-12 04:56:38 -04:00
|
|
|
when:
|
|
|
|
- unknown_failure
|
|
|
|
- api_failure
|
|
|
|
- runner_system_failure
|
|
|
|
|
2019-08-26 16:41:55 -04:00
|
|
|
.default-before_script:
|
|
|
|
before_script:
|
|
|
|
- date
|
|
|
|
- source scripts/utils.sh
|
|
|
|
- source scripts/prepare_build.sh
|
|
|
|
- date
|
2019-04-12 04:56:38 -04:00
|
|
|
|
|
|
|
# Jobs that only need to pull cache
|
2019-08-26 16:41:55 -04:00
|
|
|
.default-cache:
|
2019-04-12 04:56:38 -04:00
|
|
|
cache:
|
2019-08-26 16:41:55 -04:00
|
|
|
key: "debian-stretch-ruby-2.6.3-node-12.x"
|
|
|
|
paths:
|
|
|
|
- vendor/ruby
|
|
|
|
- .yarn-cache/
|
|
|
|
- vendor/gitaly-ruby
|
2019-04-12 04:56:38 -04:00
|
|
|
policy: pull
|
|
|
|
|
2019-08-26 16:41:55 -04:00
|
|
|
.except-docs:
|
2019-04-12 04:56:38 -04:00
|
|
|
except:
|
2019-07-01 11:04:19 -04:00
|
|
|
refs:
|
2019-08-02 02:24:07 -04:00
|
|
|
- /(^docs[\/-].+|.+-docs$)/
|
2019-07-01 11:04:19 -04:00
|
|
|
|
2019-08-26 16:41:55 -04:00
|
|
|
.except-qa:
|
2019-07-01 11:04:19 -04:00
|
|
|
except:
|
|
|
|
refs:
|
|
|
|
- /(^qa[\/-].*|.*-qa$)/
|
2019-04-12 04:56:38 -04:00
|
|
|
|
2019-08-26 16:41:55 -04:00
|
|
|
.except-docs-qa:
|
|
|
|
except:
|
|
|
|
refs:
|
|
|
|
- /(^docs[\/-].+|.+-docs$)/
|
|
|
|
- /(^qa[\/-].*|.*-qa$)/
|
2019-06-25 04:57:33 -04:00
|
|
|
|
2019-08-26 16:41:55 -04:00
|
|
|
.except-docs-qa-geo:
|
|
|
|
except:
|
|
|
|
refs:
|
|
|
|
- /(^docs[\/-].+|.+-docs$)/
|
|
|
|
- /(^qa[\/-].*|.*-qa$)/
|
|
|
|
- /(^geo[\/-].*|.*-geo$)/
|
2019-08-21 05:34:42 -04:00
|
|
|
|
2019-08-26 16:41:55 -04:00
|
|
|
.review-only:
|
2019-08-21 05:34:42 -04:00
|
|
|
only:
|
|
|
|
refs:
|
2019-09-14 05:06:20 -04:00
|
|
|
- branches@gitlab-org/gitlab-foss
|
|
|
|
- branches@gitlab-org/gitlab
|
2019-08-21 05:34:42 -04:00
|
|
|
kubernetes: active
|
|
|
|
except:
|
|
|
|
refs:
|
|
|
|
- master
|
|
|
|
- /^\d+-\d+-auto-deploy-\d+$/
|
|
|
|
- /(^docs[\/-].+|.+-docs$)/
|
2019-08-26 16:41:55 -04:00
|
|
|
|
|
|
|
.use-pg:
|
|
|
|
services:
|
|
|
|
- name: postgres:9.6.14
|
|
|
|
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
|
|
|
|
- name: redis:alpine
|
|
|
|
|
|
|
|
.use-pg-10:
|
|
|
|
image: "dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.6.3-golang-1.11-git-2.22-chrome-73.0-node-12.x-yarn-1.16-postgresql-10-graphicsmagick-1.3.33"
|
|
|
|
services:
|
|
|
|
- name: postgres:10.9
|
|
|
|
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
|
|
|
|
- name: redis:alpine
|