Multiple optimizations to build targets
* Clean up e2e test on interruption * Leverage GOCACHE for faster builds * Forward container STDIN in make targets
This commit is contained in:
parent
e2111013ef
commit
0c7b948317
5 changed files with 16 additions and 4 deletions
6
Makefile
6
Makefile
|
|
@ -168,7 +168,7 @@ static-check:
|
|||
test:
|
||||
@$(DEF_VARS) \
|
||||
NODE_IP=$(NODE_IP) \
|
||||
DOCKER_OPTS="--net=host" \
|
||||
DOCKER_OPTS="-i --net=host" \
|
||||
build/go-in-docker.sh build/test.sh
|
||||
|
||||
.PHONY: lua-test
|
||||
|
|
@ -182,14 +182,14 @@ e2e-test:
|
|||
@$(DEF_VARS) \
|
||||
FOCUS=$(FOCUS) \
|
||||
E2E_NODES=$(E2E_NODES) \
|
||||
DOCKER_OPTS="--net=host" \
|
||||
DOCKER_OPTS="-i --net=host" \
|
||||
NODE_IP=$(NODE_IP) \
|
||||
build/go-in-docker.sh build/e2e-tests.sh
|
||||
|
||||
.PHONY: cover
|
||||
cover:
|
||||
@$(DEF_VARS) \
|
||||
DOCKER_OPTS="--net=host" \
|
||||
DOCKER_OPTS="-i --net=host" \
|
||||
build/go-in-docker.sh build/cover.sh
|
||||
|
||||
echo "Uploading coverage results..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue