Fixing references to federated-context and federation-e2e

This commit is contained in:
nikhiljindal
2016-06-13 11:20:55 -07:00
parent 18425172e5
commit 9b2b763ab0
7 changed files with 16 additions and 9 deletions

View File

@@ -40,9 +40,13 @@ if [[ "${FEDERATION:-}" == "true" ]];then
test-setup
)
done
if [[ -f "${KUBE_ROOT}/federation/manifests/federated-image.tag" ]];then
export FEDERATION_IMAGE_TAG="$(cat "${KUBE_ROOT}/federation/manifests/federated-image.tag")"
tagfile="${KUBE_ROOT}/federation/manifests/federated-image.tag"
if [[ ! -f "$tagfile" ]]; then
echo "FATAL: tagfile ${tagfile} does not exist. Make sure that you have run build/push-federation-images.sh"
exit 1
fi
export FEDERATION_IMAGE_TAG="$(cat "${KUBE_ROOT}/federation/manifests/federated-image.tag")"
"${KUBE_ROOT}/federation/cluster/federation-up.sh"
else
test-setup