Zebra/.github/workflows
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
..
scripts ci(ssh): revert using `ssh-compute` action & increase sshd connection limit (#5367) 2022-10-11 00:11:49 +00:00
build-crates-individually.patch.yml build(deps): bump actions/checkout from 3.0.2 to 3.1.0 (#5329) 2022-10-05 21:45:06 +00:00
build-crates-individually.yml build(deps): bump actions/checkout from 3.0.2 to 3.1.0 (#5329) 2022-10-05 21:45:06 +00:00
build-docker-image.yml build(deps): bump google-github-actions/auth from 0.8.3 to 1.0.0 (#5596) 2022-11-10 00:12:39 +00:00
continous-delivery.yml build(deps): bump google-github-actions/setup-gcloud from 1.0.0 to 1.0.1 (#5614) 2022-11-10 17:16:52 +00:00
continous-integration-docker.patch-always.yml change(ci): only run the send transaction test on the main branch (#5480) 2022-10-26 21:26:07 +00:00
continous-integration-docker.patch.yml fix(tests): add submitblock test to CI, and avoid copying the cached state directory in other tests (#5589) 2022-11-10 03:40:21 +00:00
continous-integration-docker.yml build(deps): bump google-github-actions/setup-gcloud from 1.0.0 to 1.0.1 (#5614) 2022-11-10 17:16:52 +00:00
continous-integration-os.patch.yml Add a missing runs-on field (#5562) 2022-11-07 15:13:06 +10:00
continous-integration-os.yml build(deps): bump regex from 1.6.0 to 1.7.0 (#5565) 2022-11-09 07:36:10 +00:00
coverage.patch.yml ci(test): run build and test jobs on cargo and clippy config changes (#4941) 2022-08-26 18:06:32 +00:00
coverage.yml fix(build): restore Rust stable in builds and beta for CI (#5515) 2022-11-01 10:51:29 +10:00
delete-gcp-resources.yml build(deps): bump google-github-actions/setup-gcloud from 1.0.0 to 1.0.1 (#5614) 2022-11-10 17:16:52 +00:00
deploy-gcp-tests.yml feat(ssh): enable OS Login for GCP test instances (#5602) 2022-11-16 14:27:09 +00:00
docs.yml build(deps): bump w9jds/firebase-action from 11.9.0 to 11.16.0 (#5632) 2022-11-15 18:13:26 +00:00
lint.patch.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
lint.yml build(deps): bump tj-actions/changed-files from 34.3.4 to 34.4.0 (#5626) 2022-11-14 16:55:18 +00:00
release-binaries.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
release-drafter.yml change(release): Automatically split CHANGELOG entries into categories (#5203) 2022-09-27 12:41:55 +00:00
zcash-lightwalletd.patch.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
zcash-lightwalletd.yml build(deps): bump google-github-actions/setup-gcloud from 1.0.0 to 1.0.1 (#5614) 2022-11-10 17:16:52 +00:00
zcash-params.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
zcashd-manual-deploy.yml build(deps): bump google-github-actions/setup-gcloud from 1.0.0 to 1.0.1 (#5614) 2022-11-10 17:16:52 +00:00