Commit bfa70377 authored by Evan Read's avatar Evan Read
Browse files

Merge branch 'auto-devops-banner' into 'master'

Add Auto DevOps banner disablement detail

See merge request gitlab-org/gitlab!21333
parents 2d695583 fd1613dd
...@@ -1340,26 +1340,28 @@ spec: ...@@ -1340,26 +1340,28 @@ spec:
service account for your project. For help debugging this issue, see service account for your project. For help debugging this issue, see
[Troubleshooting failed deployment jobs](../../user/project/clusters/ [Troubleshooting failed deployment jobs](../../user/project/clusters/
### Disable the banner instance wide ### Auto DevOps banner
If an administrator would like to disable the banners on an instance level, this The following Auto DevOps banner will show for maintainers+ on new projects when Auto DevOps is not enabled
feature can be disabled either through the console:
```sh ![Auto DevOps banner](img/autodevops_banner_v12_6.png)
sudo gitlab-rails console
Then run: The banner can be disabled:
```ruby - Per user when they dismiss it.
Feature.get(:auto_devops_banner_disabled).enable - Project-wide by explicitly [disabling Auto DevOps](#enablingdisabling-auto-devops).
``` - By a GitLab administrator for an entire GitLab instance by either:
- Running the following in a Rails console:
Or through the HTTP API with an admin access token: - Through the REST API with an admin access token:
```sh ```sh
curl --data "value=true" --header "PRIVATE-TOKEN: personal_access_token" curl --data "value=true" --header "PRIVATE-TOKEN: personal_access_token"
``` ```
[ce-37115]: [ce-37115]:
[docker-in-docker]: ../../docker/ [docker-in-docker]: ../../docker/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment