Suppress shellcheck array expansion warnings

This commit is contained in:
Dan Albert 2019-04-05 14:02:19 -06:00 committed by Pankaj Garg
parent 9d4c6f6aaa
commit 3fcca5bc0a
2 changed files with 5 additions and 0 deletions

View File

@ -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)

View File

@ -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[@]} \