ART-19029: feat(doozer): use openshift/golang-builder for released golang-builder pullspec - #2937
Conversation
|
Skipping CI for Draft Pull Request. |
|
@lgarciaaco: This pull request references ART-19029 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the sub-task to target the "5.0.0" version, but no target version was set. 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift-eng/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (7)
🚧 Files skipped from review as they are similar to previous changes (7)
WalkthroughThe change adds Quay fallback resolution and routes ChangesGolang builder routing
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant UpdateGolang
participant PullspecHelper
participant Registry
UpdateGolang->>PullspecHelper: Request builder pullspec
PullspecHelper->>PullspecHelper: Select application from NVR
PullspecHelper->>Registry: Construct registry.redhat.io pullspec
Registry-->>UpdateGolang: Return builder pullspec
🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
a159171 to
3e0c694
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@doozer/tests/backend/test_rebaser.py`:
- Line 1589: Rename
test_resolve_member_parent_late_resolve_fails_when_art_base_missing to reflect
the golang-builder case, and update its rh_pullspec expectation to
registry.redhat.io/openshift/golang-builder so it matches the changed mapping
while preserving the existing failure assertion.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift-eng/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 922c8060-11bd-4463-8dca-691db687ce48
📒 Files selected for processing (7)
doozer/doozerlib/constants.pydoozer/doozerlib/image.pydoozer/doozerlib/util.pydoozer/tests/backend/test_rebaser.pyelliott/elliottlib/cli/get_golang_report_cli.pypyartcd/pyartcd/pipelines/update_golang.pypyartcd/tests/pipelines/test_update_golang.py
…lang-builder pullspec Route openshift-golang-builder NVRs inside rh_art_images_base_pullspec so rebaser and pipelines stay in sync with konflux-release-data delivery. update-golang reuses that helper. Includes CI test and format fixes. rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
c5a05ff to
45e423c
Compare
|
@lgarciaaco: The following test failed, say
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. |
Summary
rh_art_images_base_pullspecso they resolve toregistry.redhat.io/openshift/golang-builderinstead ofart-images-base.update-golangto build stream pullspecs via the same helper to avoid drift.Problem
Before: Doozer/pyartcd assumed published golang builders lived under
openshift/art-images-base, which no longer matches Konflux silent-release delivery for golang builders.After:
openshift-golang-builder*NVR strings map toopenshift/golang-builder; other silent-released bases stay onopenshift/art-images-base. Rebase call sites unchanged.Links
Testing
make/ ruff as inmake testfront half (pass).pytest doozer/tests/ -k 'not FindGoMainPackages'(908 passed — excludes macOS/private/vartemp-path flakes inTestFindGoMainPackages),pytest pyartcd/testsfrompyartcd/,pytest elliott/testsfromelliott/,pytest artcommon/tests+ocp-build-data-validator/tests(all pass).make testcurrently fails on Darwin for unrelatedTestFindGoMainPackagespath canonicalization and parallel runnergrep -Pquirks.Summary by CodeRabbit
New Features
openshift/golang-builderrepository.Bug Fixes