From f090b2fe8648254c2f73ae4c22d5ce79123f0fbd Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Wed, 20 Jun 2018 09:52:27 -0700 Subject: [PATCH] upload bucket test tarball in integration test --- integration-test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration-test.sh b/integration-test.sh index 02dd4b688..8d2fe8e1b 100755 --- a/integration-test.sh +++ b/integration-test.sh @@ -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