Ad

setup-gcloud: Installs and configures gcloud CLI

This action installs and configures the Google Cloud SDK (gcloud CLI) within GitHub Actions workflows. It streamlines the setup process for interacting with Google Cloud services.
Screenshot of google-github-actions/setup-gcloud homepage

The setup-gcloud action simplifies the process of installing and configuring the Google Cloud SDK, specifically the gcloud command-line interface, within GitHub Actions workflows. This action handles the installation of the Cloud SDK, ensuring the necessary tools are available for interacting with various Google Cloud services like BigQuery, Compute Engine, and Cloud Storage. By automating this setup, developers can easily integrate gcloud commands into their CI/CD pipelines.

This action provides a straightforward way to manage gcloud installations in GitHub Actions. It supports specifying a Cloud SDK version, allowing for flexibility and control over the installed components. It also offers options to skip installation and leverage system-supplied versions. The integration with Workload Identity Federation provides a secure and recommended authentication method, enhancing workflow security.

  • Cloud SDK Installation: Automates the installation of the Google Cloud SDK.
  • Version Control: Allows specifying the desired Cloud SDK version.
  • Authentication: Supports authentication via Workload Identity Federation and service account keys.
  • Component Management: Enables installing additional gcloud components.
  • Self-Hosted Runners: Provides options for self-hosted runners.
  • Caching: Option to cache the installed gcloud binaries for future runs.
  • Output Version: Reports the installed gcloud version after setup.

The project is actively maintained and has a significant number of stars and forks, indicating community adoption. Recent commits suggest ongoing development and support. Clear documentation and usage examples contribute to its reliability. It provides a stable, well-documented method for setting up the gcloud CLI in GitHub Actions.

Developers using Google Cloud services within their GitHub Actions workflows benefit from this action by streamlining the setup of the gcloud CLI. It eliminates the need for manual installation steps, ensuring consistent and secure access to Google Cloud resources. This reduces complexity and promotes automation in cloud deployments and management.

Summarize:
Share:
Stars
1,897
Forks
530
Issues
6
Created
6 years ago
Commit
3 months ago
License
APACHE-2.0
Archived
No
Updated 12 days ago

Similar Repositories