ci: provide qualified image tags for docker.io images

Unqualified container images are currently used for CI jobs. In the
future this is expected to change. By preparing the cache/mirror and
images in minikube with the qualified tags, transition to qualified
image names should become easier.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-11-23 17:50:10 +01:00 committed by mergify[bot]
parent 5fd567f354
commit a9557f36f3
3 changed files with 15 additions and 0 deletions

View File

@ -144,10 +144,15 @@ node('cico-workspace') {
}
// vault:latest and nginx:latest are used by the e2e tests
// Tag the images with qualified and unqualified names,
// so that moving to qualified names everywhere becomes
// possible.
podman_pull("docker.io", "vault:latest")
ssh "./podman2minikube.sh vault:latest"
ssh "./podman2minikube.sh docker.io/vault:latest"
podman_pull("docker.io", "nginx:latest")
ssh "./podman2minikube.sh nginx:latest"
ssh "./podman2minikube.sh docker.io/nginx:latest"
}
stage('deploy ceph-csi through helm') {
timeout(time: 30, unit: 'MINUTES') {

View File

@ -141,10 +141,15 @@ node('cico-workspace') {
}
// vault:latest and nginx:latest are used by the e2e tests
// Tag the images with qualified and unqualified names,
// so that moving to qualified names everywhere becomes
// possible.
podman_pull("docker.io", "vault:latest")
ssh "./podman2minikube.sh vault:latest"
ssh "./podman2minikube.sh docker.io/vault:latest"
podman_pull("docker.io", "nginx:latest")
ssh "./podman2minikube.sh nginx:latest"
ssh "./podman2minikube.sh docker.io/nginx:latest"
}
stage('run e2e') {
timeout(time: 120, unit: 'MINUTES') {

View File

@ -141,10 +141,15 @@ node('cico-workspace') {
}
// vault:latest and nginx:latest are used by the e2e tests
// Tag the images with qualified and unqualified names,
// so that moving to qualified names everywhere becomes
// possible.
podman_pull("docker.io", "vault:latest")
ssh "./podman2minikube.sh vault:latest"
ssh "./podman2minikube.sh docker.io/vault:latest"
podman_pull("docker.io", "nginx:latest")
ssh "./podman2minikube.sh nginx:latest"
ssh "./podman2minikube.sh docker.io/nginx:latest"
}
stage("run ${test_type} upgrade tests") {
timeout(time: 120, unit: 'MINUTES') {