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 {
|
||||
|
@ -36,12 +36,22 @@ function milvus_ci_release_name(){
|
||||
name+="-${CHANGE_ID:-}"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Add Jenkins BUILD_ID into Name
|
||||
if [[ -n ${JENKINS_BUILD_ID:-} ]]; then
|
||||
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