From e34c692c5247f15de024930660a8822b30cf2dc7 Mon Sep 17 00:00:00 2001 From: Y Ethan Guo Date: Sun, 26 May 2024 22:14:28 -0700 Subject: [PATCH] Fix ci_run.sh --- packaging/bundle-validation/ci_run.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packaging/bundle-validation/ci_run.sh b/packaging/bundle-validation/ci_run.sh index 56ce62d3a649..8fb2fd916677 100755 --- a/packaging/bundle-validation/ci_run.sh +++ b/packaging/bundle-validation/ci_run.sh @@ -121,7 +121,8 @@ fi TMP_JARS_DIR=/tmp/jars/$(date +%s) mkdir -p $TMP_JARS_DIR -if [[ "$HUDI_VERSION" == *"SNAPSHOT" ]]; then +if [[ -z "$STAGING_REPO_NUM" ]]; then + echo 'Adding built bundle jars for validation' cp ${GITHUB_WORKSPACE}/packaging/hudi-flink-bundle/target/hudi-*-$HUDI_VERSION.jar $TMP_JARS_DIR/ cp ${GITHUB_WORKSPACE}/packaging/hudi-hadoop-mr-bundle/target/hudi-*-$HUDI_VERSION.jar $TMP_JARS_DIR/ cp ${GITHUB_WORKSPACE}/packaging/hudi-kafka-connect-bundle/target/hudi-*-$HUDI_VERSION.jar $TMP_JARS_DIR/ @@ -145,6 +146,10 @@ else HUDI_SPARK_BUNDLE_NAME=hudi-spark2.4-bundle_2.11 HUDI_UTILITIES_BUNDLE_NAME=hudi-utilities-bundle_2.11 HUDI_UTILITIES_SLIM_BUNDLE_NAME=hudi-utilities-slim-bundle_2.11 + elif [[ ${SPARK_PROFILE} == 'spark3.0' ]]; then + HUDI_SPARK_BUNDLE_NAME=hudi-spark3.0-bundle_2.12 + HUDI_UTILITIES_BUNDLE_NAME=hudi-utilities-bundle_2.12 + HUDI_UTILITIES_SLIM_BUNDLE_NAME=hudi-utilities-slim-bundle_2.12 elif [[ ${SPARK_PROFILE} == 'spark3.1' ]]; then HUDI_SPARK_BUNDLE_NAME=hudi-spark3.1-bundle_2.12 HUDI_UTILITIES_BUNDLE_NAME=hudi-utilities-bundle_2.12