18 lines
553 B
Bash
Executable File
18 lines
553 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail -x
|
|
|
|
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
|
|
|
docker build --iidfile $iidfile --target integration-tests -f ./hack/dockerfiles/test.Dockerfile --force-rm .
|
|
|
|
iid=$(cat $iidfile)
|
|
|
|
docker run --rm -v /tmp --privileged $iid go test ${TESTFLAGS:--v} ${TESTPKGS:-./...}
|
|
|
|
docker run --rm $iid go build ./frontend/gateway/client
|
|
docker run --rm $iid go build ./frontend/dockerfile/cmd/dockerfile-frontend
|
|
docker run --rm $iid go build -tags dfrunmount ./frontend/dockerfile/cmd/dockerfile-frontend
|
|
|
|
rm -f $iidfile
|