mirror of https://github.com/linkerd/linkerd2.git
bin/test-clouds: Fix shellcheck issues (#4423)
Signed-off-by: Joakim Roubert <joakimr@axis.com>
This commit is contained in:
parent
3ef358bb2f
commit
56484ade8d
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue