Skip to content

Commit 13763ae

Browse files
committed
[CI] Updates Buildkite pipeline and GH Actions for 9.1
1 parent 758a90a commit 13763ae

File tree

2 files changed

+4
-60
lines changed

2 files changed

+4
-60
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -26,69 +26,13 @@ steps:
2626
env:
2727
RUBY_VERSION: '{{ matrix.ruby }}'
2828
STACK_VERSION: 9.1.0-SNAPSHOT
29-
ES_YAML_TESTS_BRANCH: main
29+
ES_YAML_TESTS_BRANCH: 9.1
3030
TRANSPORT_VERSION: '{{ matrix.transport }}'
3131
RUBY_SOURCE: '{{ matrix.ruby_source }}'
3232
TEST_SUITE: platinum
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
9236
- wait: ~
9337
continue_on_failure: true
9438
- label: Log Results

.github/workflows/main.yml renamed to .github/workflows/9.1.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: main
1+
name: 9.1
22
on:
33
push:
44
branches:
5-
- main
5+
- 9.1
66
pull_request:
77
branches:
8-
- main
8+
- 9.1
99
jobs:
1010
test-main:
1111
env:

0 commit comments

Comments
 (0)