Skip to content

Commit

Permalink
Support $TAG and $ISTIOCTL_BIN overide in e2e tests (istio#9232)
Browse files Browse the repository at this point in the history
  • Loading branch information
hklai authored and istio-testing committed Oct 9, 2018
1 parent b8ac13e commit 229583e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prow/e2e-suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if [ "${CI:-}" == 'bootstrap' ]; then
fi

export HUB=${HUB:-"gcr.io/istio-testing"}
export TAG="${GIT_SHA}"
export TAG="${TAG:-${GIT_SHA}}"

make init

Expand Down
4 changes: 3 additions & 1 deletion tests/istio.mk
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ E2E_TIMEOUT ?= 25
# If set outside, it appears it is not possible to modify the variable.
E2E_ARGS ?=

ISTIOCTL_BIN ?= ${ISTIO_OUT}/istioctl

DEFAULT_EXTRA_E2E_ARGS = ${MINIKUBE_FLAGS}
DEFAULT_EXTRA_E2E_ARGS += --istioctl=${ISTIO_OUT}/istioctl
DEFAULT_EXTRA_E2E_ARGS += --istioctl=${ISTIOCTL_BIN}
DEFAULT_EXTRA_E2E_ARGS += --mixer_tag=${TAG}
DEFAULT_EXTRA_E2E_ARGS += --pilot_tag=${TAG}
DEFAULT_EXTRA_E2E_ARGS += --proxy_tag=${TAG}
Expand Down

0 comments on commit 229583e

Please sign in to comment.