gcloud

The Google Cloud CLI, from Google's official apt repository.

Installs the Google Cloud CLI (gcloud).

devtools:
  - name: gcloud

The version field is not used by this recipe.

What it does

Declares Google’s Cloud SDK apt repository and its signing key, then installs the google-cloud-cli package through the normal repository and package phases.

Debian and Ubuntu only

There is no musl build of the Google Cloud CLI. On Alpine this devtool fails with an explicit message rather than installing something subtly broken.

Example

A cloud-operations workstation with all three vendor CLIs and browser-relayed logins:

devtools:
  - name: gcloud
  - name: aws
  - name: az
  - name: passthrough-www-browser
defaultLocalBinding:
  enabled: true
  urlForward:
    enabled: true
    open: true

gcloud auth login inside the workstation then opens its consent URL in your laptop’s browser.

Notes

  • The repository is added declaratively, so it interleaves with your own packageRepositories and packages and the index is refreshed once.
  • Authenticating gcloud is a runtime step inside the workstation; Ringleader does not inject cloud credentials into a workstation.