Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Migrate and dump on first process, load schema on rest

Oliver Günther6aeff7241216
diff --git a/docker/ci/entrypoint.sh b/docker/ci/entrypoint.sh
index 1ee5d346082..8ce2b3f0d43 100755
--- a/docker/ci/entrypoint.sh
+++ b/docker/ci/entrypoint.sh
@@ -45,8 +45,8 @@ if [ "$1" == "setup-tests" ]; then
done
execute "time bundle install -j$JOBS"
- execute "TEST_ENV_NUMBER=0 time bundle exec rake db:create db:migrate webdrivers:chromedriver:update webdrivers:geckodriver:update"
- execute "time bundle exec rake parallel:setup"
+ execute "TEST_ENV_NUMBER=0 time bundle exec rake db:create db:migrate db:schema:dump webdrivers:chromedriver:update webdrivers:geckodriver:update"
+ execute "time bundle exec rake parallel:create parallel:load_schema"
fi
if [ "$1" == "run-units" ]; then