Skip to content

Commit

Permalink
test-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
micahhausler committed Sep 9, 2024
1 parent ba171c3 commit 4caf6ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hack/lib/dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,18 @@ fi

OUTPUT="${OUTPUT:-${REPO_ROOT}/_output}"

err_report() {
echo "Exited with error on line $1"
}
trap 'err_report $LINENO' ERR

# Parameters

# Parameters required to be set by caller for dev environment creation only:
# AUTHENTICATOR_IMAGE
# ADMIN_ARN

# Parameters with sane defaults:
# Parameters with sane defaults:
AUTHENTICATOR_BIN="${AUTHENTICATOR_BIN:-${OUTPUT}/bin/aws-iam-authenticator}"
REGION="${REGION:-us-west-2}"
APISERVER_URL="${APISERVER_URL:-https://127.0.0.1:6443}"
Expand Down

0 comments on commit 4caf6ad

Please sign in to comment.