Skip to content

Commit

Permalink
Test infra - Fixed the batch Prow tests (kubeflow#1958)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun authored and ajchili committed Aug 28, 2019
1 parent 735d5cd commit ec27f1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/presubmit-tests-with-pipeline-deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ while [ "$1" != "" ]; do
shift
done

# PULL_PULL_SHA is empty whne Pros/Tide tests the batches.
# PULL_BASE_SHA cannot be used here as it still points to master tip in that case.
if [ -z "${PULL_PULL_SHA:-''}" ]; then
PULL_PULL_SHA=$(git rev-parse HEAD)
fi

# Variables
GCR_IMAGE_BASE_DIR=gcr.io/${PROJECT}/${PULL_PULL_SHA}
TEST_RESULTS_GCS_DIR=gs://${TEST_RESULT_BUCKET}/${PULL_PULL_SHA}/${TEST_RESULT_FOLDER}
Expand Down

0 comments on commit ec27f1b

Please sign in to comment.