Skip to content
Snippets Groups Projects
Commit 9d620ffd authored by Stan Hu's avatar Stan Hu Committed by Robert Speicher
Browse files

Add missing bootstrap-geo script

parent aaf47c7b
No related branches found
No related tags found
1 merge request!258Add support for running GitLab Geo tracking database
#!/usr/bin/env ruby
success = true
begin
foreman_pid = spawn('./run', 'geo_db')
[
%W(bundle exec rake geo:db:create)
].each do |cmd|
success &&= system({'force' => 'yes', 'BOOTSTRAP' => '1'}, *cmd, chdir: 'gitlab')
end
ensure
Process.kill('TERM', foreman_pid)
end
Process.wait(foreman_pid)
exit true if success
abort "#$0 failed"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment