From a16ceaef0ccbda2798300d8540a2ec528092be03 Mon Sep 17 00:00:00 2001 From: hui luo Date: Mon, 25 Feb 2019 18:49:42 -0800 Subject: [PATCH] add exec bit to integration shell (#774) since we are not publish any container images, just use kind to load image from local, so define container repo to a default arbitrary name. --- scripts/ci-integration.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 scripts/ci-integration.sh diff --git a/scripts/ci-integration.sh b/scripts/ci-integration.sh old mode 100644 new mode 100755 index 00f2ce821754..15c665ebc697 --- a/scripts/ci-integration.sh +++ b/scripts/ci-integration.sh @@ -23,6 +23,8 @@ KUSTOMIZE="kustomize" KUBECTL="kubectl" CRD_YAML="crd.yaml" BOOTSTRAP_CLUSTER_NAME="clusterapi-bootstrap" +CONTROLLER_REPO="controller-ci" # use arbitrary repo name since we don't need to publish it +EXAMPLE_PROVIDER_REPO="example-provider-ci" install_kustomize() { go get sigs.k8s.io/kustomize @@ -36,8 +38,8 @@ install_kubectl() { build_containers() { VERSION=$(git describe --exact-match 2> /dev/null || git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8) - CONTROLLER_IMG="${CLUSTER_API_CONTROLLER_REPO}:${VERSION}" - EXAMPLE_PROVIDER_IMG="${CLUSTER_API_PROVIDER_CONTROLLER_REPO}:${VERSION}" + CONTROLLER_IMG="${CONTROLLER_REPO}:${VERSION}" + EXAMPLE_PROVIDER_IMG="${EXAMPLE_PROVIDER_REPO}:${VERSION}" export CONTROLLER_IMG="${CONTROLLER_IMG}" export EXAMPLE_PROVIDER_IMG="${EXAMPLE_PROVIDER_IMG}"