Skip to content

A platform for community discussion. Free, open, simple.

DEV: `docker:test` rake task should install plugins first before migrating.

Guo Xiang Tan1d5c176ea5d1
diff --git a/lib/tasks/docker.rake b/lib/tasks/docker.rake
index f66450a0500..8febcde1603 100644
--- a/lib/tasks/docker.rake
+++ b/lib/tasks/docker.rake
@@ -70,13 +70,13 @@ task 'docker:test' do
ENV["RAILS_ENV"] = "test"
- @good &&= run_or_fail("bundle exec rake db:create db:migrate")
-
if ENV["INSTALL_OFFICIAL_PLUGINS"]
@good &&= run_or_fail("bundle exec rake plugin:install_all_official")
@good &&= run_or_fail("bundle exec rails r 'puts \"installing all gems\"'")
end
+ @good &&= run_or_fail("bundle exec rake db:create db:migrate")
+
unless ENV["JS_ONLY"]
unless ENV["SKIP_CORE"]