NO-JIRA: Move synthetic release flag from BigQuery to config#3560
NO-JIRA: Move synthetic release flag from BigQuery to config#3560smg247 wants to merge 1 commit into
Conversation
The Synthetic bool on the BigQuery Releases table was non-nullable and forced anyone running `make update-variants` to have GCP service account credentials. Since the customizations file already defines which releases are synthetic, the flag now lives in the ReleaseConfig struct (synthetic: true in YAML) instead of being queried from BigQuery. - Add Synthetic bool to ReleaseConfig and mark all 12 synthetic releases in openshift-customizations.yaml - Refactor BuildSyntheticReleaseJobOverrides to use config directly, removing the BigQuery releaseConfigs parameter - Remove Synthetic from ReleaseRow and Release BQ types - Remove BigQuery/GCP flags from variants snapshot command; update-variants no longer requires credentials - Regenerate openshift.yaml locally with changes from openshift/ci-tools#5210 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@smg247: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
WalkthroughThis PR refactors synthetic release identification from a BigQuery-dependent external list to a configuration-level boolean field. The changes move the ChangesSynthetic Release Configuration Refactor
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error, 2 warnings)
✅ Passed checks (17 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: smg247 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Scheduling required tests: |
|
@smg247: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
The Synthetic bool on the BigQuery Releases table was non-nullable and forced anyone running
make update-variantsto have GCP service account credentials. Since the customizations file already defines which releases are synthetic, the flag now lives in the ReleaseConfig struct (synthetic: true in YAML) instead of being queried from BigQuery.sippy-config-generator: add Synthetic field to ReleaseConfig ci-tools#5210 (this will be overwritten anyways the next time the job runs after both PRs are merged)Summary by CodeRabbit
New Features
Refactor
Chores