From 2d00f601848a5b893d507678f4055218563af491 Mon Sep 17 00:00:00 2001 From: Patrick Skowronek Date: Thu, 22 Dec 2022 14:46:21 +0100 Subject: [PATCH] Pull newest image of sub projects while re/starting the bridgehead --- ccp/exliquid-setup.sh | 3 +++ ccp/nngm-setup.sh | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ccp/exliquid-setup.sh b/ccp/exliquid-setup.sh index 83daa45..88ab5df 100644 --- a/ccp/exliquid-setup.sh +++ b/ccp/exliquid-setup.sh @@ -14,6 +14,9 @@ function exliquidSetup() { esac if [[ $EXLIQUID -eq 1 ]]; then log INFO "EXLIQUID setup detected -- will start Report-Hub." + + docker pull samply/report-hub:latest + OVERRIDE+=" -f ./$PROJECT/exliquid-compose.yml" fi } \ No newline at end of file diff --git a/ccp/nngm-setup.sh b/ccp/nngm-setup.sh index d5b80eb..2c3786d 100644 --- a/ccp/nngm-setup.sh +++ b/ccp/nngm-setup.sh @@ -4,6 +4,10 @@ function nngmSetup() { if [ -n "$NNGM_CTS_APIKEY" ]; then log INFO "nNGM setup detected -- will start nNGM Connector." 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 - 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)" }