Closed josekasna closed 11 months ago
Hi there @josekasna :wave:!
Thank you for opening an issue. Our team will triage this as soon as we can. Please take a moment to review the troubleshooting steps which lists common error messages and their resolution steps.
Hi @josekasna - you can find instructions for sharing the complete logs and YAML files in the TROUBLESHOOTING guide. Do you have a smaller/shorter action.yml that reproduces the issue?
Hi @sethvargo , thanks for the quick response. The full YAML is already here, just a bit anonymised. I did just sent the original one + logs to the referred e-mail.
Let me know if that's enough or if you want me to create a new one that's shorter, I can test it out as well.
Cheers!
While reviewing it here, but I don't know the internals of the auth
action:
noticed we are using actions/checkout@v3
while the docs mention Run actions/checkout@v4
?
Could that be a problem ?
Thanks!
I think this may less to do with the action, but more to do with the Workload Identity Federation config side of things.
I noticed a change, where, you could "Grant access" => "CONNECTED SERVICE ACCOUNTS" and would select "all users from the pool" and now, it seems, svc account needs filter at their level and I may be missing a mandatory attribute in that ?
Will copy from the provider's config and try again.
This "Entire Pool" used to be there, but it's not anymore (this is from a previous environment where the setup was done).
I'll close this for now until I can make sure the environments configs between the working and not working actions are the same.
Sorry for the confusion.
TL;DR
google-github-actions/auth@v1 works but v2 fails with:
Expected behavior
Run google-github-actions/auth@v2 Created credentials file at "/home/runner/work/blah/blah/gha-creds-74181985507fbc95.json"
Observed behavior
Action YAML
Log output
Additional information
Can share the full debug logs on a safely manner (e-mail?)
I've anonymised some details in the YAML file, but the original structure is the same. Ok to share it over a safer place too.
I can also share the working v1 logs.
Cheers.