Skip to content
Snippets Groups Projects
Select Git revision
  • 075878627fdc4848eb103e49f073030456c9d320
  • master default protected
  • prajwal/develop
  • v1-module-test
4 results

cloud-run-go

Cloud Build Go Client

A Go project for interacting with Google Cloud Build, focused on managing connections and other Cloud Build operations.

Features

  • Creating connections in Cloud Build

Prerequisites

  • Go 1.19+
  • Google Cloud SDK installed and configured
  • Appropriate permissions to use Cloud Build

Setup

  1. Clone this repository
  2. Run go mod download to fetch dependencies
  3. Set up Google Cloud authentication:
    gcloud auth application-default login

Usage

To run the application:

go run main.go

You can also build the binary:

go build -o cloudbuild-client
./cloudbuild-client

Configuration

The application uses the default Google Cloud credentials. Make sure you have the necessary permissions to create connections in Cloud Build.

License

MIT