From 1d5c176ea5d1afba4a8e66e6abfdf89483e9399c Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 7 Jun 2018 15:20:06 +0800 Subject: [PATCH] DEV: `docker:test` rake task should install plugins first before migrating. --- lib/tasks/docker.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]