Use circleci build number instead of git hash, as we can have multiple builds for a given hash.
This commit is contained in:
1 parent
5094e84af3
commit
8d1b161d4f
1 file changed
+2
-2
+2
-2
@@ -14,8 +14,8 @@ TEMPLATE_NAME="test-template"
|
|||||||
ZONE=us-central1-a
|
ZONE=us-central1-a
|
||||||
NUM_HOSTS=2
|
NUM_HOSTS=2
|
||||||
SUFFIX=""
|
SUFFIX=""
|
||||||
if [ -n "$CIRCLECI" -a -n "$CIRCLE_SHA1" ]; then
|
if [ -n "$CIRCLECI" ]; then
|
||||||
SUFFIX="-${CIRCLE_SHA1:0:7}"
|
SUFFIX="-${CIRCLE_BUILD_NUM}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup authentication
|
# Setup authentication
|
||||||
|
|||||||
Reference in new issue
Block a user