summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-01-09 22:02:44 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2018-01-09 22:02:44 -0200
commitd270693c86beda5c44ec4e5d842d81961a8809e6 (patch)
tree25b8fc47348171ea80cb952584098dde9101f32e
parent80b8fe24a18151eae7262589432a3158354c7273 (diff)
downloadgitlab-ce-da-verify-integrity-of-uploaded-files.tar.gz
Add docs for ENV variables take gitlab:uploads:check rake task supportsda-verify-integrity-of-uploaded-files
-rw-r--r--doc/administration/raketasks/check.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/administration/raketasks/check.md b/doc/administration/raketasks/check.md
index 94d71e32ef9..d1ed152b58c 100644
--- a/doc/administration/raketasks/check.md
+++ b/doc/administration/raketasks/check.md
@@ -96,6 +96,19 @@ sudo gitlab-rake gitlab:uploads:check
sudo -u git -H bundle exec rake gitlab:uploads:check RAILS_ENV=production
```
+This task also accepts some environment variables which you can use to override
+certain values:
+
+Variable | Type | Description
+-------- | ---- | -----------
+`BATCH` | integer | Specifies the size of the batch. Defaults to 200.
+`ID_FROM` | integer | Specifies the ID to start from, inclusive of the value.
+`ID_TO` | integer | Specifies the ID value to end at, inclusive of the value.
+
+```bash
+sudo gitlab-rake gitlab:uploads:check BATCH=100 ID_FROM=50 ID_TO=250
+```
+
## LDAP Check
The LDAP check Rake task will test the bind_dn and password credentials