summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl-Philipp Richter <krichter@posteo.de>2018-08-08 12:07:50 +0200
committerRémy Coutable <remy@rymai.me>2018-08-21 19:49:12 +0200
commitb11adc8a6c11b04fac65fd8ac7c2b56ffade4fbc (patch)
tree7df5ae3618b2ae42108506c9d45b35173c27b4ad
parent9ef0e3af8eb0d02f34820e0bfbdf551f18af093f (diff)
downloadgitlab-ce-b11adc8a6c11b04fac65fd8ac7c2b56ffade4fbc.tar.gz
Add information that artifacts can only exist relative to the build directory
As explained in https://gitlab.com/gitlab-org/gitlab-ce/issues/15530. A note that the declaration of an absolute directory triggers a misleading error message and that following job(s) can't find the file is important to avoid large scale time waisting until the issue is fixed. Originally submitted at https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6838. Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--doc/ci/caching/index.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/ci/caching/index.md b/doc/ci/caching/index.md
index c159198d16b..3598c255e08 100644
--- a/doc/ci/caching/index.md
+++ b/doc/ci/caching/index.md
@@ -489,7 +489,15 @@ needed to compile the project:
Artifacts were designed to upload some compiled/generated bits of the build,
and they can be fetched by any number of concurrent Runners. They are
guaranteed to be available and are there to pass data between jobs. They are
- also exposed to be downloaded from the UI.
+ also exposed to be downloaded from the UI. **Artifacts can only exist in
+ directories relative to the build directory** and specifying paths which don't
+ comply to this rule trigger an unintuitive and unlogical error message (an
+ enhancement is discussed at
+ https://gitlab.com/gitlab-org/gitlab-ce/issues/15530). Artifacts need to be
+ uploaded to the GitLab instance (not only the GitLab runner) before the next
+ stage job(s) can start, so you need to evaluate carefully whether your
+ bandwidth allows you to profit from parallelization with stages and shared
+ artifacts before investing time in changes to the setup.
It's sometimes confusing because the name artifact sounds like something that
is only useful outside of the job, like for downloading a final image. But