Skip to content
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

ENH: autodetect on buildTrigger #138

Open
muschellij2 opened this issue Oct 27, 2021 · 1 comment
Open

ENH: autodetect on buildTrigger #138

muschellij2 opened this issue Oct 27, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@muschellij2
Copy link
Contributor

As per https://cloud.google.com/build/docs/api/reference/rest/v1/projects.locations.triggers#BuildTrigger:
build_template can be "autodetect". So if build is NULL, file is NULL, then may want to default to autodetect, which I think is the default with the trigger GUI.

Autodetect build configuration. The following precedence is used (case insensitive):

cloudbuild.yaml
cloudbuild.yml
cloudbuild.json
Dockerfile
@MarkEdmondson1234
Copy link
Owner

This has caused me issues in the past so if its there would like it opt-in rather than the opt-out version it was for a while online.

@MarkEdmondson1234 MarkEdmondson1234 added the enhancement New feature or request label Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants