summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-11-18 16:15:06 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-11-18 16:15:06 +0000
commit9d4a45ef2123f9acf9e41dc8140d33ba1c162251 (patch)
treec71b6b4235ce8a04a21a44fc086d671403991edd
parent548f48ef6dcb20ab401cc118052e1b9bcb4afccf (diff)
parente4ca2fa7f14a2c23891c8cf806706d4d953de4eb (diff)
downloadgitlab-ce-9d4a45ef2123f9acf9e41dc8140d33ba1c162251.tar.gz
Merge branch 'docs/no-artifacts-passing' into 'master'
Document how to prevent artifacts from passing to next stage See merge request !7575
-rw-r--r--doc/ci/yaml/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index 6fee750c709..338c9a27789 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -760,6 +760,15 @@ artifacts:
- binaries/
```
+To disable artifact passing, define the job with empty [dependencies](#dependencies):
+
+```yaml
+job:
+ stage: build
+ script: make build
+ dependencies: []
+```
+
You may want to create artifacts only for tagged releases to avoid filling the
build server storage with temporary build artifacts.