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>2020-08-17 21:10:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-17 21:10:01 +0300
commit18da92341dac366b7bcfd13f2d3c443ffa315af0 (patch)
tree5189d9098a95d03d0b2b056f318a3637d9f547a7 /.gitlab-ci.yml
parent073ebdcae8630bbcc849f7cfb4c27fd81bef99a5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 50ee7102625..0662ce2197e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,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