From af54f0ca04ef8efad53fc72975f7599e8fb615d8 Mon Sep 17 00:00:00 2001 From: Martin Lablans Date: Tue, 6 Dec 2022 11:42:18 +0100 Subject: [PATCH] Define exliquid sites right inside the common bridgehead scripts --- ccp/exliquid-setup.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ccp/exliquid-setup.sh b/ccp/exliquid-setup.sh index e1daa11..8102fcb 100644 --- a/ccp/exliquid-setup.sh +++ b/ccp/exliquid-setup.sh @@ -1,7 +1,18 @@ #!/bin/bash function exliquidSetup() { - if [ -n "$EXLIQUID" ]; then + case ${SITE_ID} in + berlin|dresden|essen|frankfurt|freiburg|luebeck|mainz|muenchen-lmu|muenchen-tu|mannheim|tuebingen) + EXLIQUID=1 + ;; + dktk-test) + EXLIQUID=1 + ;; + *) + EXLIQUID=0 + ;; + esac + if [[ $EXLIQUID -eq 1 ]]; then log INFO "EXLIQUID setup detected -- will start Report-Hub." OVERRIDE+="-f ./$PROJECT/exliquid-compose.yml" fi