GitHub Cloud Build Integration with multiple cloudbuild.yamls

1,407 views
Skip to first unread message

Jackson Delahunt

unread,
Aug 20, 2018, 9:28:51 AM8/20/18
to Google Cloud Developers
GitHub's Google Cloud Build integration does not detect a cloudbuild.yaml or Dockerfile if it is not in the root of the repository.

When using a monorepo that contains multiple cloudbuild.yamls, how can GitHub's Google Cloud Build integration be configured to detect the correct cloudbuild.yaml?

File paths:

services/api/cloudbuild.yaml
services/nginx/cloudbuild.yaml
services/websocket/cloudbuild.yaml

Cloud Build integration output:

Failed build

Amruth (Google Cloud Support)

unread,
Aug 22, 2018, 9:05:33 AM8/22/18
to Google Cloud Developers
You could follow the custom build steps that has setup for Docker and cloudbuild.yaml

Jackson Delahunt

unread,
Aug 27, 2018, 4:51:11 PM8/27/18
to Google Cloud Developers
I'm not sure I understand your suggestion. Are you saying I should create a top level cloudbuild.yaml file that builds the cloudbuild.yamls in my subfolders?

Katayoon (Cloud Platform Support)

unread,
Sep 3, 2018, 5:07:13 PM9/3/18
to Google Cloud Developers
Builds using the GitHub App is an alpha release and the Cloud Build product team welcome any feature request on this product. I have created a feature request on this topic however there is no ETA or guarantee of implementation. You may star the feature request for further updates.
Reply all
Reply to author
Forward
0 new messages