From ddd10c32452dc7556cb2722623694a72c6b1583e Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Thu, 29 Apr 2021 12:37:27 +0530 Subject: [PATCH] ci: pull and push busybox image after installing minikube k8s-e2e-external-storage fails with error `./podman2minikube.sh: line 16: minikube: command not found`. This commit fixes it by starting minikube before calling ./podman2minikube.sh. Signed-off-by: Rakshith R --- k8s-e2e-external-storage.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/k8s-e2e-external-storage.groovy b/k8s-e2e-external-storage.groovy index 665abf7f5..d998cc177 100644 --- a/k8s-e2e-external-storage.groovy +++ b/k8s-e2e-external-storage.groovy @@ -153,13 +153,13 @@ node('cico-workspace') { podman_pull(ci_registry, "docker.io", rook_ceph_cluster_image - d_io_regex) } - // busy box is used in external storage testing - podman_pull(ci_registry, "docker.io", "library/busybox:1.29") - ssh "./podman2minikube.sh docker.io/library/busybox:1.29" - timeout(time: 30, unit: 'MINUTES') { ssh "./single-node-k8s.sh --k8s-version=${k8s_release}" } + + // busybox is used in external storage testing + podman_pull(ci_registry, "docker.io", "library/busybox:1.29") + ssh "./podman2minikube.sh docker.io/library/busybox:1.29" } stage('deploy ceph-csi through helm') { timeout(time: 30, unit: 'MINUTES') {