Drop influxcloud (#4460)

automerge
This commit is contained in:
Michael Vines
2019-05-28 16:26:59 -07:00
committed by Grimes
parent 14594217db
commit a7ef409c2b
2 changed files with 1 additions and 9 deletions

View File

@ -132,19 +132,16 @@ case $TESTNET in
testnet-edge|testnet-edge-perf) testnet-edge|testnet-edge-perf)
CHANNEL_OR_TAG=edge CHANNEL_OR_TAG=edge
CHANNEL_BRANCH=$EDGE_CHANNEL CHANNEL_BRANCH=$EDGE_CHANNEL
: "${TESTNET_DB_HOST:=https://clocktower-f1d56615.influxcloud.net:8086}"
;; ;;
testnet-beta|testnet-beta-perf) testnet-beta|testnet-beta-perf)
CHANNEL_OR_TAG=beta CHANNEL_OR_TAG=beta
CHANNEL_BRANCH=$BETA_CHANNEL CHANNEL_BRANCH=$BETA_CHANNEL
: "${TESTNET_DB_HOST:=https://clocktower-f1d56615.influxcloud.net:8086}"
;; ;;
testnet) testnet)
CHANNEL_OR_TAG=$STABLE_CHANNEL_LATEST_TAG CHANNEL_OR_TAG=$STABLE_CHANNEL_LATEST_TAG
CHANNEL_BRANCH=$STABLE_CHANNEL CHANNEL_BRANCH=$STABLE_CHANNEL
: "${EC2_NODE_COUNT:=10}" : "${EC2_NODE_COUNT:=10}"
: "${GCE_NODE_COUNT:=}" : "${GCE_NODE_COUNT:=}"
: "${TESTNET_DB_HOST:=https://clocktower-f1d56615.influxcloud.net:8086}"
;; ;;
testnet-perf) testnet-perf)
CHANNEL_OR_TAG=$STABLE_CHANNEL_LATEST_TAG CHANNEL_OR_TAG=$STABLE_CHANNEL_LATEST_TAG
@ -155,7 +152,6 @@ testnet-demo)
CHANNEL_BRANCH=$BETA_CHANNEL CHANNEL_BRANCH=$BETA_CHANNEL
: "${GCE_NODE_COUNT:=150}" : "${GCE_NODE_COUNT:=150}"
: "${GCE_LOW_QUOTA_NODE_COUNT:=70}" : "${GCE_LOW_QUOTA_NODE_COUNT:=70}"
: "${TESTNET_DB_HOST:=https://clocktower-f1d56615.influxcloud.net:8086}"
;; ;;
*) *)
echo "Error: Invalid TESTNET=$TESTNET" echo "Error: Invalid TESTNET=$TESTNET"

View File

@ -17,7 +17,6 @@ usage: $0 [-e] [-d] [-c] [username]
Creates a testnet dev metrics database Creates a testnet dev metrics database
username InfluxDB user with access to create a new database username InfluxDB user with access to create a new database
-c Use Influx Cloud instance
-d Delete the database instead of creating it -d Delete the database instead of creating it
-e Assume database already exists and SOLANA_METRICS_CONFIG is -e Assume database already exists and SOLANA_METRICS_CONFIG is
defined in the environment already defined in the environment already
@ -31,15 +30,12 @@ loadConfigFile
useEnv=false useEnv=false
delete=false delete=false
host="https://metrics.solana.com:8086" host="https://metrics.solana.com:8086"
while getopts "hcde" opt; do while getopts "hde" opt; do
case $opt in case $opt in
h|\?) h|\?)
usage usage
exit 0 exit 0
;; ;;
c)
host="https://clocktower-f1d56615.influxcloud.net:8086"
;;
d) d)
delete=true delete=true
;; ;;