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

chore: add options.logging in cloud build trigger configs #921

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

mpeddada1
Copy link
Contributor

Emulating solution in googleapis/sdk-platform-java#3223 to address the following error in newly created cloudbuild triggers:

Your build failed to run: generic::invalid_argument: if 'build.service_account' is specified, the build must either (a) specify 'build.logs_bucket', (b) use the REGIONAL_USER_OWNED_BUCKET build.options.default_logs_bucket_behavior option, or (c) use either CLOUD_LOGGING_ONLY / NONE logging options

@mpeddada1 mpeddada1 requested a review from a team as a code owner October 9, 2024 21:26
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Oct 9, 2024
@mpeddada1
Copy link
Contributor Author

The failure in downstream / dependencies (11, java-spanner) isn't related to the changes in this PR:

Error:  +-com.google.cloud:google-cloud-spanner:6.77.1-SNAPSHOT
Error:    +-com.google.api.grpc:grpc-google-common-protos:2.46.0
Error:      +-io.grpc:grpc-protobuf-lite:1.67.1 [runtime] (managed) <-- io.grpc:grpc-protobuf-lite:1.67.1 [runtime]
Error:  and
Error:  +-com.google.cloud:google-cloud-spanner:6.77.1-SNAPSHOT
Error:    +-com.google.cloud:google-cloud-monitoring:3.52.0
Error:      +-io.grpc:grpc-protobuf-lite:1.67.1 [runtime] (managed) <-- io.grpc:grpc-protobuf-lite:1.68.0 [runtime]
Error:  ]

@mpeddada1 mpeddada1 merged commit 092d2b2 into main Oct 10, 2024
58 of 59 checks passed
@mpeddada1 mpeddada1 deleted the logging-cloud-build branch October 10, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants