mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
[skip e2e] Add CI-Mode to separate nightly & pr (#14718)
Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
parent
25b00230c8
commit
35e3371556
@ -43,6 +43,7 @@ pipeline {
|
||||
DISABLE_KIND = true
|
||||
HUB = "registry.milvus.io/milvus"
|
||||
JENKINS_BUILD_ID = "${env.BUILD_ID}"
|
||||
CI_MODE="nightly"
|
||||
}
|
||||
|
||||
stages {
|
||||
|
@ -34,6 +34,7 @@ pipeline {
|
||||
DISABLE_KIND = true
|
||||
HUB = 'registry.milvus.io/milvus'
|
||||
JENKINS_BUILD_ID = "${env.BUILD_ID}"
|
||||
CI_MODE="pr"
|
||||
}
|
||||
|
||||
stages {
|
||||
|
@ -42,6 +42,16 @@ function milvus_ci_release_name(){
|
||||
name+="-${JENKINS_BUILD_ID}"
|
||||
fi
|
||||
|
||||
|
||||
if [[ "${CI_MODE:-}" == "nightly" ]]; then
|
||||
# Nightly CI
|
||||
name+="-n"
|
||||
else
|
||||
# Pull Request CI
|
||||
name+="-pr"
|
||||
|
||||
fi
|
||||
|
||||
export MILVUS_HELM_RELEASE_NAME=${name}
|
||||
echo ${name}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user