tests/e2e: use build from host
This commit is contained in:
parent
93d8e2eb0a
commit
36d41326c7
2
Makefile
2
Makefile
|
@ -10,7 +10,7 @@ build:
|
||||||
release: build
|
release: build
|
||||||
sha256sum wesher-* > wesher.sha256sums
|
sha256sum wesher-* > wesher.sha256sums
|
||||||
|
|
||||||
e2e:
|
e2e: build
|
||||||
tests/e2e.sh
|
tests/e2e.sh
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -2,12 +2,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ ! -x ./wesher ]; then
|
|
||||||
echo "Building wesher for e2e tests"
|
|
||||||
# build inside container to ensure same libc (image is alpine-based)
|
|
||||||
docker run --rm -v $(pwd):/app -v ${GOPATH}/pkg/mod:/go/pkg/mod --entrypoint="" costela/wesher-test go build
|
|
||||||
fi
|
|
||||||
|
|
||||||
declare -A started_containers
|
declare -A started_containers
|
||||||
|
|
||||||
cleanup() {
|
cleanup() {
|
||||||
|
|
Loading…
Reference in New Issue