File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -16,5 +16,3 @@ RUN gem install bundler
1616RUN bundle install
1717RUN bundle exec rake bundle:clean
1818RUN rake bundle:install
19- RUN bundle exec rake setup
20- RUN bundle exec rake elasticsearch:update
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ namespace :elasticsearch do
3636 end
3737
3838 desc "Update the submodule with Elasticsearch core repository"
39- task :update do
39+ task :update => :setup do
4040 sh "git --git-dir=#{ CURRENT_PATH . join ( 'tmp/elasticsearch/.git' ) } --work-tree=#{ CURRENT_PATH . join ( 'tmp/elasticsearch' ) } fetch origin --quiet"
4141 begin
4242 %x[git --git-dir=#{ CURRENT_PATH . join ( 'tmp/elasticsearch/.git' ) } --work-tree=#{ CURRENT_PATH . join ( 'tmp/elasticsearch' ) } pull]
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ namespace :test do
3838 end
3939
4040 desc "Run security (Platinum) rest api yaml tests"
41- task :security do
41+ task :security => 'elasticsearch:update' do
4242 Rake ::Task [ 'elasticsearch:wait_for_green' ] . invoke
4343 Rake ::Task [ 'elasticsearch:checkout_build' ] . invoke
4444 puts '-' * 80
You can’t perform that action at this time.
0 commit comments