zebra/.github
Gustavo Valverde 844ebf0dbd
feat(ssh): enable OS Login for GCP test instances (#5602)
* feat(ssh): enable OS Login for GCP test instances

* fix(ssh): force service account impersonation for OS Login

* debug: show actual user trying to impersonate SA

* fix(glcloud): configure gcloud before running commands

* fix(ssh): add VM zone to ssh command

* fix(auth): bringing changes from #5614

* fix(auth): impersonation is working as expected now

* fix(gcloud): setup the GCP CLI after authenticating (#5606)

Previous behavior:
`gcloud` commands have been running without an appropiate authentication
as the `auth` auction was sucessfully executed, but the actual gcloud
CLI being used in further jobs was not using the correct configuration
nor credentials

Expected behavior:
All `gcloud` commands should be properly configured and authenticated.

Solution:
Add the `google-github-actions/setup-gcloud` action after each
`google-github-actions/auth` invocation, and before running any `gcloud`
command.

Remove the need of an OAuth Access token when not required by following
steps

* fix(auth): revert to latest version

* fix: wrong replace

* fix(ci): use a specific debian image for VM containers

* fix(ssh): delete generated SSH keys by CI after 30 seconds

* debug: remove debug commands

* fix(compute): use a lightweight container image

* fix(ci): add missing sudo to docker command

* Update .github/workflows/deploy-gcp-tests.yml

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>

* fix(ssh): delete ssh-keys for the specific GHA service account

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>
2022-11-16 14:27:09 +00:00
..
ISSUE_TEMPLATE Remove "solution" from the ticket template (#2385) 2021-06-24 10:43:27 +01:00
PULL_REQUEST_TEMPLATE fix(doc): Use a more reliable release template branch name and docker command (#5519) 2022-11-03 00:28:46 +00:00
workflows feat(ssh): enable OS Login for GCP test instances (#5602) 2022-11-16 14:27:09 +00:00
CODEOWNERS fix(ci): validate tests exit code after reading the container logs (#3968) 2022-04-07 23:16:40 +00:00
dependabot.yml change(release): Automatically split CHANGELOG entries into categories (#5203) 2022-09-27 12:41:55 +00:00
mergify.yml change(ci): Combine high and low Mergify queues into a batched queue (#5201) 2022-09-28 06:34:53 +10:00
pull_request_template.md change(dev): Add CHANGELOG checks to PR review template (#5202) 2022-09-21 18:47:28 +00:00
release-drafter.yml fix(ci): Reduce false positives for the `C-trivial` label (#5309) 2022-10-03 01:45:23 +00:00
zbot.yml Create zbot.yml 2020-06-13 06:15:20 -04:00