@@ -9,7 +9,12 @@ TO_BUILD := ./netplugin/ ./netmaster/ ./netdcli/ ./mgmtfn/k8contivnet/ ./mgmtfn/
9
9
HOST_GOBIN := ` which go | xargs dirname `
10
10
HOST_GOROOT := ` go env GOROOT `
11
11
12
- all : build unit-test system-test system-test-dind
12
+ all : build unit-test system-test system-test-dind centos-tests
13
+
14
+ # 'all-CI' target is used by the scripts/CI.sh that passes appropriate set of
15
+ # ENV variables (from the jenkins job) to run OS (centos, ubuntu etc) and
16
+ # sandbox specific(vagrant, docker-in-docker)
17
+ all-CI : build unit-test system-test
13
18
14
19
default : build
15
20
@@ -51,15 +56,15 @@ unit-test-centos: build
51
56
# on first failure and leave setup in that state. This can be useful for debugging
52
57
# as part of development.
53
58
system-test : build
54
- CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 30m -v - run " sanity" \
59
+ CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 30m -run " sanity" \
55
60
github.com/contiv/netplugin/systemtests/singlehost
56
- CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 80m -v - run " sanity" \
61
+ CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 80m -run " sanity" \
57
62
github.com/contiv/netplugin/systemtests/twohosts
58
63
59
64
system-test-centos : build
60
- CONTIV_NODE_OS=centos CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 30m -v - run " sanity" \
65
+ CONTIV_NODE_OS=centos CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 30m -run " sanity" \
61
66
github.com/contiv/netplugin/systemtests/singlehost
62
- CONTIV_NODE_OS=centos CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 90m -v - run " sanity" \
67
+ CONTIV_NODE_OS=centos CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 90m -run " sanity" \
63
68
github.com/contiv/netplugin/systemtests/twohosts
64
69
65
70
centos-tests : unit-test-centos system-test-centos
@@ -68,9 +73,9 @@ centos-tests: unit-test-centos system-test-centos
68
73
# on first failure and leave setup in that state. This can be useful for debugging
69
74
# as part of development.
70
75
regress-test : build
71
- CONTIV_HOST_GOPATH=$(GOPATH ) godep go test -v - run " regress" \
76
+ CONTIV_HOST_GOPATH=$(GOPATH ) godep go test -run " regress" \
72
77
github.com/contiv/netplugin/systemtests/singlehost
73
- CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 60m -v - run " regress" \
78
+ CONTIV_HOST_GOPATH=$(GOPATH ) godep go test --timeout 60m -run " regress" \
74
79
github.com/contiv/netplugin/systemtests/twohosts
75
80
76
81
# Setting CONTIV_TESTBED=DIND uses docker in docker as the testbed instead of vagrant VMs.
0 commit comments