Preparations for Clixon 6.0 release

Test:
- netconf-monitoring using http-data disabled for restconf=fcgi
- updated cicd.sh script with detail and change logfile
This commit is contained in:
Olof hagsand 2022-11-29 09:15:30 +01:00
parent c94e9dad67
commit 67e6e5e5e1
7 changed files with 82 additions and 178 deletions

View file

@ -58,9 +58,9 @@ all: $(HOSTS)
# Real hosts reachable by ssh
$(HOSTS):
ifdef LOGDIR
./cicd.sh $@ $(RESTCONF) 2>&1 > $(LOGDIR)/$@-$(RESTCONF).log
./cicd.sh $@ $(RESTCONF) 2>&1 > $(LOGDIR)/host-$(RESTCONF)-$@.log
else
./cicd.sh $@ $(RESTCONF) 2>&1 | tee /$@-$(RESTCONF).log
./cicd.sh $@ $(RESTCONF) 2>&1 | tee /host-$(RESTCONF)-$@.log
endif
clean:

View file

@ -54,5 +54,5 @@ if [ "$restconf" = "fcgi" ]; then
else
ssh -t $h sudo systemctl stop nginx
fi
ssh -t $h "(cd src/clixon/test; ./sum.sh)"
ssh -t $h "(cd src/clixon/test; detail=true ./sum.sh)"
exit 0