Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fd1613dd
Commit
fd1613dd
authored
Dec 10, 2019
by
Daniel Gruesso
Committed by
Evan Read
Dec 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Auto DevOps banner disablement detail
parent
2d695583
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
doc/topics/autodevops/img/autodevops_banner_v12_6.png
doc/topics/autodevops/img/autodevops_banner_v12_6.png
+0
-0
doc/topics/autodevops/index.md
doc/topics/autodevops/index.md
+16
-14
No files found.
doc/topics/autodevops/img/autodevops_banner_v12_6.png
0 → 100644
View file @
fd1613dd
76.3 KB
doc/topics/autodevops/index.md
View file @
fd1613dd
...
...
@@ -1340,26 +1340,28 @@ spec:
service account for your project. For help debugging this issue, see
[
Troubleshooting failed deployment jobs
](
../../user/project/clusters/index.md#troubleshooting
)
.
###
Disable the banner instance wide
###
Auto DevOps banner
If an administrator would like to disable the banners on an instance level, this
feature can be disabled either through the console:
The following Auto DevOps banner will show for maintainers+ on new projects when Auto DevOps is not enabled
```
sh
sudo
gitlab-rails console
```
![
Auto DevOps banner
](
img/autodevops_banner_v12_6.png
)
The
n run
:
The
banner can be disabled
:
```
ruby
Feature
.
get
(
:auto_devops_banner_disabled
).
enable
```
-
Per user when they dismiss it.
-
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:
```ruby
Feature.get(:auto_devops_banner_disabled).enable
```
Or through the HTTP
API with an admin access token:
-
Through the REST
API with an admin access token:
```
sh
curl
--data
"value=true"
--header
"PRIVATE-TOKEN: personal_access_token"
https://gitlab.example.com/api/v4/features/auto_devops_banner_disabled
```
```sh
curl --data "value=true" --header "PRIVATE-TOKEN: personal_access_token" https://gitlab.example.com/api/v4/features/auto_devops_banner_disabled
```
[
ce-37115
]:
https://gitlab.com/gitlab-org/gitlab-foss/issues/37115
[
docker-in-docker
]:
../../docker/using_docker_build.md#use-docker-in-docker-executor
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment