summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2019-03-21 15:19:00 +0100
committerJacob Vosmaer <jacob@gitlab.com>2019-03-21 15:21:47 +0100
commit0908c7d2fe9b0245ee6673d59581802bcf638faf (patch)
tree305047c3725a67de9676a76b0959082b1af62c30
parent0e54c4402538f56d43317d23efbfc1c361ae21f1 (diff)
downloadgitlab-ce-0908c7d2fe9b0245ee6673d59581802bcf638faf.tar.gz
Add documentation reference for chatops feature flag commands
-rw-r--r--doc/development/rolling_out_changes_using_feature_flags.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/development/rolling_out_changes_using_feature_flags.md b/doc/development/rolling_out_changes_using_feature_flags.md
index 4e0d1b74bc9..8d35a4ecee2 100644
--- a/doc/development/rolling_out_changes_using_feature_flags.md
+++ b/doc/development/rolling_out_changes_using_feature_flags.md
@@ -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
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
Slack: