mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +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
|
DISABLE_KIND = true
|
||||||
HUB = "registry.milvus.io/milvus"
|
HUB = "registry.milvus.io/milvus"
|
||||||
JENKINS_BUILD_ID = "${env.BUILD_ID}"
|
JENKINS_BUILD_ID = "${env.BUILD_ID}"
|
||||||
|
CI_MODE="nightly"
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|||||||
@ -34,6 +34,7 @@ pipeline {
|
|||||||
DISABLE_KIND = true
|
DISABLE_KIND = true
|
||||||
HUB = 'registry.milvus.io/milvus'
|
HUB = 'registry.milvus.io/milvus'
|
||||||
JENKINS_BUILD_ID = "${env.BUILD_ID}"
|
JENKINS_BUILD_ID = "${env.BUILD_ID}"
|
||||||
|
CI_MODE="pr"
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|||||||
@ -42,6 +42,16 @@ function milvus_ci_release_name(){
|
|||||||
name+="-${JENKINS_BUILD_ID}"
|
name+="-${JENKINS_BUILD_ID}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [[ "${CI_MODE:-}" == "nightly" ]]; then
|
||||||
|
# Nightly CI
|
||||||
|
name+="-n"
|
||||||
|
else
|
||||||
|
# Pull Request CI
|
||||||
|
name+="-pr"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
export MILVUS_HELM_RELEASE_NAME=${name}
|
export MILVUS_HELM_RELEASE_NAME=${name}
|
||||||
echo ${name}
|
echo ${name}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user