Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2020-02-17 22:52:03 +0300
committerJohn Cai <jcai@gitlab.com>2020-02-17 22:52:03 +0300
commit89d5218ccc5a6536049ef9d6a8647508e4dfe477 (patch)
tree37ae28e2f8f69c231b0f71e509c822e25a9e4d22
parent2e2d2f6078ab3077abadd192de101b65703abbf4 (diff)
parentfe657a35c971e95c20e35dc98746f0d87b665ebd (diff)
Merge branch 'zj-feature-flag-docs' into 'master'
Document Gitaly's use of feature flags See merge request gitlab-org/gitaly!1814
-rw-r--r--README.md2
-rw-r--r--doc/PROCESS.md17
2 files changed, 18 insertions, 1 deletions
diff --git a/README.md b/README.md
index a9a2d4017..81eb73c4e 100644
--- a/README.md
+++ b/README.md
@@ -58,7 +58,7 @@ Gitaly requires Go 1.12.13 or newer and Ruby 2.6. Run `make` to download
and compile Ruby dependencies, and to compile the Gitaly Go
executable.
-Gitaly uses `git`. Versions `2.21.0`, `2.22.0` and `2.24.0` are supported.
+Gitaly uses `git`. Versions `2.22.0` and `2.24.0` are supported.
## Configuration
diff --git a/doc/PROCESS.md b/doc/PROCESS.md
index ebb38d54d..46616e76b 100644
--- a/doc/PROCESS.md
+++ b/doc/PROCESS.md
@@ -1,5 +1,22 @@
## Gitaly Team Process
+### Feature flags
+
+Gitaly uses feature flags to safely roll out features in production. Feature
+flags are part of the `context.Context` of each RPC. The `featureflag` package
+will help you with flow control.
+
+Feature flags are [enabled through chatops][enable-flags]. For Gitaly, you have
+to prepend `gitaly_` to your feature flag when enabling or disabling. For example:
+to enable the feature flag "mep_mep", you run:
+
+`/chatops run feature set gitaly_mep_mep true`
+
+For customers, who don't use chatops, an [HTTP API is available][ff-api].
+
+[enable-flags]: https://docs.gitlab.com/ee/development/feature_flags/controls.html
+[ff-api]: https://docs.gitlab.com/ee/api/features.html#features-flags-api
+
### Gitaly Releases
Gitaly uses [SemVer](https://semver.org) version numbering.