Skip to content

Commit e73c2ce

Browse files
committed
Use staging registry for canary tests
1 parent 60e1cd3 commit e73c2ce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

prow.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ configvar CSI_PROW_DRIVER_INSTALL "install_csi_driver" "name of the shell functi
211211
# still use that name.
212212
configvar CSI_PROW_DRIVER_CANARY "${CSI_PROW_HOSTPATH_CANARY}" "driver image override for canary images"
213213

214+
# Image registry to use for canary images.
215+
# Only valid if CSI_PROW_DRIVER_CANARY is set.
216+
configvar CSI_PROW_DRIVER_CANARY_REGISTRY "gcr.io/k8s-staging-sig-storage" "registry for canary images"
217+
214218
# The E2E testing can come from an arbitrary repo. The expectation is that
215219
# the repo supports "go test ./test/e2e -args --storage.testdriver" (https://github.com/kubernetes/kubernetes/pull/72836)
216220
# after setting KUBECONFIG. As a special case, if the repository is Kubernetes,
@@ -693,7 +697,7 @@ install_csi_driver () {
693697
fi
694698

695699
if [ "${CSI_PROW_DRIVER_CANARY}" != "stable" ]; then
696-
images="$images IMAGE_TAG=${CSI_PROW_DRIVER_CANARY}"
700+
images="$images IMAGE_TAG=${CSI_PROW_DRIVER_CANARY} IMAGE_REGISTRY=${CSI_PROW_DRIVER_CANARY_REGISTRY}"
697701
fi
698702
# Ignore: Double quote to prevent globbing and word splitting.
699703
# It's intentional here for $images.

0 commit comments

Comments
 (0)