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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/administration/raketasks/geo.md')
-rw-r--r--doc/administration/raketasks/geo.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/administration/raketasks/geo.md b/doc/administration/raketasks/geo.md
index 8bf720d2872..91c83b5f6ba 100644
--- a/doc/administration/raketasks/geo.md
+++ b/doc/administration/raketasks/geo.md
@@ -11,13 +11,13 @@ This is equivalent of running `git repack -d` on a _bare_ repository.
**Omnibus Installation**
-```bash
+```shell
sudo gitlab-rake geo:git:housekeeping:incremental_repack
```
**Source Installation**
-```bash
+```shell
sudo -u git -H bundle exec rake geo:git:housekeeping:incremental_repack RAILS_ENV=production
```
@@ -29,13 +29,13 @@ when this is enabled in GitLab.
**Omnibus Installation**
-```bash
+```shell
sudo gitlab-rake geo:git:housekeeping:full_repack
```
**Source Installation**
-```bash
+```shell
sudo -u git -H bundle exec rake geo:git:housekeeping:full_repack RAILS_ENV=production
```
@@ -46,13 +46,13 @@ a reachability bitmap index when this is enabled in GitLab.
**Omnibus Installation**
-```bash
+```shell
sudo gitlab-rake geo:git:housekeeping:gc
```
**Source Installation**
-```bash
+```shell
sudo -u git -H bundle exec rake geo:git:housekeeping:gc RAILS_ENV=production
```
@@ -63,12 +63,12 @@ can remove them using the rake task `geo:run_orphaned_project_registry_cleaner`:
**Omnibus Installation**
-```bash
+```shell
sudo gitlab-rake geo:run_orphaned_project_registry_cleaner
```
**Source Installation**
-```bash
+```shell
sudo -u git -H bundle exec rake geo:run_orphaned_project_registry_cleaner RAILS_ENV=production
```