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

Further tweaks for univention app (#264)

* add option to change base path
* fix env name
* add kweb configuration for using konnect in a subpath
* make webapp display configurable
* more explicit startup messages
* add ability to use an external oidc provider
* install the grapi ldap backend in the image when building with a recent enough kopano version
* add the ability to run test in the konnect container
  * the startup script gets more and more complicated, there should be a way to test it
* test some values and add test helper
* do not simply cat the registration, but call with yq
* update kweb and konnect
This commit is contained in:
Felix Bartels
2019-11-11 10:54:54 +01:00
committed by GitHub
parent d13a82aed1
commit 52d6b18322
10 changed files with 114 additions and 8 deletions
+43
View File
@@ -0,0 +1,43 @@
tests:
normal startup:
command: /commander/test-helper.sh && wrapper.sh
exit-code: 0
stdout:
contains:
- "Entrypoint: Allowing guest login"
- "--allow-client-guests"
- "Entrypoint: Allowing dynamic client registration"
- "--allow-dynamic-client-registration"
guests disabled:
command: /commander/test-helper.sh && wrapper.sh && yq . $identifier_registration_conf
stdout:
not-contains:
- "--allow-client-guests"
- "kpop-https://$FQDN/meet/"
config:
env:
allow_client_guests: no
external oidc provider:
command: /commander/test-helper.sh && wrapper.sh && yq . $identifier_registration_conf
stdout:
contains:
- '"authorities": ['
config:
env:
external_oidc_provider: yes
config:
env:
PATH: ${PATH}
eckey: ${eckey}
allow_client_guests: ${allow_client_guests}
ecparam: ${ecparam}
signing_private_key: ${signing_private_key}
KONNECT_BACKEND: ${KONNECT_BACKEND}
FQDN: ${FQDN}
identifier_registration_conf: ${identifier_registration_conf}
encryption_secret_key: ${encryption_secret_key}
identifier_scopes_conf: ${identifier_scopes_conf}
allow_dynamic_client_registration: ${allow_dynamic_client_registration}
DEBUG: ${DEBUG}
LANG: ${LANG}