From 584568c8bc074982a2287c26d364acb063b7201e Mon Sep 17 00:00:00 2001 From: David Vossel Date: Wed, 6 Mar 2019 17:19:19 -0500 Subject: [PATCH] Make operator custom image functional test work with crio providers crio tooling in our prioviders doesn't support 'docker tag' so we have to push the same image to our local registry with the alternate tag Signed-off-by: David Vossel --- Makefile | 2 +- cluster/ephemeral-provider-common.sh | 9 +++------ hack/bazel-push-images.sh | 9 +++++++++ hack/config-default.sh | 1 + pkg/virt-operator/kubevirt.go | 2 +- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 3ae61acacee2..671bc8829f34 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ bazel-build: //cmd/..." bazel-push-images: - hack/dockerized "DOCKER_PREFIX=${DOCKER_PREFIX} DOCKER_TAG=${DOCKER_TAG} ./hack/bazel-push-images.sh" + hack/dockerized "DOCKER_PREFIX=${DOCKER_PREFIX} DOCKER_TAG=${DOCKER_TAG} DOCKER_TAG_ALT=${DOCKER_TAG_ALT} ./hack/bazel-push-images.sh" bazel-tests: hack/dockerized "bazel test --test_output=errors -- //pkg/... " diff --git a/cluster/ephemeral-provider-common.sh b/cluster/ephemeral-provider-common.sh index 96083d64a9f8..55a59bd2a5ba 100644 --- a/cluster/ephemeral-provider-common.sh +++ b/cluster/ephemeral-provider-common.sh @@ -19,7 +19,7 @@ function prepare_config() { cat >hack/config-provider-$KUBEVIRT_PROVIDER.sh <