From f27d001b7a7c943ca903755026565df598c14f4c Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 19 May 2020 18:26:27 -0700 Subject: [PATCH] Remove obsolete testnet management scripts (#10130) automerge --- ci/iterations-localnet.sh | 61 ------ ci/testnet-deploy.sh | 429 -------------------------------------- ci/testnet-manager.sh | 401 ----------------------------------- ci/testnet-sanity.sh | 78 ------- net/README.md | 21 -- 5 files changed, 990 deletions(-) delete mode 100755 ci/iterations-localnet.sh delete mode 100755 ci/testnet-deploy.sh delete mode 100755 ci/testnet-manager.sh delete mode 100755 ci/testnet-sanity.sh diff --git a/ci/iterations-localnet.sh b/ci/iterations-localnet.sh deleted file mode 100755 index 0a2b61b47..000000000 --- a/ci/iterations-localnet.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/env bash -set -e - -testCmd="$*" -genPipeline=false - -cd "$(dirname "$0")/.." - -# Clear cached json keypair files -rm -rf "$HOME/.config/solana" - -source ci/_ -export RUST_BACKTRACE=1 -export RUSTFLAGS="-D warnings" -export PATH=$PWD/target/debug:$PATH -export USE_INSTALL=1 - -if [[ -n $BUILDKITE && -z $testCmd ]]; then - genPipeline=true - echo " -steps: - " -fi - -build() { - $genPipeline && return - source ci/rust-version.sh stable - source scripts/ulimit-n.sh - _ cargo +$rust_stable build -} - -runTest() { - declare runTestName="$1" - declare runTestCmd="$2" - if $genPipeline; then - echo " - - command: \"$0 '$runTestCmd'\" - name: \"$runTestName\" - timeout_in_minutes: 45 -" - return - fi - - if [[ -n $testCmd && "$testCmd" != "$runTestCmd" ]]; then - echo Skipped "$runTestName"... - return - fi - #shellcheck disable=SC2068 # Don't want to double quote $runTestCmd - $runTestCmd -} - -build - -runTest "basic" \ - "ci/localnet-sanity.sh -i 128" - -runTest "restart" \ - "ci/localnet-sanity.sh -i 128 -k 16" - -runTest "incremental restart, extra node" \ - "ci/localnet-sanity.sh -i 128 -k 16 -R -x" diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh deleted file mode 100755 index a652d7fad..000000000 --- a/ci/testnet-deploy.sh +++ /dev/null @@ -1,429 +0,0 @@ -#!/usr/bin/env bash -set -e - -cd "$(dirname "$0")"/.. -source ci/upload-ci-artifact.sh - -zone= -bootstrapValidatorAddress= -bootstrapValidatorMachineType= -clientNodeCount=0 -idleClients=false -additionalValidatorCount=10 -publicNetwork=false -stopNetwork=false -reuseLedger=false -skipCreate=false -skipStart=false -externalNode=false -failOnValidatorBootupFailure=true -tarChannelOrTag=edge -delete=false -enableGpu=false -bootDiskType="" -blockstreamer=false -fetchLogs=true -maybeHashesPerTick= -maybeDisableAirdrops= -maybeInternalNodesStakeLamports= -maybeInternalNodesLamports= -maybeExternalPrimordialAccountsFile= -maybeSlotsPerEpoch= -maybeTargetLamportsPerSignature= -maybeSlotsPerEpoch= -maybeLetsEncrypt= -maybeValidatorAdditionalDiskSize= -maybeNoSnapshot= -maybeLimitLedgerSize= - -usage() { - exitcode=0 - if [[ -n "$1" ]]; then - exitcode=1 - echo "Error: $*" - fi - cat <`