Skip to content

Commit 90facf2

Browse files
committed
[CI] Refactors Buildkite to move main testing to YAML runner
1 parent 9bb0e73 commit 90facf2

File tree

1 file changed

+21
-44
lines changed

1 file changed

+21
-44
lines changed

.buildkite/pipeline.yml

Lines changed: 21 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
steps:
2-
- label: ":ruby: {{ matrix.ruby_source}}:{{ matrix.ruby }} :phone: Transport: {{ matrix.transport }} :elasticsearch: Suite: {{ matrix.suite }}"
2+
- label: ":elasticsearch: Elasticsearch :ruby: {{ matrix.ruby_source}}:{{ matrix.ruby }} :phone: Transport {{ matrix.transport }} {{ matrix.suite }}"
33
agents:
44
provider: "gcp"
55
env:
@@ -16,61 +16,38 @@ steps:
1616
- "platinum"
1717
ruby:
1818
- "3.3"
19-
- "3.2"
20-
- "3.1"
21-
- "3.0"
2219
transport:
2320
- "8.3"
2421
ruby_source:
25-
- 'ruby'
26-
# Only run platinum once for the latest Ruby. You can use lots of combinations, check the
27-
# documentation on https://buildkite.com/docs/pipelines/build-matrix for more information.
28-
adjustments:
29-
- with:
30-
suite: "platinum"
31-
ruby: "3.2"
32-
skip: true
33-
- with:
34-
suite: "platinum"
35-
ruby: "3.1"
36-
skip: true
37-
- with:
38-
suite: "platinum"
39-
ruby: "3.0"
40-
skip: true
41-
- with:
42-
suite: "free"
43-
ruby: "3.3"
44-
ruby_source: "ruby"
45-
transport: "8.1"
46-
- with:
47-
suite: "free"
48-
ruby: "3.3"
49-
ruby_source: "ruby"
50-
transport: "8.2"
51-
- with:
52-
suite: "free"
53-
ruby: "3.3"
54-
ruby_source: "ruby"
55-
transport: "main"
56-
- with:
57-
suite: "free"
58-
ruby: "9.4"
59-
ruby_source: "jruby"
60-
transport: "8.3"
22+
- "ruby"
6123
command: ./.buildkite/run-tests.sh
6224
# I'm publishing test results to HTML and JUnit in this directory and this directive makes them
6325
# available in the Artifacts tab of a build in Buildkite.
6426
artifact_paths: "elasticsearch-api/tmp/*"
65-
- label: ":ruby: :yaml: Test suite"
27+
- label: ":yaml: YAML test suite :ruby: {{ matrix.ruby_source}}:{{ matrix.ruby }} :phone: Transport {{ matrix.transport }}"
6628
agents:
6729
provider: "gcp"
30+
matrix:
31+
setup:
32+
ruby:
33+
- "3.3"
34+
- "3.2"
35+
- "3.1"
36+
- "3.0"
37+
ruby_source:
38+
- "ruby"
39+
transport:
40+
- "8.3"
41+
adjustments:
42+
- with:
43+
ruby: "9.4"
44+
ruby_source: "jruby"
6845
env:
69-
RUBY_VERSION: "3.3"
46+
RUBY_VERSION: "{{ matrix.ruby }}"
7047
STACK_VERSION: 9.0.0-SNAPSHOT
7148
ES_YAML_TESTS_BRANCH: main
72-
TRANSPORT_VERSION: "8.3"
73-
RUBY_SOURCE: "ruby"
49+
TRANSPORT_VERSION: "{{ matrix.transport }}"
50+
RUBY_SOURCE: "{{ matrix.ruby_source }}"
7451
TEST_SUITE: "platinum"
7552
command: ./.buildkite/run-yaml-tests.sh
7653
- wait: ~

0 commit comments

Comments
 (0)