vagrant, docker and remote test small changes
This commit is contained in:
parent
316cad35ff
commit
57d7587d9a
4 changed files with 36 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue