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>2023-09-13 12:11:17 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-13 12:11:17 +0300
commit2ea5c7c9c919b801d5039722e271ba077cc05986 (patch)
tree33da832deb3f743d15db4ad630e0ac989ae68455 /doc/ci/services
parentc053e70de25ad332aa99e4eefadccd7b9b46748e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/services')
-rw-r--r--doc/ci/services/index.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/ci/services/index.md b/doc/ci/services/index.md
index f92c50fcf3f..a2ffd095de3 100644
--- a/doc/ci/services/index.md
+++ b/doc/ci/services/index.md
@@ -493,5 +493,10 @@ Docker privileged mode applies to services. This means that the service image co
## Shared /builds directory
-Services can access files from the build because all services have the job
-directory mounted as a volume under `/builds`.
+The build directory is mounted as a volume under `/builds` and is shared
+between the job and services. The job checks the project out into
+`/builds/$CI_PROJECT_PATH` after the services are running. As a result, if your
+service needs files from the project or, for example, wants to put files there
+to serve as artifacts, it may need to wait for that directory to exist and
+have `$CI_COMMIT_SHA` checked out. Any changes made before the job finishes its
+checkout process are removed by the checkout process.