Skip to content
Snippets Groups Projects
Commit 4cdf4e63 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add autoselection for betanet and release

parent caf3c096
No related branches found
No related tags found
2 merge requests!4Release,!1Xx 3419/netselect
109.169.15.30:22840
5.12.137.118:22840
92.246.20.92:22840
178.16.39.203:22840
86.135.17.18:22840
......@@ -3,6 +3,8 @@ localhost:8440
# when not set via command line, is used to determine to which network
# the integration test will be run against.
# Note you can also specify "release" and "betanet" on run.sh
# Betanet gateways
109.169.15.30:22840
5.12.137.118:22840
......
34.221.74.216:11420
52.25.9.28:11420
54.149.122.115:11420
......@@ -44,7 +44,15 @@ mkdir -p $GATEWAYLOGS
mkdir -p $CLIENTOUT
mkdir -p $CLIENTCLEAN
NETWORKENTRYPOINT=$(head -1 network.config)
if [ "$NETWORKENTRYPOINT" == "betanet" ]
then
NETWORKENTRYPOINT=$(sort -R betanet.txt | head -1)
elif [ "$NETWORKENTRYPOINT" == "release" ]
then
NETWORKENTRYPOINT=$(sort -R release.txt | head -1)
else
NETWORKENTRYPOINT=$(head -1 network.config)
fi
echo "NETWORK: $NETWORKENTRYPOINT"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment