Added test root certs and logic for beam to use test brokers

This commit is contained in:
Patrick Skowronek
2024-01-05 11:58:42 +01:00
parent 48558812aa
commit 954d46efb1
6 changed files with 55 additions and 2 deletions

View File

@ -6,6 +6,12 @@ if [ "${ENABLE_GBN}" == "true" ]; then
# Set required variables
GBN_BROKER_ID=broker.bbmri.de
GBN_ROOT_CERT=gbn
if [ "{$ENABLE_TEST}" == "true" ]; then
GBN_BROKER_ID=broker-test.bbmri.de
GBN_ROOT_CERT=gbn.test
fi
GBN_BROKER_URL=https://${GBN_BROKER_ID}
GBN_PROXY_ID=${SITE_ID}.${GBN_BROKER_ID}
GBN_FOCUS_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"