mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Make docker-test job pure Docker-based (#582)
Using golang:alpine instead of host go binary Fixes: #559
This commit is contained in:
committed by
Seif Lotfy سيف لطفي
parent
877cece13e
commit
c7d8b3eae2
2
Makefile
2
Makefile
@@ -32,6 +32,6 @@ docker-test:
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-v ${CURDIR}:/go/src/github.com/iron-io/functions \
|
||||
-w /go/src/github.com/iron-io/functions iron/go:dev go test \
|
||||
-v $(shell go list ./... | grep -v vendor | grep -v examples | grep -v tool | grep -v fn | grep -v datastore)
|
||||
-v $(shell docker run -ti -v ${CURDIR}:/go/src/github.com/iron-io/functions -w /go/src/github.com/iron-io/functions -e GOPATH=/go golang:alpine sh -c 'go list ./... | grep -v vendor | grep -v examples | grep -v tool | grep -v fn | grep -v datastore')
|
||||
|
||||
all: dep build
|
||||
|
||||
Reference in New Issue
Block a user