This is an automated email from the ASF dual-hosted git repository.
gabriellee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 17004c4a299 [ci](pipeline) add pipelinex_p0 (#25638)
17004c4a299 is described below
commit 17004c4a299bb2e53a73c4b9c082c06bb606a512
Author: Dongyang Li <[email protected]>
AuthorDate: Mon Oct 23 10:01:08 2023 +0800
[ci](pipeline) add pipelinex_p0 (#25638)
Co-authored-by: stephen <[email protected]>
---
.github/workflows/auto_trigger_teamcity.yml | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/auto_trigger_teamcity.yml
b/.github/workflows/auto_trigger_teamcity.yml
index 5a2a561880f..feda4e2a5a1 100644
--- a/.github/workflows/auto_trigger_teamcity.yml
+++ b/.github/workflows/auto_trigger_teamcity.yml
@@ -25,12 +25,12 @@ on:
env:
PULL_REQUEST_NUM: $(echo "${{ github.event.issue.pull_request.url }}" | awk
-F/ '{print $NF}')
- LATEST_COMMIT: $(curl -H "Authorization:Bearer ${{ secrets.GITHUB_TOKEN }}"
"https://api.github.com/repos/${{ github.repository }}/pulls/$(echo '${{
github.event.issue.pull_request.url }}' | awk -F/ '{print $NF}')" >
pr_details.json && jq -r '.head.sha' pr_details.json)
+ LATEST_COMMIT: $(curl -s -H "Authorization:Bearer ${{ secrets.GITHUB_TOKEN
}}" "https://api.github.com/repos/${{ github.repository }}/pulls/$(echo '${{
github.event.issue.pull_request.url }}' | awk -F/ '{print $NF}')" >
pr_details.json && jq -r '.head.sha' pr_details.json)
TEAMCITY_URL: '-H \"Content-Type:text/plain\" -H \"Accept:
application/json\" -u OneMoreChance:OneMoreChance http://43.132.222.7:8111'
jobs:
run_teamcity_pipeline:
- if: (contains(github.event.comment.body, 'buildall') ||
contains(github.event.comment.body, 'p0') ||
contains(github.event.comment.body, 'nereids_p0') ||
contains(github.event.comment.body, 'p1') ||
contains(github.event.comment.body, 'feut') ||
contains(github.event.comment.body, 'beut') ||
contains(github.event.comment.body, 'compile') ||
contains(github.event.comment.body, 'clickbench') ||
contains(github.event.comment.body, 'arm') ||
contains(github.event.comment.body, 'external' [...]
+ if: (contains(github.event.comment.body, 'buildall') ||
contains(github.event.comment.body, 'p0') ||
contains(github.event.comment.body, 'pipelinex_p0') ||
contains(github.event.comment.body, 'p1') ||
contains(github.event.comment.body, 'feut') ||
contains(github.event.comment.body, 'beut') ||
contains(github.event.comment.body, 'compile') ||
contains(github.event.comment.body, 'clickbench') ||
contains(github.event.comment.body, 'arm') ||
contains(github.event.comment.body, 'externa [...]
runs-on: ubuntu-latest
@@ -56,14 +56,15 @@ jobs:
echo "encoded_string : ${encoded_string}"
echo "latest_commit_id : ${{ env.LATEST_COMMIT }}"
+ set -x
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_Performance_Clickbench_ClickbenchNew
Doris_ArmPipeline_P0Regression ${trigger_pipelines}"
+ trigger_pipelines="Doris_DorisRegression_P0RegressionPipelineX
Doris_Doris_FeUt Doris_DorisBeUt_BeUt Doris_DorisCompile_Compile
Doris_Performance_Clickbench_ClickbenchNew Doris_ArmPipeline_P0Regression
${trigger_pipelines}"
fi
- if [[ "${comment_message}" =~ "run" && "${comment_message}" =~ "p0"
&& ! "${comment_message}" =~ "Thanks for your contribution" ]]; then
+ if [[ "${comment_message}" =~ "run" && "${comment_message}" =~ " p0"
&& ! "${comment_message}" =~ "Thanks for your contribution" ]]; then
trigger_pipelines="Doris_DorisRegression_P0Regression
${trigger_pipelines}"
fi
- if [[ "${comment_message}" =~ "run" && "${comment_message}" =~
"nereids_p0" && ! "${comment_message}" =~ "Thanks for your contribution" ]];
then
- trigger_pipelines="Doris_DorisRegression_NereidsP0Regression
${trigger_pipelines}"
+ if [[ "${comment_message}" =~ "run" && "${comment_message}" =~ "
pipelinex_p0" && ! "${comment_message}" =~ "Thanks for your contribution" ]];
then
+ trigger_pipelines="Doris_DorisRegression_P0RegressionPipelineX
${trigger_pipelines}"
fi
if [[ "${comment_message}" =~ "run" && "${comment_message}" =~ "p1"
&& ! "${comment_message}" =~ "Thanks for your contribution" ]]; then
trigger_pipelines="Doris_DorisRegression_P1Regression
${trigger_pipelines}"
@@ -93,6 +94,7 @@ jobs:
if [ -z "${trigger_pipelines}" ];then
echo "Just a general comment that doesn't match any pipeline rules"
fi
+ set +x
echo "need run pipelines: ${trigger_pipelines}"
@@ -124,6 +126,8 @@ jobs:
echo "the same pr_commit build already exist, this build
${build} is running or in queue!"
same_build_sign="true"
break
+ else
+ same_build_sign="false"
fi
done
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]