Plumbing for releases stolen straight from weave.

This commit is contained in:
Tom Wilkie
2015-06-01 15:17:32 +00:00
parent 4d745eea3e
commit 2d430895e3
5 changed files with 213 additions and 4 deletions
+8 -1
View File
@@ -9,7 +9,14 @@ usage() {
exit 1
}
SCOPE_IMAGE=weaveworks/scope
SCRIPT_VERSION="(unreleased version)"
if [ "$SCRIPT_VERSION" = "(unreleased version)" ] ; then
IMAGE_VERSION=latest
else
IMAGE_VERSION=$SCRIPT_VERSION
fi
IMAGE_VERSION=${VERSION:-$IMAGE_VERSION}
SCOPE_IMAGE=weaveworks/scope:$IMAGE_VERSION
CONTAINER_NAME=weavescope
DNS_CONTAINER_NAME=weavedns
DNS_HTTP_PORT=6785