mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
ci: pass Kubernetes version as parameter to mini-e2e job
Move the mini-e2e job into a template-job and generate two jobs out of it: mini-e2e/k8s-1.17.8 and mini-e2e/k8s-1.18.5 By passing the k8s_version as variable to the job-template, and placing it in the parameters for the mini-e2e.groovy script, all hard-coded occurences of the Kubernetes version can be replaced by the {k8s_version} placeholder. See-also: https://jenkins-job-builder.readthedocs.io/en/latest/definition.html#job-template Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
8fbeefa989
commit
1de6b0bba2
@ -46,9 +46,9 @@ node('cico-workspace') {
|
||||
// build e2e.test executable
|
||||
ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && make containerized-build CONTAINER_CMD=podman TARGET=e2e.test'
|
||||
}
|
||||
stage('deploy k8s v1.18.3 and rook') {
|
||||
stage('deploy k8s v{k8s_version} and rook') {
|
||||
timeout(time: 30, unit: 'MINUTES') {
|
||||
ssh './single-node-k8s.sh --k8s-version=v1.18.3'
|
||||
ssh './single-node-k8s.sh --k8s-version=v${k8s_version}'
|
||||
}
|
||||
}
|
||||
stage('run e2e') {
|
||||
|
Reference in New Issue
Block a user