Merge pull request #98 from priyawadhwa/kokoro

Run integration tests in kokoro
This commit is contained in:
priyawadhwa 2018-04-16 17:19:41 -07:00 committed by GitHub
commit 7a52ec1c34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -13,7 +13,16 @@
# limitations under the License.
#!/bin/bash
set -e
set -ex
if [ -f "$KOKORO_GFILE_DIR"/common.sh ]; then
echo "Installing dependencies..."
source "$KOKORO_GFILE_DIR/common.sh"
mkdir -p /usr/local/go/src/github.com/GoogleCloudPlatform/
cp -r github/kaniko /usr/local/go/src/github.com/GoogleCloudPlatform/
pushd /usr/local/go/src/github.com/GoogleCloudPlatform/kaniko
fi
echo "Running integration tests..."
make out/executor
go run integration_tests/integration_test_yaml.go | gcloud container builds submit --config /dev/fd/0 .