From 0e5eb19cdf0fad0cc5a0da7b96dd3cbd8dee6ecd Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 16 Sep 2024 08:31:16 +0100 Subject: [PATCH 1/2] [CI] Updates STACK_VERSION for 8.x in testing --- .buildkite/pipeline.yml | 4 ++-- .github/workflows/7.17-8.x.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index fef3dad836..beb0872e08 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -30,11 +30,11 @@ steps: skip: true # Compatibility tests for 8.x: - with: - stack_version: "8.14.0-SNAPSHOT" + stack_version: "8.16.0-SNAPSHOT" suite: "free" ruby: "3.3" - with: - stack_version: "8.14.0-SNAPSHOT" + stack_version: "8.16.0-SNAPSHOT" suite: "platinum" ruby: "3.3" command: ./.buildkite/run-tests.sh diff --git a/.github/workflows/7.17-8.x.yml b/.github/workflows/7.17-8.x.yml index 519c2da130..b04e32e789 100644 --- a/.github/workflows/7.17-8.x.yml +++ b/.github/workflows/7.17-8.x.yml @@ -26,7 +26,7 @@ jobs: sudo sysctl -w vm.max_map_count=262144 - uses: elastic/elastic-github-actions/elasticsearch@master with: - stack-version: 8.14.0-SNAPSHOT + stack-version: 8.16.0-SNAPSHOT security-enabled: false - uses: ruby/setup-ruby@v1 with: From 2464e12ef84492d521cb998dc7ac5dc349a43765 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 16 Sep 2024 10:12:54 +0100 Subject: [PATCH 2/2] [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 beb0872e08..02e40a8f63 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"