mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-21 21:33:02 +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:
@@ -24,7 +24,7 @@ tests:
|
||||
env:
|
||||
ADDITIONAL_KOPANO_PACKAGES: "kopano-server"
|
||||
generate configuration for kopano-server:
|
||||
command: /usr/bin/python3 /kopano/server.py && cat /etc/kopano/server.cfg
|
||||
command: bash -c "shopt -s expand_aliases; alias exec='echo'; . /kopano/start-service.sh" && cat /tmp/kopano/server.cfg
|
||||
exit-code: 0
|
||||
stdout:
|
||||
contains:
|
||||
@@ -33,7 +33,7 @@ tests:
|
||||
not-contains:
|
||||
- #server_listen_tls = *:237
|
||||
generate ldap configuration openLDAP (default):
|
||||
command: /usr/bin/python3 /kopano/server.py && cat /etc/kopano/ldap.cfg
|
||||
command: bash -c "shopt -s expand_aliases; alias exec='echo'; . /kopano/start-service.sh" && cat /tmp/kopano/ldap.cfg
|
||||
exit-code: 0
|
||||
stdout:
|
||||
contains:
|
||||
@@ -42,7 +42,7 @@ tests:
|
||||
not-contains:
|
||||
- "#!include /usr/share/kopano/ldap.openldap.cfg"
|
||||
generate ldap configuration for ADS:
|
||||
command: /usr/bin/python3 /kopano/server.py && cat /etc/kopano/ldap.cfg
|
||||
command: bash -c "shopt -s expand_aliases; alias exec='echo'; . /kopano/start-service.sh" && cat /tmp/kopano/ldap.cfg
|
||||
exit-code: 0
|
||||
stdout:
|
||||
contains:
|
||||
@@ -55,16 +55,6 @@ tests:
|
||||
KCCOMMENT_LDAP_1: "!include /usr/share/kopano/ldap.openldap.cfg"
|
||||
KCUNCOMMENT_LDAP_1: "!include /usr/share/kopano/ldap.active-directory.cfg"
|
||||
start-service script default locale:
|
||||
command: bash -c "shopt -s expand_aliases; alias exec='echo'; . /kopano/start-service.sh && locale -a"
|
||||
exit-code: 0
|
||||
stdout:
|
||||
contains:
|
||||
- C
|
||||
- C.UTF-8
|
||||
- de_DE.utf8
|
||||
- en_US.utf8
|
||||
- POSIX
|
||||
start-service script dutch locale:
|
||||
command: bash -c "shopt -s expand_aliases; alias exec='echo'; . /kopano/start-service.sh && locale -a"
|
||||
exit-code: 0
|
||||
stdout:
|
||||
@@ -75,38 +65,6 @@ tests:
|
||||
- en_US.utf8
|
||||
- nl_NL.utf8
|
||||
- POSIX
|
||||
config:
|
||||
env:
|
||||
KCCONF_ADMIN_DEFAULT_STORE_LOCALE: "nl_NL.UTF-8"
|
||||
start-service script dutch locale (short):
|
||||
command: bash -c "shopt -s expand_aliases; alias exec='echo'; . /kopano/start-service.sh && locale -a"
|
||||
exit-code: 0
|
||||
stdout:
|
||||
contains:
|
||||
- C
|
||||
- C.UTF-8
|
||||
- de_DE.utf8
|
||||
- en_US.utf8
|
||||
- nl_NL.utf8
|
||||
- POSIX
|
||||
config:
|
||||
env:
|
||||
KCCONF_ADMIN_DEFAULT_STORE_LOCALE: "nl_NL"
|
||||
start-service script unknown locale:
|
||||
command: bash -c "shopt -s expand_aliases; alias exec='echo'; . /kopano/start-service.sh && locale -a"
|
||||
exit-code: 0
|
||||
stdout:
|
||||
contains:
|
||||
- C
|
||||
- C.UTF-8
|
||||
- de_DE.utf8
|
||||
- en_US.utf8
|
||||
- POSIX
|
||||
not-contains:
|
||||
- abc
|
||||
config:
|
||||
env:
|
||||
KCCONF_ADMIN_DEFAULT_STORE_LOCALE: "abc"
|
||||
start-service script no dockerize:
|
||||
command: bash -c "shopt -s expand_aliases; alias exec='echo'; . /kopano/start-service.sh"
|
||||
exit-code: 0
|
||||
|
||||
Reference in New Issue
Block a user