From aaf92cd7b0370d34255acaad9b152adc30ed30b8 Mon Sep 17 00:00:00 2001 From: stephen Date: Tue, 19 Nov 2024 16:05:17 +0800 Subject: [PATCH] [chore](ci) adjust cloud_p0 regression-conf-custom.groovy --- regression-test/pipeline/cloud_p0/run.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/regression-test/pipeline/cloud_p0/run.sh b/regression-test/pipeline/cloud_p0/run.sh index a78377c95ee0173..43847f86980c2a0 100644 --- a/regression-test/pipeline/cloud_p0/run.sh +++ b/regression-test/pipeline/cloud_p0/run.sh @@ -34,6 +34,8 @@ if [[ -z "${teamcity_build_checkoutDir}" ]]; then echo "ERROR: env teamcity_buil if [[ -z "${pr_num_from_trigger}" ]]; then echo "ERROR: env pr_num_from_trigger not set" && exit 1; fi if [[ -z "${commit_id_from_trigger}" ]]; then echo "ERROR: env commit_id_from_trigger not set" && exit 1; fi if [[ -z "${s3SourceAk}" || -z "${s3SourceSk}" ]]; then echo "ERROR: env s3SourceAk or s3SourceSk not set" && exit 1; fi +if [[ -z "${hwYunAk}" || -z "${hwYunSk}" ]]; then echo "WARNING: env hwYunAk or hwYunSk not set"; fi +if [[ -z "${txYunAk}" || -z "${txYunSk}" ]]; then echo "WARNING: env txYunAk or txYunSk not set"; fi # shellcheck source=/dev/null source "$(bash "${teamcity_build_checkoutDir}"/regression-test/pipeline/common/get-or-set-tmp-env.sh 'get')" @@ -55,6 +57,10 @@ run() { echo # add a new line to prevent two config items from being combined, which will cause the error "No signature of method" echo "ak='${s3SourceAk}'" echo "sk='${s3SourceSk}'" + echo "hwYunAk='${hwYunAk:-}'" + echo "hwYunSk='${hwYunSk:-}'" + echo "txYunAk='${txYunAk:-}'" + echo "txYunSk='${txYunSk:-}'" } >>"${teamcity_build_checkoutDir}"/regression-test/pipeline/cloud_p0/conf/regression-conf-custom.groovy cp -f "${teamcity_build_checkoutDir}"/regression-test/pipeline/cloud_p0/conf/regression-conf-custom.groovy \ "${teamcity_build_checkoutDir}"/regression-test/conf/