Skip to content

Commit

Permalink
chore: debug gcp_auth_already_done
Browse files Browse the repository at this point in the history
  • Loading branch information
keskiju committed Dec 12, 2024
1 parent 3a0a694 commit 221e394
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions plugins/gcp/hooks/pre-50
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -74,6 +80,4 @@ if [[ $force_kube_login_hack == "true" ]] || ( \
fi
fi

export gcp_auth_already_done=true

taito::call_next "${@}"

0 comments on commit 221e394

Please sign in to comment.