-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloudbuild trigger tied to a github repo, but invoked manually. #10779
Cloudbuild trigger tied to a github repo, but invoked manually. #10779
Comments
It seems like this feature request boils down to to a request for |
I would like to work on this issue. I have added support for it on my fork of magic-modules here. I will be submitting a PR soon |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Creating a cloudbuild trigger that is tied to a github repo, but invoked manually.
I am trying to build a cloudbuild trigger that is tied to a github repo, but is triggered manually. When code changes occur I do not want the build job to start, there’s a separate process that invokes the trigger and causes the build to start.
At the moment, the github block requires the user to:
In the console, it is possible to create a cloudbuild trigger that is tied to github and invoked manually. Observing the request and reading the API Documentation, it is possible to do this via the API also. Although, not via the gcloud CLI.
Calling POST at
https://cloudbuild.googleapis.com/v1/projects/{projectId}/triggers
with the sample payload:Results in a 200, with the following response:
New or Affected Resource(s)
resource_cloubuild_trigger.go
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: