bin/test-clouds: Fix shellcheck issues (#4423)

Signed-off-by: Joakim Roubert <joakimr@axis.com>
This commit is contained in:
Joakim Roubert 2020-05-18 22:42:46 +02:00 committed by GitHub
parent 3ef358bb2f
commit 56484ade8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -87,7 +87,6 @@ jobs:
! -name minikube-start-hyperv.bat \ ! -name minikube-start-hyperv.bat \
! -name _tag.sh \ ! -name _tag.sh \
! -name test-cleanup \ ! -name test-cleanup \
! -name test-clouds \
! -name _test-run.sh \ ! -name _test-run.sh \
! -name update-go-deps-shas \ ! -name update-go-deps-shas \
! -name *.nuspec \ ! -name *.nuspec \

View File

@ -51,7 +51,7 @@ if [ "$#" -ne 1 ]; then
exit 64 exit 64
fi fi
for CLUSTER in AKS DO EKS GKE; do for CLUSTER in 'AKS' 'DO' 'EKS' 'GKE'; do
if [ -z "${!CLUSTER}" ]; then if [ -z "${!CLUSTER}" ]; then
echo "\$$CLUSTER not set" >&2 echo "\$$CLUSTER not set" >&2
exit 64 exit 64
@ -63,9 +63,9 @@ check_linkerd_binary
printf '\nKicking off tests for:\n- %s\n- %s\n- %s\n- %s\n\n' "$AKS" "$DO" "$EKS" "$GKE" printf '\nKicking off tests for:\n- %s\n- %s\n- %s\n- %s\n\n' "$AKS" "$DO" "$EKS" "$GKE"
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT trap 'trap - SIGTERM && kill -- -$$' SIGINT SIGTERM EXIT
for CLUSTER in $AKS $DO $EKS $GKE; do for CLUSTER in $AKS $DO $EKS $GKE; do
bin/test-run $linkerd_path l5d-integration-cloud $CLUSTER | while IFS= read -r line; do printf '[%s] %s\n' "$CLUSTER" "$line"; done & bin/test-run "$linkerd_path" l5d-integration-cloud "$CLUSTER" | while IFS= read -r line; do printf '[%s] %s\n' "$CLUSTER" "$line"; done &
done done
wait wait