Skip to content

Commit e5de67d

Browse files
author
Wei Tie
committed
Add make target for k8s dev
Signed-off-by: Wei Tie <[email protected]>
1 parent d6317f8 commit e5de67d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,14 @@ k8s-l3-destroy:
149149
cd vagrant/k8s/ && CONTIV_L3=1 vagrant destroy -f
150150

151151
# ===================================================================
152-
# kubernetes test targets
153-
k8s-test:
152+
# kubernetes dev
153+
k8s-dev:
154154
CONTIV_TEST=1 make k8s-cluster
155155
cd vagrant/k8s/ && vagrant ssh k8master -c 'bash -lc "cd /opt/gopath/src/github.com/contiv/netplugin && make deps checks clean compile"'
156+
157+
# kubernetes test targets
158+
k8s-test:
159+
make k8s-dev
156160
cd $(GOPATH)/src/github.com/contiv/netplugin/scripts/python && PYTHONIOENCODING=utf-8 ./createcfg.py -scheduler 'k8s' -binpath contiv/bin -install_mode 'kubeadm'
157161
CONTIV_K8S_USE_KUBEADM=1 CONTIV_NODES=3 go test -v -timeout 540m ./test/systemtests -check.v -check.abort -check.f $(K8S_SYSTEM_TESTS_TO_RUN)
158162
cd vagrant/k8s && vagrant destroy -f

0 commit comments

Comments
 (0)