cicd tests

This commit is contained in:
Olof Hagsand 2020-09-07 16:15:12 +00:00
parent 1db969d3a7
commit afe64cbd5e
4 changed files with 27 additions and 35 deletions

View file

@ -46,6 +46,8 @@ SHELL = /bin/sh
# eg :
# HOSTS += vandal.hagsand.com # i86_32 ubuntu
# ...
# You can also set RESTCONF to fcgi or evhtp
RESTCONF=fcgi
HOSTS=
-include site.mk
@ -56,9 +58,9 @@ all: $(HOSTS)
# Real hosts reachable by ssh
$(HOSTS):
ifdef LOGDIR
./cicd.sh $@ 2>&1 > $(LOGDIR)/$@.log
./cicd.sh $@ $(RESTCONF) 2>&1 > $(LOGDIR)/$@-$(RESTCONF).log
else
./cicd.sh $@ 2>&1 | tee /$@.log
./cicd.sh $@ $(RESTCONF) 2>&1 | tee /$@-$(RESTCONF).log
endif
clean: