Commit 56f9a674a6f398abc2541b435808361b13b7e713
1 parent
501f0488
Exists in
master
and in
4 other branches
Add gitlab:satellites:create as an alias for gitlab:enable_automerge
Showing
3 changed files
with
18 additions
and
1 deletions
Show diff stats
doc/raketasks/maintenance.md
@@ -139,6 +139,16 @@ Checking GitLab ... Finished | @@ -139,6 +139,16 @@ Checking GitLab ... Finished | ||
139 | ``` | 139 | ``` |
140 | 140 | ||
141 | 141 | ||
142 | +### (Re-)Create satellite repos | ||
143 | + | ||
144 | +This will create satellite repos for all your projects. | ||
145 | +If necessary, remove the `tmp/repo_satellites` directory and rerun the command below. | ||
146 | + | ||
147 | +``` | ||
148 | +bundle exec rake gitlab:satellites:create | ||
149 | +``` | ||
150 | + | ||
151 | + | ||
142 | ### Rebuild each key at gitolite config | 152 | ### Rebuild each key at gitolite config |
143 | 153 | ||
144 | This will send all users ssh public keys to gitolite and grant them access (based on their permission) to their projects. | 154 | This will send all users ssh public keys to gitolite and grant them access (based on their permission) to their projects. |
lib/tasks/gitlab/check.rake
@@ -192,7 +192,9 @@ namespace :gitlab do | @@ -192,7 +192,9 @@ namespace :gitlab do | ||
192 | else | 192 | else |
193 | puts "no".red | 193 | puts "no".red |
194 | try_fixing_it( | 194 | try_fixing_it( |
195 | - "sudo -u gitlab -H bundle exec rake gitlab:enable_automerge" | 195 | + "sudo -u gitlab -H bundle exec rake gitlab:satellites:create", |
196 | + "If necessary, remove the tmp/repo_satellites directory ...", | ||
197 | + "... and rerun the above command" | ||
196 | ) | 198 | ) |
197 | for_more_information( | 199 | for_more_information( |
198 | "doc/raketasks/maintenance.md " | 200 | "doc/raketasks/maintenance.md " |
lib/tasks/gitlab/enable_automerge.rake