Skip to content

Commit

Permalink
add exec bit to integration shell (kubernetes-sigs#774)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
figo authored and k8s-ci-robot committed Feb 26, 2019
1 parent 6078048 commit a16ceae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/ci-integration.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}"

Expand Down

0 comments on commit a16ceae

Please sign in to comment.