Skip to content

[CI] Add BigQuery JobUser role binding for querying operational metrics #535

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

Merged
merged 1 commit into from
Aug 5, 2025

Conversation

jriv01
Copy link
Contributor

@jriv01 jriv01 commented Aug 5, 2025

This change reintroduces a BigQuery role binding that was removed in #525. Now that our CronJob is also querying past data to determine the number of unique LLVM contributors over time, we must grant the associated service account roles/bigquery.JobUser so that the BigQuery client can create query jobs.

This is the error without this binding:

google.api_core.exceptions.Forbidden: 403 POST: Access Denied: User does not have bigquery.jobs.create 
permission in project llvm-premerge-checks.

@jriv01
Copy link
Contributor Author

jriv01 commented Aug 5, 2025

@boomanaiden154 boomanaiden154 merged commit ddc8555 into llvm:main Aug 5, 2025
3 checks passed
@jriv01 jriv01 deleted the bigquery-binding branch August 21, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants