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
- Clone this repository
- Run
go mod download
to fetch dependencies - 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