Define exliquid sites right inside the common bridgehead scripts

This commit is contained in:
Martin Lablans 2022-12-06 11:42:18 +01:00
parent ece0dec9c9
commit af54f0ca04
1 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,18 @@
#!/bin/bash #!/bin/bash
function exliquidSetup() { 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." log INFO "EXLIQUID setup detected -- will start Report-Hub."
OVERRIDE+="-f ./$PROJECT/exliquid-compose.yml" OVERRIDE+="-f ./$PROJECT/exliquid-compose.yml"
fi fi