Add provisions to specify a database server in testnet manager buildkite

This commit is contained in:
Pankaj Garg 2019-03-26 14:03:03 -07:00 committed by Grimes
parent bf61321cab
commit 0d90dfae1a
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,10 @@ EOF
exit 0
fi
if [[ -n $TESTNET_DB_HOST ]]; then
SOLANA_METRICS_PARTIAL_CONFIG="host=$TESTNET_DB_HOST,$SOLANA_METRICS_PARTIAL_CONFIG"
fi
export SOLANA_METRICS_CONFIG="db=$TESTNET,$SOLANA_METRICS_PARTIAL_CONFIG"
echo "SOLANA_METRICS_CONFIG: $SOLANA_METRICS_CONFIG"
source scripts/configure-metrics.sh