debian-mirror-gitlab/.gitlab-ci.yml

74 lines
2.4 KiB
YAML
Raw Normal View History

2020-04-22 19:07:51 +05:30
image: "registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.14-git-2.26-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-10-graphicsmagick-1.3.34"
2019-05-05 18:10:48 +05:30
2019-12-04 20:38:33 +05:30
stages:
2019-12-26 22:10:19 +05:30
- sync
2019-12-04 20:38:33 +05:30
- prepare
2020-04-08 14:13:33 +05:30
- fixtures
2019-12-04 20:38:33 +05:30
- test
2020-01-01 13:55:28 +05:30
- post-test
2019-12-04 20:38:33 +05:30
- review-prepare
- review
- qa
2020-01-01 13:55:28 +05:30
- post-qa
2019-12-04 20:38:33 +05:30
- pages
2020-04-22 19:07:51 +05:30
# always use `gitlab-org` runners, however
# in cases where jobs require Docker-in-Docker, the job
# definition must be extended with `.use-docker-in-docker`
2020-04-08 14:13:33 +05:30
default:
tags:
- gitlab-org
2020-04-22 19:07:51 +05:30
# All jobs are interruptible by default
interruptible: true
2020-04-08 14:13:33 +05:30
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\//'
2019-05-05 18:10:48 +05:30
variables:
RAILS_ENV: "test"
NODE_ENV: "test"
SIMPLECOV: "true"
2020-01-01 13:55:28 +05:30
GIT_DEPTH: "20"
2019-05-05 18:10:48 +05:30
GIT_SUBMODULE_STRATEGY: "none"
GET_SOURCES_ATTEMPTS: "3"
2019-12-21 20:55:43 +05:30
KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/report-master.json
2019-05-05 18:10:48 +05:30
FLAKY_RSPEC_SUITE_REPORT_PATH: rspec_flaky/report-suite.json
BUILD_ASSETS_IMAGE: "false"
2019-12-04 20:38:33 +05:30
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
2020-01-01 13:55:28 +05:30
ELASTIC_URL: "http://elastic:changeme@elasticsearch:9200"
2020-04-22 19:07:51 +05:30
DOCKER_VERSION: "19.03.0"
2019-05-05 18:10:48 +05:30
2019-07-31 22:56:46 +05:30
include:
2020-01-01 13:55:28 +05:30
- local: .gitlab/ci/cache-repo.gitlab-ci.yml
2019-07-31 22:56:46 +05:30
- local: .gitlab/ci/cng.gitlab-ci.yml
- local: .gitlab/ci/docs.gitlab-ci.yml
- local: .gitlab/ci/frontend.gitlab-ci.yml
2019-12-21 20:55:43 +05:30
- local: .gitlab/ci/global.gitlab-ci.yml
2019-09-30 21:07:59 +05:30
- local: .gitlab/ci/memory.gitlab-ci.yml
2019-07-31 22:56:46 +05:30
- 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-03-13 15:44:24 +05:30
- local: .gitlab/ci/rules.gitlab-ci.yml
2019-07-31 22:56:46 +05:30
- local: .gitlab/ci/setup.gitlab-ci.yml
2020-03-13 15:44:24 +05:30
- local: .gitlab/ci/dev-fixtures.gitlab-ci.yml
2019-07-31 22:56:46 +05:30
- local: .gitlab/ci/test-metadata.gitlab-ci.yml
2019-09-04 21:01:54 +05:30
- local: .gitlab/ci/yaml.gitlab-ci.yml
2019-12-26 22:10:19 +05:30
- local: .gitlab/ci/releases.gitlab-ci.yml