Merge pull request #211 from priyawadhwa/bucket

Upload bucket test tarball in integration test
This commit is contained in:
priyawadhwa 2018-06-21 13:03:28 -07:00 committed by GitHub
commit b7afaf7c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ if [ -f "$KOKORO_GFILE_DIR"/common.sh ]; then
cp $KOKORO_ROOT/src/keystore/72508_gcr_application_creds $HOME/.config/gcloud/application_default_credentials.json
fi
echo "Creating build context tarball..."
tar -C ./integration -zcvf context.tar.gz .
gsutil cp context.tar.gz gs://kaniko-test-bucket
rm context.tar.gz
echo "Running integration tests..."
make out/executor
pushd integration