2017-05-27 05:10:26 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eu -o pipefail -x
|
|
|
|
|
2017-12-28 08:17:42 +00:00
|
|
|
iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX)
|
2017-11-30 01:41:44 +00:00
|
|
|
|
2017-12-20 07:22:19 +00:00
|
|
|
docker build --iidfile $iidfile --target integration-tests -f ./hack/dockerfiles/test.Dockerfile --force-rm .
|
2017-11-30 01:41:44 +00:00
|
|
|
|
2017-12-20 07:22:19 +00:00
|
|
|
iid=$(cat $iidfile)
|
2018-07-06 09:49:31 +00:00
|
|
|
rm -f $iidfile
|
2017-12-20 07:22:19 +00:00
|
|
|
|
2018-03-27 10:32:47 +00:00
|
|
|
docker run --rm -v /tmp --privileged $iid go test ${TESTFLAGS:--v} ${TESTPKGS:-./...}
|
2017-12-20 07:22:19 +00:00
|
|
|
|
|
|
|
docker run --rm $iid go build ./frontend/gateway/client
|
|
|
|
docker run --rm $iid go build ./frontend/dockerfile/cmd/dockerfile-frontend
|
2018-10-02 17:13:34 +00:00
|
|
|
|
2018-06-07 20:57:35 +00:00
|
|
|
docker run --rm $iid go build -tags dfrunmount ./frontend/dockerfile/cmd/dockerfile-frontend
|
2018-10-02 17:13:34 +00:00
|
|
|
docker run --rm $iid go build -tags "dfrunmount dfsecrets" ./frontend/dockerfile/cmd/dockerfile-frontend
|
2018-10-02 05:25:26 +00:00
|
|
|
docker run --rm $iid go build -tags "dfrunmount dfssh" ./frontend/dockerfile/cmd/dockerfile-frontend
|
2018-10-02 17:13:34 +00:00
|
|
|
docker run --rm $iid go build -tags dfextall ./frontend/dockerfile/cmd/dockerfile-frontend
|