summaryrefslogtreecommitdiff
path: root/doc/administration/raketasks
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-03-06 18:46:36 +0000
committerNick Thomas <nick@gitlab.com>2018-03-07 17:28:15 +0000
commit4419d7ea1fa780066016c9527b96dba4f15d3f61 (patch)
tree3c1211d1558ff0b40c1801ec28bea78ff9636986 /doc/administration/raketasks
parent98c8c90e92f8f0407bf048d42ff5e4d76ce57ba0 (diff)
downloadgitlab-ce-4419d7ea1fa780066016c9527b96dba4f15d3f61.tar.gz
Implement foreground verification of CI artifacts43949-verify-job-artifacts
Diffstat (limited to 'doc/administration/raketasks')
-rw-r--r--doc/administration/raketasks/check.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/administration/raketasks/check.md b/doc/administration/raketasks/check.md
index d73d9422d2c..51c62742d01 100644
--- a/doc/administration/raketasks/check.md
+++ b/doc/administration/raketasks/check.md
@@ -84,12 +84,14 @@ checks using those checksums can be run. These checks also detect missing files.
Currently, integrity checks are supported for the following types of file:
+* CI artifacts
* LFS objects
* User uploads
**Omnibus Installation**
```
+sudo gitlab-rake gitlab:artifacts:check
sudo gitlab-rake gitlab:lfs:check
sudo gitlab-rake gitlab:uploads:check
```
@@ -97,6 +99,7 @@ sudo gitlab-rake gitlab:uploads:check
**Source Installation**
```bash
+sudo -u git -H bundle exec rake gitlab:artifacts:check RAILS_ENV=production
sudo -u git -H bundle exec rake gitlab:lfs:check RAILS_ENV=production
sudo -u git -H bundle exec rake gitlab:uploads:check RAILS_ENV=production
```
@@ -112,6 +115,7 @@ Variable | Type | Description
`VERBOSE` | boolean | Causes failures to be listed individually, rather than being summarized.
```bash
+sudo gitlab-rake gitlab:artifacts:check BATCH=100 ID_FROM=50 ID_TO=250
sudo gitlab-rake gitlab:lfs:check BATCH=100 ID_FROM=50 ID_TO=250
sudo gitlab-rake gitlab:uploads:check BATCH=100 ID_FROM=50 ID_TO=250
```