mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
add test for identifier scopes conf Signed-off-by: Felix Bartels <felix@host-consultants.de>
49 lines
1.5 KiB
YAML
49 lines
1.5 KiB
YAML
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
|
|
identifier scopes:
|
|
command: /commander/test-helper.sh && wrapper.sh && yq . $identifier_scopes_conf
|
|
stdout:
|
|
contains:
|
|
- '"description": "Access Kopano Meet"'
|
|
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}
|
|
|