Add gitlab:satellites:create as an alias for gitlab:enable_automerge
This commit is contained in:
parent
501f048846
commit
56f9a674a6
3 changed files with 18 additions and 1 deletions
|
@ -192,7 +192,9 @@ namespace :gitlab do
|
|||
else
|
||||
puts "no".red
|
||||
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(
|
||||
"doc/raketasks/maintenance.md "
|
||||
|
|
|
@ -12,4 +12,9 @@ namespace :gitlab do
|
|||
|
||||
puts "Done!".green
|
||||
end
|
||||
|
||||
namespace :satellites do
|
||||
desc "GITLAB | Create satellite repos"
|
||||
task create: 'gitlab:enable_automerge'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue