Add docs for ENV variables take gitlab:uploads:check rake task supports

This commit is contained in:
Douglas Barbosa Alexandre 2018-01-09 22:02:44 -02:00
parent 80b8fe24a1
commit d270693c86
1 changed files with 13 additions and 0 deletions

View File

@ -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