mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-24 14:45:34 +00:00
Run all containers read-only (#314)
* switch containers in compose file to read-only related to https://github.com/zokradonh/kopano-docker/issues/310 * make scheduler container read-only * make meet container read-only * fix konnect for read-only * make core mostly read-only * add custom location for ldap.cfg to default config * sort config option for readability * update makefile pull workaround * make kdav read-only * remove locale generation code from core startup * fix commander tests * fix store language tests * add test for a dutch mailbox * make it possible to run webapp read-only * add locale hint to the compose file * finish read-only mode for z-push
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
tests:
|
||||
check mailbox language: # this needs a running kopano-server can can therefore not be executed in that container directly
|
||||
check mailbox language: # this needs a running kopano-server and can can therefore not be executed in that container directly
|
||||
command: "docker exec kopano_server kopano-storeadm -C -n user10; docker exec kopano_server show-folders.py --user user10"
|
||||
exit-code: 0
|
||||
stdout:
|
||||
@@ -12,13 +12,24 @@ tests:
|
||||
stdout:
|
||||
not-contains:
|
||||
- "WARNING: Unable to get user store entry id. User possibly has no store."
|
||||
check mailbox language german: # this needs a running kopano-server can can therefore not be executed in that container directly
|
||||
command: "docker exec kopano_server kopano-storeadm -D user 11; docker exec kopano_server kopano-storeadm -C -l de_DE -n user11; docker exec kopano_server show-folders.py --user user11"
|
||||
check mailbox language german: # this needs a running kopano-server and can can therefore not be executed in that container directly
|
||||
command: "docker exec kopano_server kopano-storeadm -D -n user11; docker exec kopano_server kopano-storeadm -C -l de_DE -n user11; docker exec kopano_server show-folders.py --user user11"
|
||||
exit-code: 0
|
||||
stdout:
|
||||
not-contains:
|
||||
- "Inbox"
|
||||
- "Drafts"
|
||||
contains:
|
||||
- "Posteingang"
|
||||
check mailbox language dutch: # this needs a running kopano-server and can can therefore not be executed in that container directly
|
||||
command: "docker exec kopano_server kopano-storeadm -D -n user12; docker exec kopano_server kopano-storeadm -C -l nl_NL -n user12; docker exec kopano_server show-folders.py --user user12"
|
||||
exit-code: 0
|
||||
stdout:
|
||||
not-contains:
|
||||
- "Inbox"
|
||||
- "Drafts"
|
||||
contains:
|
||||
- "Postvak IN"
|
||||
# test renaming of folders:
|
||||
# command: docker exec kopano_server env KCCONF_ADMIN_DEFAULT_STORE_LOCALE=de_DE.UTF-8 /usr/bin/python3 /kopano/server.py && docker exec kopano_server kopano-storeadm -Y -n user12
|
||||
# exit-code: 0
|
||||
|
||||
Reference in New Issue
Block a user