Skip to content
Snippets Groups Projects
Commit dc7c83bf authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Separate db:create and dev:setup

I do not understand why but this seems to fix
https://gitlab.com/gitlab-org/gitlab-development-kit/issues/111
parent 8c596bcd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,7 +2,12 @@
 
begin
foreman_pid = spawn('./run', 'db')
system({'force' => 'yes', 'BOOTSTRAP' => '1'}, *%W(bundle exec rake db:create dev:setup), chdir: 'gitlab')
[
%W(bundle exec rake db:create),
%W(bundle exec rake dev:setup),
].each do |cmd|
system({'force' => 'yes', 'BOOTSTRAP' => '1'}, *cmd, chdir: 'gitlab')
end
ensure
Process.kill('TERM', foreman_pid)
end
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