From 03ee72aeb9540243786cdf983c82c982ca84f698 Mon Sep 17 00:00:00 2001 From: IronPan Date: Tue, 19 Mar 2019 11:03:24 -0700 Subject: [PATCH 1/2] fix cluster name --- test/deploy-kubeflow.sh | 2 +- test/test-prep.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/deploy-kubeflow.sh b/test/deploy-kubeflow.sh index 6af626e3509..37479623767 100755 --- a/test/deploy-kubeflow.sh +++ b/test/deploy-kubeflow.sh @@ -17,7 +17,7 @@ set -ex TEST_CLUSTER_PREFIX=${WORKFLOW_FILE%.*} -TEST_CLUSTER=$(echo $TEST_CLUSTER_PREFIX | cut -d _ -f 1)-${PULL_BASE_SHA:0:7}-${RANDOM} +TEST_CLUSTER=$(echo $TEST_CLUSTER_PREFIX | cut -d _ -f 1)-${PULL_PULL_SHA:0:7}-${RANDOM} # Install ksonnet KS_VERSION="0.13.0" diff --git a/test/test-prep.sh b/test/test-prep.sh index 7e4e243b06d..fc34ddf0b0b 100644 --- a/test/test-prep.sh +++ b/test/test-prep.sh @@ -24,7 +24,7 @@ gcloud config set core/project ${PROJECT} #Uploading the source code to GCS: local_code_archive_file=$(mktemp) date_string=$(TZ=PST8PDT date +%Y-%m-%d_%H-%M-%S_%Z) -code_archive_prefix="gs://${TEST_RESULT_BUCKET}/${PULL_BASE_SHA}/source_code" +code_archive_prefix="gs://${TEST_RESULT_BUCKET}/${PULL_PULL_SHA}/source_code" remote_code_archive_uri="${code_archive_prefix}_${PULL_BASE_SHA}_${date_string}.tar.gz" tar -czf "$local_code_archive_file" . From bf604d8690e7c54a23b5482f39e52997fd105fd1 Mon Sep 17 00:00:00 2001 From: IronPan Date: Tue, 19 Mar 2019 14:57:16 -0700 Subject: [PATCH 2/2] Update deploy-kubeflow.sh --- test/deploy-kubeflow.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/deploy-kubeflow.sh b/test/deploy-kubeflow.sh index 37479623767..92c11e6066a 100755 --- a/test/deploy-kubeflow.sh +++ b/test/deploy-kubeflow.sh @@ -18,6 +18,7 @@ set -ex TEST_CLUSTER_PREFIX=${WORKFLOW_FILE%.*} TEST_CLUSTER=$(echo $TEST_CLUSTER_PREFIX | cut -d _ -f 1)-${PULL_PULL_SHA:0:7}-${RANDOM} + # Install ksonnet KS_VERSION="0.13.0"