From 4adf2044746097e8fa6f85b8eb7524e931462c8b Mon Sep 17 00:00:00 2001 From: Dmitry Kropachev Date: Wed, 11 Sep 2024 12:14:19 -0400 Subject: [PATCH] cicd: run integration on the same version as cpp-driver --- .github/workflows/build-lint-and-test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-lint-and-test.yml b/.github/workflows/build-lint-and-test.yml index a347c194..4512934d 100644 --- a/.github/workflows/build-lint-and-test.yml +++ b/.github/workflows/build-lint-and-test.yml @@ -54,7 +54,7 @@ jobs: strategy: matrix: - scylla-version: [ENTERPRISE-RELEASE, ENTERPRISE-PRIOR-RELEASE, OSS-RELEASE, OSS-PRIOR-RELEASE] + scylla-version: [ENTERPRISE-RELEASE, ENTERPRISE-PRIOR-RELEASE, OSS-RELEASE, OSS-PRIOR-RELEASE, 5.4.8] fail-fast: false steps: @@ -85,8 +85,10 @@ jobs: echo "value=$(python3 ci/version_fetch.py --version-index 2 scylla-oss-stable:2 | tr -d '\"')" | tee -a $GITHUB_OUTPUT elif [[ "${{ matrix.scylla-version }}" == "OSS-RC" ]]; then echo "value=$(python3 ci/version_fetch.py --version-index 1 scylla-oss-rc | tr -d '\"')" | tee -a $GITHUB_OUTPUT + elif echo "${{ matrix.scylla-version }}" | grep -P '^[0-9\.]+'; then # If you want to run specific version do just that + echo "value=${{ matrix.scylla-version }}" | tee -a $GITHUB_OUTPUT else - echo "Unknown scylla version name `${{ matrix.scylla-version }}`" + echo "value=$(python3 ci/version_fetch.py --version-index 1 scylla-oss-rc | tr -d '\"')" | tee -a $GITHUB_OUTPUT exit 1 fi