Commit 56f9a674 authored by Riyad Preukschas's avatar Riyad Preukschas

Add gitlab:satellites:create as an alias for gitlab:enable_automerge

parent 501f0488
...@@ -139,6 +139,16 @@ Checking GitLab ... Finished ...@@ -139,6 +139,16 @@ Checking GitLab ... Finished
``` ```
### (Re-)Create satellite repos
This will create satellite repos for all your projects.
If necessary, remove the `tmp/repo_satellites` directory and rerun the command below.
```
bundle exec rake gitlab:satellites:create
```
### Rebuild each key at gitolite config ### Rebuild each key at gitolite config
This will send all users ssh public keys to gitolite and grant them access (based on their permission) to their projects. This will send all users ssh public keys to gitolite and grant them access (based on their permission) to their projects.
......
...@@ -192,7 +192,9 @@ namespace :gitlab do ...@@ -192,7 +192,9 @@ namespace :gitlab do
else else
puts "no".red puts "no".red
try_fixing_it( try_fixing_it(
"sudo -u gitlab -H bundle exec rake gitlab:enable_automerge" "sudo -u gitlab -H bundle exec rake gitlab:satellites:create",
"If necessary, remove the tmp/repo_satellites directory ...",
"... and rerun the above command"
) )
for_more_information( for_more_information(
"doc/raketasks/maintenance.md " "doc/raketasks/maintenance.md "
......
...@@ -12,4 +12,9 @@ namespace :gitlab do ...@@ -12,4 +12,9 @@ namespace :gitlab do
puts "Done!".green puts "Done!".green
end end
namespace :satellites do
desc "GITLAB | Create satellite repos"
task create: 'gitlab:enable_automerge'
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment