From a312c549b9daaa4cc188921e7eafeef22ef8a26b Mon Sep 17 00:00:00 2001 From: Jeff Ramsdale Date: Wed, 22 Aug 2018 11:29:59 -0700 Subject: [PATCH] Fix errant quote; add missing spellcheck directives --- scripts/create.sh | 2 ++ scripts/teardown.sh | 1 + scripts/validate.sh | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/create.sh b/scripts/create.sh index 07f550a..05567e6 100755 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -24,9 +24,11 @@ set -o nounset set -o pipefail ROOT=$(dirname "${BASH_SOURCE[0]}")/.. +# shellcheck disable=SC1090 source "$ROOT"/scripts/common.sh # Generate the variables to be used by Terraform +# shellcheck disable=SC1090 source "$ROOT"/scripts/generate-tfvars.sh # Enable required GCP APIs diff --git a/scripts/teardown.sh b/scripts/teardown.sh index 11108db..fce6325 100644 --- a/scripts/teardown.sh +++ b/scripts/teardown.sh @@ -26,6 +26,7 @@ set -o nounset set -o pipefail ROOT=$(dirname "${BASH_SOURCE[0]}")/.. +# shellcheck disable=SC1090 source "$ROOT"/scripts/common.sh # Tear down Terraform-managed resources and remove generated tfvars diff --git a/scripts/validate.sh b/scripts/validate.sh index f415fd0..d2b2855 100644 --- a/scripts/validate.sh +++ b/scripts/validate.sh @@ -26,6 +26,7 @@ set -o nounset set -o pipefail ROOT=$(dirname "${BASH_SOURCE[0]}")/.. +# shellcheck disable=SC1090 source "$ROOT"/scripts/common.sh APP_MESSAGE="deployment \"$APP_NAME\" successfully rolled out" @@ -53,7 +54,7 @@ while true do sleep 1 EXT_IP=$(kubectl get svc "$APP_NAME" --namespace default \ - -ojsonpath='{.status.loadBalancer.ingress[0].ip}')" + -ojsonpath='{.status.loadBalancer.ingress[0].ip}') EXT_PORT=$(kubectl --namespace default get service "$APP_NAME" \ --namespace default -o=jsonpath='{.spec.ports[0].port}')