Skip to content

Commit

Permalink
[ci](perf) fix conf
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-stephen committed Dec 24, 2024
1 parent 4fb8403 commit ceb0b1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions regression-test/pipeline/performance/run-clickbench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ exit_flag=0
cp -f "${teamcity_build_checkoutDir}"/regression-test/pipeline/performance/clickbench/conf/fe_custom.conf "${DORIS_HOME}"/fe/conf/
cp -f "${teamcity_build_checkoutDir}"/regression-test/pipeline/performance/clickbench/conf/be_custom.conf "${DORIS_HOME}"/be/conf/
target_branch="$(echo "${target_branch}" | sed 's| ||g;s|\.||g;s|-||g')" # remove space、dot、hyphen from branch name
if [[ "${target_branch}" == "branch30" ]]; then
# branch-3.0 also use master data
target_branch="master"
fi
sed -i "s|^meta_dir=/data/doris-meta-\${branch_name}|meta_dir=/data/doris-meta-${target_branch}|g" "${DORIS_HOME}"/fe/conf/fe_custom.conf
sed -i "s|^storage_root_path=/data/doris-storage-\${branch_name}|storage_root_path=/data/doris-storage-${target_branch}|g" "${DORIS_HOME}"/be/conf/be_custom.conf
if ! restart_doris; then echo "ERROR: Restart doris failed" && exit 1; fi
Expand Down
4 changes: 4 additions & 0 deletions regression-test/pipeline/performance/run-load.sh
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,10 @@ exit_flag=0
cp -f "${teamcity_build_checkoutDir}"/regression-test/pipeline/performance/conf/fe_custom.conf "${DORIS_HOME}"/fe/conf/
cp -f "${teamcity_build_checkoutDir}"/regression-test/pipeline/performance/conf/be_custom.conf "${DORIS_HOME}"/be/conf/
target_branch="$(echo "${target_branch}" | sed 's| ||g;s|\.||g;s|-||g')" # remove space、dot、hyphen from branch name
if [[ "${target_branch}" == "branch30" ]]; then
# branch-3.0 also use master data
target_branch="master"
fi
sed -i "s|^meta_dir=/data/doris-meta-\${branch_name}|meta_dir=/data/doris-meta-${target_branch}|g" "${DORIS_HOME}"/fe/conf/fe_custom.conf
sed -i "s|^storage_root_path=/data/doris-storage-\${branch_name}|storage_root_path=/data/doris-storage-${target_branch}|g" "${DORIS_HOME}"/be/conf/be_custom.conf
if ! restart_doris; then echo "ERROR: Restart doris failed" && exit 1; fi
Expand Down

0 comments on commit ceb0b1d

Please sign in to comment.