From 3fcca5bc0aa6f02e1212e52f1883889a5e5a89fc Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Fri, 5 Apr 2019 14:02:19 -0600 Subject: [PATCH] Suppress shellcheck array expansion warnings --- ci/testnet-deploy.sh | 3 +++ ci/testnet-manager.sh | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index 896d975e63..b8c07a8fdf 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -164,6 +164,7 @@ done if ! $skipSetup; then echo "--- $cloudProvider.sh delete" + # shellcheck disable=SC2068 time net/"$cloudProvider".sh delete ${zone_args[@]} -p "$netName" ${externalNode:+-x} if $delete; then exit 0 @@ -176,6 +177,7 @@ if ! $skipSetup; then -c "$clientNodeCount" -n "$additionalFullNodeCount" ) + # shellcheck disable=SC2206 create_args+=(${zone_args[@]}) if $blockstreamer; then @@ -212,6 +214,7 @@ else config_args=( -p "$netName" ) + # shellcheck disable=SC2206 config_args+=(${zone_args[@]}) if $publicNetwork; then config_args+=(-P) diff --git a/ci/testnet-manager.sh b/ci/testnet-manager.sh index 42f90674fc..8112d8f530 100755 --- a/ci/testnet-manager.sh +++ b/ci/testnet-manager.sh @@ -239,12 +239,14 @@ start() { EC2_ZONE_ARGS+=("-z $val") done + # shellcheck disable=SC2068 NO_VALIDATOR_SANITY=1 \ RUST_LOG=solana=info \ ci/testnet-deploy.sh -p beta-testnet-solana-com -C ec2 ${EC2_ZONE_ARGS[@]} \ -t "$CHANNEL_OR_TAG" -n 60 -c 0 -s -u -P -a eipalloc-0f286cf8a0771ce35 \ ${maybeReuseLedger:+-r} \ ${maybeDelete:+-D} + # shellcheck disable=SC2068 NO_VALIDATOR_SANITY=1 \ RUST_LOG=solana=info \ ci/testnet-deploy.sh -p beta-testnet-solana-com -C gce ${GCE_ZONE_ARGS[@]} \