From ae9b42e514852819f61160d5181604a565d06ebf Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 16 Sep 2024 10:12:54 +0100 Subject: [PATCH] [CI] Refactors pipeline, allows 8.x to fail due to new upcoming tests --- .buildkite/pipeline.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index beb0872e0..02e40a8f6 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -19,26 +19,38 @@ steps: stack_version: - 7.17-SNAPSHOT adjustments: - # Skip platinum for all but Ruby 3.2: + # Skip platinum for all but Ruby 3.3: - with: suite: "platinum" - ruby: "3.1" + ruby: "3.2" skip: true - with: suite: "platinum" - ruby: "3.0" + ruby: "3.1" skip: true - # Compatibility tests for 8.x: - with: - stack_version: "8.16.0-SNAPSHOT" - suite: "free" - ruby: "3.3" - - with: - stack_version: "8.16.0-SNAPSHOT" suite: "platinum" - ruby: "3.3" + ruby: "3.0" + skip: true + command: ./.buildkite/run-tests.sh + artifact_paths: "elasticsearch-api/tmp/*" + + - label: ":elasticsearch: 8.x Compatiblity :ruby: :rspec: {{ matrix.suite }}" + agents: + provider: "gcp" + env: + RUBY_VERSION: "3.3" + TEST_SUITE: "{{ matrix.suite }}" + STACK_VERSION: 8.16.0-SNAPSHOT + matrix: + setup: + suite: + - "free" + - "platinum" command: ./.buildkite/run-tests.sh artifact_paths: "elasticsearch-api/tmp/*" + soft_fail: + - exit_status: 1 - wait: ~ continue_on_failure: true - label: "Log Results"