diff --git a/.github/actions/integration-tests/run-ci-stage1 b/.github/actions/integration-tests/run-ci-stage1 index 7f68e91..2d4a19e 100755 --- a/.github/actions/integration-tests/run-ci-stage1 +++ b/.github/actions/integration-tests/run-ci-stage1 @@ -784,9 +784,16 @@ run_cmd "crucible ls --type tags" run_cmd "crucible opensearch repair" -run_cmd "crucible opensearch init" +case "${CI_RELEASE}" in + "2024.4"|"2025.1"|"2025.2"|"2025.3") + run_cmd "crucible opensearch init" -run_cmd "crucible opensearch rebuild" + run_cmd "crucible opensearch rebuild" + ;; + *) + echo "Skipping 'crucible opensearch init/rebuild' since they are not supported on the ${CI_RELEASE} release" + ;; +esac for scenario in $(echo "${CI_SCENARIOS}" | sed -e "s/,/ /g"); do if [ "${scenario}" == "multi" ]; then