Open bhack opened 1 year ago
Can you elaborate on : 1) the benefits of doing so? 2) what are the potential downsides if we migrate?
Also it is quite annoying that the Cloudbuild is always in failing by default for every new PR (when it is still not manually triggered).
It makes the PRs status and overview/lists very confusing.
Also it is quite annoying that the Cloudbuild is always in failing by default for every new PR (when it is still not manually triggered).
This is a good point, but I'm not sure we want to invest the resources to fix this at this time. Unfortunately, we don't have the GPU resources to run the tests for every single PR commit.
Unfortunately, we don't have the GPU resources to run the tests for every single PR commit.
I never asked this but as we manually request it to run it doesn't need to fail by default as it is not mandatory to have a default fail status.
I never asked this but as we manually request it to run it doesn't need to fail by default as it is not mandatory to have a default fail status.
Ok, how do we configure that? I'm happy to accept configuration for that. That would be really nice to have it default to yellow status.
Ok, how do we configure that? I'm happy to accept configuration for that. That would be really nice to have it default to yellow status.
I am not a manager of this repo so you need to set yourself: https://cloud.google.com/build/docs/automating-builds/github/build-repos-from-github#different_types_of_github-based_triggers
Then Github Action help community PRs, but it is a distinct topic (it was the other point of this ticket).
Just to make a blackbox reverse engineering, what I suppose is that you have configured it to trigger also on PRs but it is not required as you have probably configure also a custom trigger for the /gcburn
pattern.
Can we express our CloudBuild with the Gooogle Github Action?
This is an official example from the official google cloud Action repo: https://github.com/google-github-actions/setup-gcloud/tree/main/example-workflows/cloud-build
https://github.com/google-github-actions/setup-gcloud/blob/main/example-workflows/cloud-build/.github/workflows/cloud-build.yml