未验证 提交 50b4e5ee 编写于 作者: Z Zhang Zheng 提交者: GitHub

Update recommended members of CI-OP-Benchmark (#43606)

* Update recommended members of CI-OP-Benchmark, test=document_fix

* update, test=document_fix
上级 de992400
...@@ -3150,11 +3150,11 @@ function collect_ccache_hits() { ...@@ -3150,11 +3150,11 @@ function collect_ccache_hits() {
function test_op_benchmark() { function test_op_benchmark() {
# The PR will pass quickly when get approval from specific person. # The PR will pass quickly when get approval from specific person.
# Xreki 12538138, luotao1 6836917, ZzSean 32410583 # Xreki 12538138, luotao1 6836917, ZzSean 32410583, JamesLim-sy 61349199
set +x set +x
approval_line=$(curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/Paddle/pulls/${GIT_PR_ID}/reviews?per_page=10000) approval_line=$(curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/Paddle/pulls/${GIT_PR_ID}/reviews?per_page=10000)
if [ "${approval_line}" != "" ]; then if [ "${approval_line}" != "" ]; then
APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 32410583 12538138 6836917) APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 32410583 12538138 6836917 61349199)
echo "current pr ${GIT_PR_ID} got approvals: ${APPROVALS}" echo "current pr ${GIT_PR_ID} got approvals: ${APPROVALS}"
if [ "${APPROVALS}" == "TRUE" ]; then if [ "${APPROVALS}" == "TRUE" ]; then
echo "===================================" echo "==================================="
......
...@@ -266,7 +266,7 @@ function check_CHANGE_OP_MAP { ...@@ -266,7 +266,7 @@ function check_CHANGE_OP_MAP {
done done
if [ $exit_code -ne 0 ]; then if [ $exit_code -ne 0 ]; then
LOG "[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details." LOG "[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details."
LOG "[INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR." LOG "[INFO] Or you can apply for one RD (ZzSean(Recommend), JamesLim-sy, Xreki, luotao1) approval to pass this PR."
exit ${exit_code} exit ${exit_code}
fi fi
} }
...@@ -305,11 +305,11 @@ function gpu_op_benchmark { ...@@ -305,11 +305,11 @@ function gpu_op_benchmark {
# The PR will pass quickly when get approval from specific person. # The PR will pass quickly when get approval from specific person.
# Xreki 12538138, luotao1 6836917, ZzSean 32410583 # Xreki 12538138, luotao1 6836917, ZzSean 32410583, JamesLim-sy 61349199
set +x set +x
approval_line=$(curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/Paddle/pulls/${GIT_PR_ID}/reviews?per_page=10000) approval_line=$(curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/Paddle/pulls/${GIT_PR_ID}/reviews?per_page=10000)
if [ -n "${approval_line}" ]; then if [ -n "${approval_line}" ]; then
APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 32410583 12538138 6836917) APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 32410583 12538138 6836917 61349199)
LOG "[INFO] current pr ${GIT_PR_ID} got approvals: ${APPROVALS}" LOG "[INFO] current pr ${GIT_PR_ID} got approvals: ${APPROVALS}"
if [ "${APPROVALS}" == "TRUE" ]; then if [ "${APPROVALS}" == "TRUE" ]; then
LOG "[INFO] ===================================" LOG "[INFO] ==================================="
......
...@@ -273,7 +273,7 @@ function check_CHANGE_OP_MAP { ...@@ -273,7 +273,7 @@ function check_CHANGE_OP_MAP {
done done
if [ $exit_code -ne 0 ]; then if [ $exit_code -ne 0 ]; then
LOG "[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details." LOG "[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details."
LOG "[INFO] Or you can apply for one RD (ZzSean(Recommend), Xreki, luotao1) approval to pass this PR." LOG "[INFO] Or you can apply for one RD (ZzSean(Recommend), JamesLim-sy, Xreki, luotao1) approval to pass this PR."
exit $exit_code exit $exit_code
fi fi
} }
...@@ -317,11 +317,11 @@ function gpu_op_benchmark { ...@@ -317,11 +317,11 @@ function gpu_op_benchmark {
} }
# The PR will pass quickly when get approval from specific person. # The PR will pass quickly when get approval from specific person.
# Xreki 12538138, luotao1 6836917, ZzSean 32410583 # Xreki 12538138, luotao1 6836917, ZzSean 32410583, JamesLim-sy 61349199
set +x set +x
approval_line=$(curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/Paddle/pulls/${GIT_PR_ID}/reviews?per_page=10000) approval_line=$(curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/Paddle/pulls/${GIT_PR_ID}/reviews?per_page=10000)
if [ -n "${approval_line}" ]; then if [ -n "${approval_line}" ]; then
APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 32410583 12538138 6836917) APPROVALS=$(echo ${approval_line} | python ${PADDLE_ROOT}/tools/check_pr_approval.py 1 32410583 12538138 6836917 61349199)
LOG "[INFO] current pr ${GIT_PR_ID} got approvals: ${APPROVALS}" LOG "[INFO] current pr ${GIT_PR_ID} got approvals: ${APPROVALS}"
if [ "${APPROVALS}" == "TRUE" ]; then if [ "${APPROVALS}" == "TRUE" ]; then
LOG "[INFO] ===================================" LOG "[INFO] ==================================="
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册