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

rework test image (#185)

use scheduler image as base
after dockerize round also execute some other commands
clean up test containers after run
switch kopano-admin to listing users (also more helpful when debugging)
comment kopano-cli for the moment
This commit is contained in:
Felix Bartels
2019-06-16 10:59:42 +02:00
committed by GitHub
parent adfbfeb4a3
commit e0792a39a5
4 changed files with 17 additions and 10 deletions
+10 -2
View File
@@ -1,7 +1,10 @@
#!/bin/sh
#!/bin/bash
set -ex
# waits for key events in various containers
# e.g. kopano_server:236 signals succesful start of kopano-server process
exec dockerize \
dockerize \
-wait file://var/run/kopano/grapi/notify.sock \
-wait file://var/run/kopano/server.sock \
-wait http://kopano_konnect:8777/.well-known/openid-configuration \
@@ -17,3 +20,8 @@ exec dockerize \
-wait tcp://kopano_webapp:9080 \
-wait tcp://kopano_zpush:80 \
-timeout 120s
#docker exec kopano_server kopano-cli --sync
docker exec kopano_server kopano-admin -l
docker exec kopano_zpush z-push-admin -a list
docker exec kopano_zpush z-push-gabsync -a sync