diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2017-12-07 21:46:27 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2017-12-07 21:46:27 +0300 |
commit | 2ac6d806900f3aea708b3fcdc32463235f83eb73 (patch) | |
tree | 77cee98a97df5980418715555c74bda4399bdfbd /doc/administration/job_artifacts.md | |
parent | 30bc983c340de3641b952606c154c7a413368ab6 (diff) |
Clean up docs for dependencies validation
Diffstat (limited to 'doc/administration/job_artifacts.md')
-rw-r--r-- | doc/administration/job_artifacts.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/administration/job_artifacts.md b/doc/administration/job_artifacts.md index 86b436d89dd..33f8a69c249 100644 --- a/doc/administration/job_artifacts.md +++ b/doc/administration/job_artifacts.md @@ -128,6 +128,45 @@ steps below. 1. Save the file and [restart GitLab][] for the changes to take effect. +## Validation for dependencies + +> Introduced in GitLab 10.3. + +To disable [the dependencies validation](../ci/yaml/README.md#when-a-dependent-job-will-fail), +you can flip the feature flag from a Rails console. + +--- + +**In Omnibus installations:** + +1. Enter the Rails console: + + ```sh + sudo gitlab-rails console + ``` + +1. Flip the switch and disable it: + + ```ruby + Feature.enable('ci_disable_validates_dependencies') + ``` +--- + +**In installations from source:** + +1. Enter the Rails console: + + ```sh + cd /home/git/gitlab + RAILS_ENV=production sudo -u git -H bundle exec rails console + ``` + +1. Flip the switch and disable it: + + ```ruby + Feature.enable('ci_disable_validates_dependencies') + ``` + ## Set the maximum file size of the artifacts Provided the artifacts are enabled, you can change the maximum file size of the |