mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:51:08 +08:00
DEV: docker:test
rake task should install plugins first before migrating.
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user