validate scripts in container

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2016-01-24 11:52:16 +01:00
parent 5e024e079d
commit c2b6a42855
10 changed files with 123 additions and 23 deletions

View File

@@ -1,18 +0,0 @@
#!/bin/sh
# TODO(runcom): we need docker somehow in container to push/pull to registries
#command -v docker >/dev/null 2>&1 || { echo >&2 "Docker is required but it's not installed. Aborting."; exit 1; }
# TODO(runcom): this can be done also with ensure-frozen-images - see docker/docker
#docker pull busybox:latest >/dev/null 2>&1 || { echo >&2 "docker pull busybox:latest failed. Aborting." exit 1; }
make binary
make install-binary
export GO15VENDOREXPERIMENT=1
echo ""
echo ""
echo "Testing..."
echo ""
cd integration/ && go test -test.timeout=10m -check.v