Add documentation reference for chatops feature flag commands
This commit is contained in:
parent
0e54c44025
commit
0908c7d2fe
1 changed files with 14 additions and 0 deletions
|
@ -105,6 +105,20 @@ Flags](feature_flags.md) guide) supports rolling out changes to a percentage of
|
||||||
users. This in turn can be controlled using [GitLab
|
users. This in turn can be controlled using [GitLab
|
||||||
chatops](https://docs.gitlab.com/ee/ci/chatops/).
|
chatops](https://docs.gitlab.com/ee/ci/chatops/).
|
||||||
|
|
||||||
|
For an up to date list of feature flag commands please see [the source
|
||||||
|
code](https://gitlab.com/gitlab-com/chatops/blob/master/lib/chatops/commands/feature.rb).
|
||||||
|
Note that all the examples in that file must be preceded by
|
||||||
|
`/chatops run`.
|
||||||
|
|
||||||
|
If you get an error "Whoops! This action is not allowed. This incident
|
||||||
|
will be reported." that means your Slack account is not allowed to
|
||||||
|
change feature flags. To test if you are allowed to do anything at all,
|
||||||
|
run:
|
||||||
|
|
||||||
|
```
|
||||||
|
/chatops run feature --help
|
||||||
|
```
|
||||||
|
|
||||||
For example, to enable a feature for 25% of all users, run the following in
|
For example, to enable a feature for 25% of all users, run the following in
|
||||||
Slack:
|
Slack:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue