ci: pre-pull nginx and vault images from local registry

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-11-18 09:20:49 +01:00 committed by mergify[bot]
parent dd10e66a98
commit f36ef72a19
3 changed files with 18 additions and 0 deletions

View File

@ -131,6 +131,12 @@ node('cico-workspace') {
timeout(time: 30, unit: 'MINUTES') { timeout(time: 30, unit: 'MINUTES') {
ssh "./single-node-k8s.sh --k8s-version=${k8s_release}" ssh "./single-node-k8s.sh --k8s-version=${k8s_release}"
} }
// vault:latest and nginx:latest are used by the e2e tests
podman_pull("vault:latest")
ssh "./podman2minikube.sh vault:latest"
podman_pull("nginx:latest")
ssh "./podman2minikube.sh nginx:latest"
} }
stage('deploy ceph-csi through helm') { stage('deploy ceph-csi through helm') {
timeout(time: 30, unit: 'MINUTES') { timeout(time: 30, unit: 'MINUTES') {

View File

@ -128,6 +128,12 @@ node('cico-workspace') {
timeout(time: 30, unit: 'MINUTES') { timeout(time: 30, unit: 'MINUTES') {
ssh "./single-node-k8s.sh --k8s-version=${k8s_release}" ssh "./single-node-k8s.sh --k8s-version=${k8s_release}"
} }
// vault:latest and nginx:latest are used by the e2e tests
podman_pull("vault:latest")
ssh "./podman2minikube.sh vault:latest"
podman_pull("nginx:latest")
ssh "./podman2minikube.sh nginx:latest"
} }
stage('run e2e') { stage('run e2e') {
timeout(time: 120, unit: 'MINUTES') { timeout(time: 120, unit: 'MINUTES') {

View File

@ -128,6 +128,12 @@ node('cico-workspace') {
timeout(time: 30, unit: 'MINUTES') { timeout(time: 30, unit: 'MINUTES') {
ssh "./single-node-k8s.sh --k8s-version=${k8s_release}" ssh "./single-node-k8s.sh --k8s-version=${k8s_release}"
} }
// vault:latest and nginx:latest are used by the e2e tests
podman_pull("vault:latest")
ssh "./podman2minikube.sh vault:latest"
podman_pull("nginx:latest")
ssh "./podman2minikube.sh nginx:latest"
} }
stage("run ${test_type} upgrade tests") { stage("run ${test_type} upgrade tests") {
timeout(time: 120, unit: 'MINUTES') { timeout(time: 120, unit: 'MINUTES') {