[pipeline](ckb) trigger new ckb pipeline, even pr id also run (#21661)

* [pipeline](ckb) also trigger new ckb pipeline

* [pipeline](ckb) all pr run ckb pipeline

* change required

---------

Co-authored-by: stephen <hello-stephen@qq.com>
This commit is contained in:
Dongyang Li
2023-07-11 15:24:26 +08:00
committed by GitHub
parent b2c7a4575c
commit 4cbd99ad9b
3 changed files with 3 additions and 4 deletions

View File

@ -58,7 +58,7 @@ github:
- Build Documents
- BE UT (Clang)
- ShellCheck
- clickbench (benchmark)
- clickbench-new (clickbench)
- BE UT (macOS)
- Build Third Party Libraries (Linux)
- Build Third Party Libraries (macOS)

View File

@ -57,7 +57,7 @@ jobs:
echo "latest_commit_id : ${{ env.LATEST_COMMIT }}"
if [[ "${comment_message}" =~ "run" && "${comment_message}" =~ "buildall" && ! "${comment_message}" =~ "Thanks for your contribution" ]]; then
trigger_pipelines="Doris_Doris_FeUt Doris_DorisBeUt_BeUt Doris_DorisCompile_Compile Doris_Benchmark_Clickbench Doris_ArmPipeline_P0Regression ${trigger_pipelines}"
trigger_pipelines="Doris_Doris_FeUt Doris_DorisBeUt_BeUt Doris_DorisCompile_Compile Doris_Benchmark_Clickbench Doris_Performance_Clickbench_ClickbenchNew Doris_ArmPipeline_P0Regression ${trigger_pipelines}"
fi
if [[ "${comment_message}" =~ "run" && ( "${comment_message}" =~ "p0" || "${comment_message}" =~ "external" ) && ! "${comment_message}" =~ "Thanks for your contribution" ]]; then
trigger_pipelines="Doris_DorisRegression_P0Regression ${trigger_pipelines}"
@ -78,7 +78,7 @@ jobs:
trigger_pipelines="Doris_DorisCompile_Compile ${trigger_pipelines}"
fi
if [[ "${comment_message}" =~ "run" && "${comment_message}" =~ "clickbench" && ! "${comment_message}" =~ "Thanks for your contribution" ]]; then
trigger_pipelines="Doris_Benchmark_Clickbench ${trigger_pipelines}"
trigger_pipelines="Doris_Benchmark_Clickbench Doris_Performance_Clickbench_ClickbenchNew ${trigger_pipelines}"
fi
if [[ "${comment_message}" =~ "run" && "${comment_message}" =~ "arm" && ! "${comment_message}" =~ "Thanks for your contribution" ]]; then
trigger_pipelines="Doris_ArmPipeline_P0Regression ${trigger_pipelines}"

View File

@ -142,7 +142,6 @@ need_run_arm_regression_p0() {
}
need_run_ckb() {
if [[ $(($1 % 2)) -eq 0 ]]; then echo "the pull request id is even, return no need" && return 1; fi
if ! _get_pr_changed_files "$1"; then echo "get pr changed files failed, return need" && return 0; fi
for af in ${all_files}; do
if [[ "${af}" == 'be'* ]] ||