summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-09-12 14:00:50 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-09-12 14:22:56 +0200
commitb1d5186d0a2d8ea2b594398fbcfe28acb3e8ed23 (patch)
tree5bc558fcdf7564cbaa584ddabf70cd169c66e033 /doc
parent7e992b0be12da8906da04dd4c11c4ae2b01299bc (diff)
downloadgitlab-ce-b1d5186d0a2d8ea2b594398fbcfe28acb3e8ed23.tar.gz
Allow all AutoDevOps banners to be disabled
Given the default in the development and production environment is false, the negation of enabling is used in the flag to signal you'd turn it off. It reads a bit awkward, but makes us have a migration less. Fixes gitlab-org/gitlab-ce#37653
Diffstat (limited to 'doc')
-rw-r--r--doc/topics/autodevops/index.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/topics/autodevops/index.md b/doc/topics/autodevops/index.md
index babf44d2665..b31b8eaaca0 100644
--- a/doc/topics/autodevops/index.md
+++ b/doc/topics/autodevops/index.md
@@ -323,6 +323,23 @@ container registry. **Restarting a pod, scaling a service, or other actions whic
require on-going access to the registry will fail**. On-going secure access is
planned for a subsequent release.
+## Disable the banner instance wide
+
+If an administrater would like to disable the banners on an instance level, this
+feature can be disabled either through the console:
+
+```basb
+$ gitlab-rails console
+[1] pry(main)> Feature.get(:auto_devops_banner_disabled).disable
+=> true
+```
+
+Or through the HTTP API with the admin access token:
+
+```
+curl --data "value=true" --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/features/auto_devops_banner_disabled
+```
+
## Troubleshooting
- Auto Build and Auto Test may fail in detecting your language/framework. There