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

More tests (#240)

* add goss healthcheck to meet
* add goss healthcheck to scheduler
* enhance goss tests for webapp
* add meet and scheduler to make target for goss
* fix healtcheck for webapp

will report 200, but also cause an error because of it being requested over plain
have dedicated url for check
* disable stats reporting in build
* update commander
This commit is contained in:
Felix Bartels
2019-09-15 18:01:09 +02:00
committed by GitHub
parent 00b15becfd
commit b273c87cb3
10 changed files with 94 additions and 7 deletions
+5
View File
@@ -57,4 +57,9 @@ ENV KOPANO_USERSCRIPT_LOCALE="de_DE.UTF-8"
ENV LANG=en_US.UTF-8
COPY defaultconfigs/ start-service.sh /kopano/
COPY goss.yaml /goss/
CMD [ "/kopano/start-service.sh" ]
HEALTHCHECK --interval=1m --timeout=10s \
CMD goss -g /goss/goss.yaml validate --format json_oneline
+18
View File
@@ -0,0 +1,18 @@
file:
/usr/share/kopano-kweb/www/config/kopano/meet.json:
exists: true
mode: "0644"
owner: root
group: root
filetype: file
contains: []
process:
kwebd:
running: true
http:
http://localhost:9080/meet:
status: 200
allow-insecure: false
no-follow-redirects: false
timeout: 5000
body: []