1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-24 22:55:36 +00:00

Use goss for healthchecks (#223)

* basic healthcheck based on goss
* add goss to travis
* healtcheck command runs now for all services
* add to makefile
This commit is contained in:
Felix Bartels
2019-08-27 14:56:49 +02:00
committed by GitHub
parent d6744b20e2
commit 4878fc9917
28 changed files with 156 additions and 17 deletions
Regular → Executable
+10 -1
View File
@@ -1,5 +1,14 @@
#!/bin/bash
set -ex
set -e
case "$SERVICE_TO_START" in
server|dagent|gateway|ical|grapi|kapi|monitor|search|spooler)
goss -g /kopano/goss/"$SERVICE_TO_START"/goss.yaml validate --format json_oneline
;;
*)
echo "This service still needs a proper check"
;;
esac
exit 0