@@ -33,63 +33,5 @@ steps:
3333 DEBUG: true
3434 command: ./.buildkite/run-yaml-tests.sh
3535 artifact_paths: elasticsearch-api/tmp/*
36- - group : ' Elasticsearch Serverless :elasticsearch:'
37- steps :
38- - label : ' Create :elasticsearch: Serverless projects'
39- key : create-serverless
40- agents :
41- image : ' docker.elastic.co/appex-qa/qaf:latest'
42- env :
43- EC_PROJECT_PREFIX : ruby
44- EC_REGISTER_BACKEND : buildkite
45- EC_REGION : aws-eu-west-1
46- EC_ENV : qa
47- commands :
48- - mkdir ~/.elastic
49- - touch ~/.elastic/cloud.json
50- - >-
51- echo "{\"api_key\":{\"qa\":\"$(vault read -field=qa
52- secret/ci/elastic-elasticsearch-ruby/cloud-access)\"}}" >
53- ~/.elastic/cloud.json
54- - ./.buildkite/create-serverless.sh
55- - label : ' Run :elasticsearch: Serverless :rspec: Tests :ruby:'
56- key : run-serverless-tests
57- depends_on :
58- - step : create-serverless
59- soft_fail :
60- - exit_status : " *"
61- agents :
62- provider : gcp
63- env :
64- RUBY_VERSION : ' 3.4'
65- RUBY_SOURCE : ruby
66- TEST_SUITE : serverless
67- ES_YAML_TESTS_BRANCH : main
68- QUIET : false
69- command : ./.buildkite/run-yaml-tests.sh
70- artifact_paths : elasticsearch-api/tmp/*
71- - label : ' Destroy :elasticsearch: Serverless projects'
72- depends_on :
73- - step : run-serverless-tests
74- allow_failure : true
75- agents :
76- image : ' docker.elastic.co/appex-qa/qaf:latest'
77- env :
78- EC_REGISTER_BACKEND : buildkite
79- EC_ENV : qa
80- EC_REGION : aws-eu-west-1
81- commands :
82- - mkdir ~/.elastic
83- - touch ~/.elastic/cloud.json
84- - >-
85- export EC_PROJECT_NAME=`buildkite-agent meta-data get
86- "EC_PROJECT_NAME"`
87- - >-
88- echo "{\"api_key\":{\"qa\":\"$(vault read -field=qa
89- secret/ci/elastic-elasticsearch-ruby/cloud-access)\"}}" >
90- ~/.elastic/cloud.json
91- - qaf elastic-cloud projects delete
92- - wait : ~
93- continue_on_failure : true
9436 - label : Log Results
9537 command : ./.buildkite/log-results.sh
0 commit comments