Pull newest image of sub projects while re/starting the bridgehead

This commit is contained in:
Patrick Skowronek 2022-12-22 14:46:21 +01:00
parent 3236128ca1
commit 2d00f60184
2 changed files with 8 additions and 1 deletions

View File

@ -14,6 +14,9 @@ function exliquidSetup() {
esac esac
if [[ $EXLIQUID -eq 1 ]]; then if [[ $EXLIQUID -eq 1 ]]; then
log INFO "EXLIQUID setup detected -- will start Report-Hub." log INFO "EXLIQUID setup detected -- will start Report-Hub."
docker pull samply/report-hub:latest
OVERRIDE+=" -f ./$PROJECT/exliquid-compose.yml" OVERRIDE+=" -f ./$PROJECT/exliquid-compose.yml"
fi fi
} }

View File

@ -4,6 +4,10 @@ function nngmSetup() {
if [ -n "$NNGM_CTS_APIKEY" ]; then if [ -n "$NNGM_CTS_APIKEY" ]; then
log INFO "nNGM setup detected -- will start nNGM Connector." log INFO "nNGM setup detected -- will start nNGM Connector."
OVERRIDE+=" -f ./$PROJECT/nngm-compose.yml" OVERRIDE+=" -f ./$PROJECT/nngm-compose.yml"
docker pull docker.verbis.dkfz.de/ccp/connector:bk2
docker pull postgres:9.5-alpine
CONNECTOR_POSTGRES_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
fi fi
CONNECTOR_POSTGRES_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
} }