vagrant, docker and remote test small changes

This commit is contained in:
Olof Hagsand 2020-07-23 17:23:08 +00:00
parent 316cad35ff
commit 57d7587d9a
4 changed files with 36 additions and 7 deletions

View file

@ -40,6 +40,7 @@ SHELL = /bin/sh
.PHONY: all clean distclean depend install uninstall
# Optional specific LOGDIR, eg "LOGDIR=/var/log make"
# Include "site.mk" file if it exists and define the HOSTS variables
# eg :
@ -54,7 +55,11 @@ all: $(HOSTS)
# Real hosts reachable by ssh
$(HOSTS):
./cicd.sh $@ 2>&1 | tee $@.log
ifdef LOGDIR
./cicd.sh $@ 2>&1 > $(LOGDIR)/$@.log
else
./cicd.sh $@ 2>&1 | tee /$@.log
endif
clean:
rm -f *.log