File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 5151 - touch ~/.elastic/cloud.json
5252 - echo "{\"api_key\":{\"qa\":\"$(vault read -field=qa secret/ci/elastic-elasticsearch-ruby/cloud-access)\"}}" > ~/.elastic/cloud.json
5353 - ./.buildkite/create-serverless.sh
54- - label : " Run :elasticsearch: Serverless :rspec: Tests :ruby:"
54+ - label : " Run :elasticsearch: Serverless :rspec: Tests :ruby: {{ matrix.ruby_source }} {{ matrix.ruby }} "
5555 key : run-serverless-tests
5656 depends_on :
5757 - step : create-serverless
6161 RUBY_VERSION : " {{ matrix.ruby }}"
6262 RUBY_SOURCE : " {{ matrix.ruby_source }}"
6363 TEST_SUITE : serverless
64+ ES_YAML_TESTS_BRANCH : main
6465 QUIET : false
6566 matrix :
6667 setup :
7374 ruby_source : ' jruby'
7475 ruby : ' 9.4'
7576 command : ./.buildkite/run-serverless-tests.sh
77+ artifact_paths : " elasticsearch-api/tmp/*"
7678 - label : " Destroy :elasticsearch: Serverless projects"
7779 depends_on :
7880 - step : run-serverless-tests
Original file line number Diff line number Diff line change @@ -21,8 +21,11 @@ docker build \
2121 --build-arg RUBY_SOURCE=$RUBY_SOURCE \
2222 .
2323
24+ mkdir -p elasticsearch-api/tmp
25+
2426echo " --- :ruby: Running $TEST_SUITE tests"
2527docker run \
28+ -u " $( id -u) " \
2629 -e " ELASTIC_USER=elastic" \
2730 -e " QUIET=${QUIET} " \
2831 -e " BUILDKITE=${BUILDKITE} " \
@@ -33,4 +36,4 @@ docker run \
3336 --name elasticsearch-ruby \
3437 --rm \
3538 elastic/elasticsearch-ruby \
36- bundle exec rake info
39+ bundle exec bundle exec rake test:yaml
You can’t perform that action at this time.
0 commit comments