geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smgol...@apache.org
Subject [geode] branch develop updated: Echo out pre and post hashing name for instances. (#2721)
Date Thu, 25 Oct 2018 21:15:21 GMT
This is an automated email from the ASF dual-hosted git repository.

smgoller pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new a9ab267  Echo out pre and post hashing name for instances. (#2721)
a9ab267 is described below

commit a9ab26737c549d7dfa22491ec86a8a336ef2f254
Author: Sean Goller <sean@goller.net>
AuthorDate: Thu Oct 25 14:15:11 2018 -0700

    Echo out pre and post hashing name for instances. (#2721)
    
    Co-authored-by: Sean Goller <sgoller@pivotal.io>
    Co-authored-by: Dick Cavender <dcavender@pivotal.io>
---
 ci/scripts/create_instance.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ci/scripts/create_instance.sh b/ci/scripts/create_instance.sh
index 8c69944..169fbde 100755
--- a/ci/scripts/create_instance.sh
+++ b/ci/scripts/create_instance.sh
@@ -63,8 +63,9 @@ if [[ "${SANITIZED_BUILD_JOB_NAME}" =~ [Ww]indows ]]; then
 fi
 
 ZONE=us-central1-f
-
-INSTANCE_NAME="heavy-lifter-$(uuidgen -n @dns -s -N "${WINDOWS_PREFIX}${SANITIZED_GEODE_FORK}-${SANITIZED_GEODE_BRANCH}-${SANITIZED_BUILD_PIPELINE_NAME}-${SANITIZED_BUILD_JOB_NAME}-${SANITIZED_BUILD_NAME}")"
+INSTANCE_NAME_STRING="${WINDOWS_PREFIX}${GEODE_FORK}-${GEODE_BRANCH}-${BUILD_PIPELINE_NAME}-${BUILD_JOB_NAME}-${BUILD_NAME}"
+INSTANCE_NAME="heavy-lifter-$(uuidgen -n @dns -s -N "${INSTANCE_NAME_STRING})"
+echo "Hashed ${INSTANCE_NAME_STRING} into ${INSTANCE_NAME}"
 
 MY_NAME=$(curl -s "http://metadata.google.internal/computeMetadata/v1/instance/name" -H "Metadata-Flavor:
Google")
 MY_ZONE=$(curl -s "http://metadata.google.internal/computeMetadata/v1/instance/zone" -H "Metadata-Flavor:
Google")


Mime
View raw message