Fix up e2e test for update demo.

Use the scripts that are in the example directory.  Also actually run the update as part of the test.
This commit is contained in:
Joe Beda
2014-09-02 14:15:01 -07:00
parent c47b405841
commit ce34eacd2c
5 changed files with 63 additions and 44 deletions

View File

@@ -19,6 +19,9 @@ if [ -z "$DOCKER_HUB_USER" ] ; then
exit 1
fi
export KUBE_REPO_ROOT=${KUBE_REPO_ROOT-$(dirname $0)/../..}
export KUBECFG=${KUBECFG-$KUBE_REPO_ROOT/cluster/kubecfg.sh}
set -x
../../cluster/kubecfg.sh -p 8080:80 run $DOCKER_HUB_USER/update-demo:nautilus 2 update-demo
$KUBECFG -p 8080:80 run $DOCKER_HUB_USER/update-demo:nautilus 2 update-demo