upload bucket test tarball in integration test

This commit is contained in:
Priya Wadhwa 2018-06-20 09:52:27 -07:00
parent 4f4dda0563
commit f090b2fe86
No known key found for this signature in database
GPG Key ID: 0D0DAFD8F7AA73AE
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