From 221e39492d21dd24a3f13edf63f9a2e47cb2ac70 Mon Sep 17 00:00:00 2001 From: keskiju Date: Fri, 13 Dec 2024 00:40:44 +0200 Subject: [PATCH] chore: debug gcp_auth_already_done --- plugins/gcp/hooks/pre-50 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/gcp/hooks/pre-50 b/plugins/gcp/hooks/pre-50 index 0f8e952b..5e25d50b 100755 --- a/plugins/gcp/hooks/pre-50 +++ b/plugins/gcp/hooks/pre-50 @@ -4,6 +4,12 @@ [[ $gcp_auth_already_done != "true" ]] || taito::skip_to_next "${@}" +if [[ ${taito_verbose:-} == true ]]; then + echo "gcp_auth_already_done: $gcp_auth_already_done" +fi + +export gcp_auth_already_done=true + # Authentication if [[ ${taito_command:?} == "env-apply" ]] && [[ ${taito_mode:-} != "ci" ]]; then taito::print_plugin_title @@ -74,6 +80,4 @@ if [[ $force_kube_login_hack == "true" ]] || ( \ fi fi -export gcp_auth_already_done=true - taito::call_next "${@}"