2020-02-06 04:09:06 -05:00
|
|
|
image: "registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.12-git-2.24-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-9.6-graphicsmagick-1.3.34"
|
2016-01-22 08:45:34 -05:00
|
|
|
|
2019-08-26 16:41:55 -04:00
|
|
|
stages:
|
2019-10-24 14:07:05 -04:00
|
|
|
- sync
|
2019-08-26 16:41:55 -04:00
|
|
|
- prepare
|
2020-02-20 07:08:51 -05:00
|
|
|
- fixtures
|
2019-08-26 16:41:55 -04:00
|
|
|
- test
|
2019-11-29 10:06:43 -05:00
|
|
|
- post-test
|
2019-08-28 17:07:54 -04:00
|
|
|
- review-prepare
|
2019-08-26 16:41:55 -04:00
|
|
|
- review
|
|
|
|
- qa
|
2019-11-29 10:06:43 -05:00
|
|
|
- post-qa
|
2019-08-26 16:41:55 -04:00
|
|
|
- pages
|
|
|
|
|
2020-03-16 08:09:12 -04:00
|
|
|
# always use `gitlab-org` runners
|
|
|
|
default:
|
|
|
|
tags:
|
|
|
|
- gitlab-org
|
|
|
|
|
2020-03-09 08:07:45 -04:00
|
|
|
workflow:
|
|
|
|
rules:
|
|
|
|
# If `$FORCE_GITLAB_CI` is set, create a pipeline.
|
|
|
|
- if: '$FORCE_GITLAB_CI'
|
|
|
|
# For merge requests, create a pipeline.
|
|
|
|
- if: '$CI_MERGE_REQUEST_IID'
|
|
|
|
# For `master` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
|
|
|
|
- if: '$CI_COMMIT_BRANCH == "master"'
|
|
|
|
# For tags, create a pipeline.
|
|
|
|
- if: '$CI_COMMIT_TAG'
|
|
|
|
# If `$GITLAB_INTERNAL` isn't set, don't create a pipeline.
|
|
|
|
- if: '$GITLAB_INTERNAL == null'
|
|
|
|
when: never
|
|
|
|
# For stable, auto-deploy, and security branches, create a pipeline.
|
|
|
|
- if: '$CI_COMMIT_BRANCH =~ /^[\d-]+-stable(-ee)?$/'
|
|
|
|
- if: '$CI_COMMIT_BRANCH =~ /^\d+-\d+-auto-deploy-\d+$/'
|
|
|
|
- if: '$CI_COMMIT_BRANCH =~ /^security\//'
|
|
|
|
|
2016-01-22 08:45:34 -05:00
|
|
|
variables:
|
2016-05-21 21:41:17 -04:00
|
|
|
RAILS_ENV: "test"
|
2017-04-04 13:47:12 -04:00
|
|
|
NODE_ENV: "test"
|
2016-05-21 21:41:17 -04:00
|
|
|
SIMPLECOV: "true"
|
2019-12-11 16:08:17 -05:00
|
|
|
GIT_DEPTH: "20"
|
2017-04-26 11:57:44 -04:00
|
|
|
GIT_SUBMODULE_STRATEGY: "none"
|
2016-12-15 06:40:33 -05:00
|
|
|
GET_SOURCES_ATTEMPTS: "3"
|
2019-09-27 11:06:16 -04:00
|
|
|
KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/report-master.json
|
2017-10-04 07:24:51 -04:00
|
|
|
FLAKY_RSPEC_SUITE_REPORT_PATH: rspec_flaky/report-suite.json
|
2018-11-14 12:36:02 -05:00
|
|
|
BUILD_ASSETS_IMAGE: "false"
|
2019-08-27 12:48:36 -04:00
|
|
|
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
|
2019-12-13 16:07:41 -05:00
|
|
|
ELASTIC_URL: "http://elastic:changeme@elasticsearch:9200"
|
2016-01-22 08:45:34 -05:00
|
|
|
|
2019-04-12 04:56:38 -04:00
|
|
|
include:
|
2019-12-16 10:07:39 -05:00
|
|
|
- local: .gitlab/ci/cache-repo.gitlab-ci.yml
|
2019-04-12 04:56:38 -04:00
|
|
|
- local: .gitlab/ci/cng.gitlab-ci.yml
|
|
|
|
- local: .gitlab/ci/docs.gitlab-ci.yml
|
|
|
|
- local: .gitlab/ci/frontend.gitlab-ci.yml
|
2019-10-01 11:06:05 -04:00
|
|
|
- local: .gitlab/ci/global.gitlab-ci.yml
|
2019-06-13 11:14:06 -04:00
|
|
|
- local: .gitlab/ci/memory.gitlab-ci.yml
|
2019-04-12 04:56:38 -04:00
|
|
|
- local: .gitlab/ci/pages.gitlab-ci.yml
|
|
|
|
- local: .gitlab/ci/qa.gitlab-ci.yml
|
|
|
|
- local: .gitlab/ci/reports.gitlab-ci.yml
|
|
|
|
- local: .gitlab/ci/rails.gitlab-ci.yml
|
|
|
|
- local: .gitlab/ci/review.gitlab-ci.yml
|
2020-02-18 10:08:51 -05:00
|
|
|
- local: .gitlab/ci/rules.gitlab-ci.yml
|
2019-04-12 04:56:38 -04:00
|
|
|
- local: .gitlab/ci/setup.gitlab-ci.yml
|
2019-12-20 04:24:38 -05:00
|
|
|
- local: .gitlab/ci/dev-fixtures.gitlab-ci.yml
|
2019-04-12 04:56:38 -04:00
|
|
|
- local: .gitlab/ci/test-metadata.gitlab-ci.yml
|
2019-06-05 12:31:35 -04:00
|
|
|
- local: .gitlab/ci/yaml.gitlab-ci.yml
|
2019-10-24 14:07:05 -04:00
|
|
|
- local: .gitlab/ci/releases.gitlab-ci.yml
|