This is a Go application for initiating Cloud Build triggers on Google Cloud Platform.
Before using this application, ensure you have the following in place:
- Google Cloud Account
- Google Cloud Project
- Google Cloud Authentication
Clone this repository to your local machine:
git clone https://github.com/DanielSuhett/deploy-to-cloudbuild.git
Install dependencies using the following command:
go mod tidy
Build the application:
go build -o cloud-build-runner
Run the configuration:
./cloud-build-runner config
Input YOUR_PROJECT
with the appropriate values for your project.
./cloud-build-runner deploy --trigger YOUR_TRIGGER --branch YOUR_BRANCH
ReplaceYOUR_TRIGGER
, and YOUR_BRANCH
with the appropriate values for your project.
./cloud-build-runner status --trigger YOUR_TRIGGER
Replace YOUR_TRIGGER
with the appropriate values for your project.
This project is licensed under the MIT License - see the LICENSE file for details.