ci: use quay.io for ceph image

ceph image is using quay.io not
the docker.io, This commit updates
the same in CI.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2024-07-29 09:47:25 +02:00
committed by mergify[bot]
parent 96a8831e6c
commit 9466bc3542
5 changed files with 15 additions and 15 deletions

View File

@ -138,7 +138,7 @@ node('cico-workspace') {
podman_login(ci_registry, '$CREDS_USER', '$CREDS_PASSWD')
}
// base_image is like ceph/ceph:v15 or docker.io/ceph/ceph:v15, strip "docker.io/"
// base_image is like quay.io/ceph/ceph:v19, strip "quay.io/"
podman_pull(ci_registry, "quay.io", "${base_image}" - q_io_regex)
// cephcsi:devel is used with 'make containerized-build'
podman_pull(ci_registry, ci_registry, "ceph-csi:devel")
@ -164,11 +164,11 @@ node('cico-workspace') {
script: 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${CICO_NODE} \'source /opt/build/go/src/github.com/ceph/ceph-csi/build.env && echo ${ROOK_CEPH_CLUSTER_IMAGE}\'',
returnStdout: true
).trim()
def d_io_regex = ~"^docker.io/"
def q_io_regex = ~"^quay.io/"
if (rook_ceph_cluster_image != '') {
// single-node-k8s.sh pushes the image into minikube
podman_pull(ci_registry, "docker.io", rook_ceph_cluster_image - d_io_regex)
podman_pull(ci_registry, "quay.io", rook_ceph_cluster_image - q_io_regex)
}
timeout(time: 30, unit: 'MINUTES') {