Skip to content

Commit 433c4e8

Browse files
committed
[fix](ci) rm some infos
1 parent 886b0bb commit 433c4e8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

regression-test/pipeline/common/doris-utils.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,17 +674,19 @@ archive_doris_logs() {
674674
(
675675
cd "${DORIS_HOME}" || return 1
676676
cp --parents -rf "fe/conf" "${archive_dir}"/
677+
if sed -i "s/${hwYunAk:-}//g;s/${hwYunSk:-}//g;s/${s3SourceAk:-}//g;s/${s3SourceSk:-}//g;s/${txYunAk:-}//g;s/${txYunSk:-}//g" fe/log/* &>/dev/null; then :; fi
677678
cp --parents -rf "fe/log" "${archive_dir}"/
678679
cp --parents -rf "be/conf" "${archive_dir}"/
680+
if sed -i "s/${hwYunAk:-}//g;s/${hwYunSk:-}//g;s/${s3SourceAk:-}//g;s/${s3SourceSk:-}//g;s/${txYunAk:-}//g;s/${txYunSk:-}//g" be/log/* &>/dev/null; then :; fi
679681
cp --parents -rf "be/log" "${archive_dir}"/
680682
if [[ -d "${DORIS_HOME}"/regression-test/log ]]; then
681683
# try to hide ak and sk
682-
if sed -i "s/${cos_ak:-}//g;s/${cos_sk:-}//g" regression-test/log/* &>/dev/null; then :; fi
684+
if sed -i "s/${hwYunAk:-}//g;s/${hwYunSk:-}//g;s/${s3SourceAk:-}//g;s/${s3SourceSk:-}//g;s/${txYunAk:-}//g;s/${txYunSk:-}//g" regression-test/log/* &>/dev/null; then :; fi
683685
cp --parents -rf "regression-test/log" "${archive_dir}"/
684686
fi
685687
if [[ -d "${DORIS_HOME}"/../regression-test/conf ]]; then
686688
# try to hide ak and sk
687-
if sed -i "s/${cos_ak:-}//g;s/${cos_sk:-}//g" ../regression-test/conf/* &>/dev/null; then :; fi
689+
if sed -i "s/${hwYunAk:-}//g;s/${hwYunSk:-}//g;s/${s3SourceAk:-}//g;s/${s3SourceSk:-}//g;s/${txYunAk:-}//g;s/${txYunSk:-}//g" ../regression-test/conf/* &>/dev/null; then :; fi
688690
mkdir -p "${archive_dir}"/regression-test/conf
689691
cp -rf ../regression-test/conf/* "${archive_dir}"/regression-test/conf/
690692
fi

0 commit comments

Comments
 (0)