From cc31b3f2c8eac56fcf634d0992c7553629fa3d91 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Thu, 17 Nov 2022 13:24:13 -0500 Subject: [PATCH] Updates ci.yml to point to correct bwc version Signed-off-by: Darshit Chanpura --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2638ee8e16..c855bc04f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,12 +63,13 @@ jobs: - run: | echo "Running backwards compatibility tests ..." security_plugin_version_no_snapshot=$(./gradlew properties -q | grep -E '^version:' | awk '{print $2}' | sed 's/-SNAPSHOT//g') + bwc_version=2.4.0 cp -r build/ ./bwc-test/ mkdir ./bwc-test/src/test/resources/security_plugin_version_no_snapshot cp build/distributions/opensearch-security-${security_plugin_version_no_snapshot}.zip ./bwc-test/src/test/resources/${security_plugin_version_no_snapshot} - mkdir bwc-test/src/test/resources/2.3.0.0 - wget https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.3.0/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-security-2.3.0.0.zip - mv opensearch-security-2.3.0.0.zip bwc-test/src/test/resources/2.3.0.0/ + mkdir bwc-test/src/test/resources/${bwc_version}.0 + wget https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${bwc_version}/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-security-${bwc_version}.0.zip + mv opensearch-security-${bwc_version}.0.zip bwc-test/src/test/resources/${bwc_version}.0/ cd bwc-test/ ./gradlew bwcTestSuite -Dtests.security.manager=false