diff --git a/.github/ci_script/triton-linalg-ci_script.sh b/.github/ci_script/triton-linalg-ci_script.sh index 3b62942..f0daf11 100644 --- a/.github/ci_script/triton-linalg-ci_script.sh +++ b/.github/ci_script/triton-linalg-ci_script.sh @@ -44,7 +44,7 @@ echo "working" > "$request_root/status" chmod o+w "$request_root/status" if [ ! -f "$request_root/log" ];then - touch "$request_root/log" + touch "$request_root/log" fi chmod o+w "$request_root/log" diff --git a/tools/ci/daily/triton-linalg_daliy.pipeline b/tools/ci/daily/triton-linalg_daliy.pipeline index 6ffdb4a..29affda 100644 --- a/tools/ci/daily/triton-linalg_daliy.pipeline +++ b/tools/ci/daily/triton-linalg_daliy.pipeline @@ -2,9 +2,9 @@ library "cambricon-pipe-lib@master" cnpipe { task('clone') { stage 'clone' - runOnCloud false node { - label "compiler_test_10.100.146.123" + labelSelector "cambricon.com/mm-daily":true + cardType 'MLU370' } container { networkPolicy "cncl-no-internnet-access" @@ -12,9 +12,12 @@ cnpipe { runArgs "--network=host --privileged -v /usr/bin/cnmon:/usr/bin/cnmon --device=/dev/cambricon_dev0:/dev/cambricon_dev0 --device=/dev/cambricon_ctl" } resReq { - reqMemory '40Gi' reqMlus 1 lmtMlus 1 + reqCpu 30 + lmtCpu 30 + reqMemory '40Gi' + lmtMemory '40Gi' } stage 'clone' script ''' @@ -32,9 +35,9 @@ cnpipe { } task('check_pr') { stage 'check_pr' - runOnCloud false node { - label "compiler_test_10.100.146.123" + labelSelector "cambricon.com/mm-daily":true + cardType 'MLU370' } container { networkPolicy "cncl-no-internnet-access" @@ -42,9 +45,12 @@ cnpipe { runArgs "--network=host --privileged -v /usr/bin/cnmon:/usr/bin/cnmon --device=/dev/cambricon_dev0:/dev/cambricon_dev0 --device=/dev/cambricon_ctl" } resReq { - reqMemory '40Gi' reqMlus 1 lmtMlus 1 + reqCpu 30 + lmtCpu 30 + reqMemory '40Gi' + lmtMemory '40Gi' } unstash 'triton-linalg-pr' script ''' @@ -60,9 +66,9 @@ cnpipe { } task('build') { stage 'build' - runOnCloud false node { - label "compiler_test_10.100.146.123" + labelSelector "cambricon.com/mm-daily":true + cardType 'MLU370' } container { networkPolicy "cncl-no-internnet-access" @@ -70,9 +76,12 @@ cnpipe { runArgs "--network=host --privileged -v /usr/bin/cnmon:/usr/bin/cnmon --device=/dev/cambricon_dev0:/dev/cambricon_dev0 --device=/dev/cambricon_ctl" } resReq { - reqMemory '40Gi' reqMlus 1 lmtMlus 1 + reqCpu 30 + lmtCpu 30 + reqMemory '40Gi' + lmtMemory '40Gi' } unstash 'triton-linalg-pr' script ''' @@ -89,9 +98,9 @@ cnpipe { } task('test') { stage 'test' - runOnCloud false node { - label "compiler_test_10.100.146.123" + labelSelector "cambricon.com/mm-daily":true + cardType 'MLU370' } container { networkPolicy "cncl-no-internnet-access" @@ -99,9 +108,12 @@ cnpipe { runArgs "--network=host --privileged -v /usr/bin/cnmon:/usr/bin/cnmon --device=/dev/cambricon_dev0:/dev/cambricon_dev0 --device=/dev/cambricon_ctl" } resReq { - reqMemory '40Gi' reqMlus 1 lmtMlus 1 + reqCpu 30 + lmtCpu 30 + reqMemory '40Gi' + lmtMemory '40Gi' } unstash 'triton-linalg-build' script '''