From 6e4e1050d9dba2b7b2523fdd1768823ab85feef4 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 20 Aug 2020 18:42:06 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-3-stable-ee --- .gitlab-ci.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5b80c7ca55..0662ce2197e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,12 +10,13 @@ stages: - qa - post-qa - pages + - notify # 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` default: - image: "registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.27-lfs-2.9-chrome-83-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34" + image: "registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34" tags: - gitlab-org # All jobs are interruptible by default @@ -62,6 +63,27 @@ variables: ELASTIC_URL: "http://elastic:changeme@elasticsearch:9200" DOCKER_VERSION: "19.03.0" + # Preparing custom clone path to reduce space used by all random forks + # on GitLab.com's Shared Runners. Our main forks - especially the security + # ones - will have this variable overwritten in the project settings, so that + # a security-related code or code using our protected variables will be never + # stored on the same path as the community forks. + # Part of the solution for the `no space left on device` problem described at + # https://gitlab.com/gitlab-org/gitlab/issues/197876. + # + # For this purpose the https://gitlab.com/gitlab-org-forks group was created + # to host a placeholder for the `/builds/gitlab-org-forks` path and ensure + # that no legitimate project will ever use it and - by mistake - execute its + # job on a shared working directory. It also requires proper configuration of + # the Runner that executes the job (which was prepared for our shared runners + # by https://ops.gitlab.net/gitlab-cookbooks/chef-repo/-/merge_requests/3977). + # + # Because of all of that PLEASE DO NOT CHANGE THE PATH. + # + # For more details and reasoning that brought this change please check + # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/24887 + GIT_CLONE_PATH: "/builds/gitlab-org-forks/${CI_PROJECT_NAME}" + include: - local: .gitlab/ci/build-images.gitlab-ci.yml - local: .gitlab/ci/cache-repo.gitlab-ci.yml @@ -81,3 +103,4 @@ include: - local: .gitlab/ci/test-metadata.gitlab-ci.yml - local: .gitlab/ci/yaml.gitlab-ci.yml - local: .gitlab/ci/releases.gitlab-ci.yml + - local: .gitlab/ci/notify.gitlab-ci.yml -- cgit v1.2.3