diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-12-07 23:16:57 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-12-07 23:16:57 +0900 |
commit | c2f68b7ae319cb732eeaf53ddd020702644dc70d (patch) | |
tree | 4fae8978b0a57f30c16054aa3bcaa7983fe44ffc /doc/ci | |
parent | 3b11df7bee6d574488a394b46ced22a824d5081d (diff) | |
download | gitlab-ce-c2f68b7ae319cb732eeaf53ddd020702644dc70d.tar.gz |
Update document to use ci_validates_dependencies
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/yaml/README.md | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index ea151853f50..ac5d99c71fc 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1153,22 +1153,16 @@ deploy: script: make deploy ``` -### Validations for `dependencies` keyword - +>**Note:** > Introduced in GitLab 10.3 +> This is the user documentation. For the administration guide see + [administration/job_artifacts](../../../administration/job_artifacts.md#validation_for_dependency). -`dependencies` keyword doesn't check the depended `artifacts` strictly. Therefore -they do not fail even though it falls into the following conditions. +If a depended job doesn't have artifacts by the following reason, the depending job will fail. 1. A depended `artifacts` has been [erased](https://docs.gitlab.com/ee/api/jobs.html#erase-a-job). 1. A depended `artifacts` has been [expired](https://docs.gitlab.com/ee/ci/yaml/#artifacts-expire_in). -To validate those conditions, you can flip the feature flag from a rails console: - -``` -Feature.enable('ci_validates_dependencies') -``` - ### before_script and after_script It's possible to overwrite the globally defined `before_script` and `after_script`: |