[skip ci] Limit the number of pytest process for nightly ci (#11364)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/11373/head
edward.zeng 2021-11-06 16:19:44 +08:00 committed by GitHub
parent 82c199227c
commit 2e94080afb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 12 deletions

View File

@ -3,18 +3,8 @@
// When scheduling a job that gets automatically triggered by changes,
// you need to include a [cronjob] tag within the commit message.
String cron_timezone = "TZ=Asia/Shanghai"
// String cron_string = BRANCH_NAME == "master" ? "50 22 * * * " : ""
String cron_string = ""
String cron_string = BRANCH_NAME == "master" ? "50 22 * * * " : ""
// Trigger nightly ci for 2.0.0-rc8 branch temporarily
switch(BRANCH_NAME) {
case "master":
cron_string = "50 22 * * *"
break
case "2.0.0-rc8":
cron_string = "50 23 * * *"
break
}
int total_timeout_minutes = 660
@ -90,7 +80,7 @@ pipeline {
--install-extra-arg "--set etcd.enabled=false --set externalEtcd.enabled=true --set externalEtcd.endpoints={\$KRTE_POD_IP:2379}" \
--skip-export-logs \
--skip-cleanup \
--test-extra-arg "--tags L0 L1 L2 --repeat-scope=session" \
--test-extra-arg "-n 4 --tags L0 L1 L2 --repeat-scope=session" \
--test-timeout ${e2e_timeout_seconds}
"""
} else {