summaryrefslogtreecommitdiff
path: root/doc/administration
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2017-12-07 19:46:27 +0100
committerAchilleas Pipinellis <axil@gitlab.com>2017-12-07 19:46:27 +0100
commit2ac6d806900f3aea708b3fcdc32463235f83eb73 (patch)
tree77cee98a97df5980418715555c74bda4399bdfbd /doc/administration
parent30bc983c340de3641b952606c154c7a413368ab6 (diff)
downloadgitlab-ce-2ac6d806900f3aea708b3fcdc32463235f83eb73.tar.gz
Clean up docs for dependencies validationfeature/sm/34834-missing-dependency-should-fail-job-2
Diffstat (limited to 'doc/administration')
-rw-r--r--doc/administration/job_artifacts.md39
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