enabling 4.22 to be used in the hosted pipeline#967
Conversation
Signed-off-by: Adam D. Cornett <adc@redhat.com>
Code Review by Qodo
1. Duplicated max version constant
|
PR Summary by QodoEnable OCP 4.22 in hosted preflight pipeline WalkthroughsDescription• Bump hosted pipeline default OCP version to 4.22. • Raise max openshift-ci supported version gate to 4.22. • Keep version comparison logic intact while enabling newer clusters. Diagramgraph TD
F["preflight-trigger.yml"] --> P(["Preflight trigger task"]) --> R{{"openshift-ci steps"}}
P --> J{{"ProwJob templates"}}
P --> V["ocp_version default: 4.22"]
subgraph Legend
direction LR
_file["Template file"] ~~~ _task(["Task/logic"]) ~~~ _ext{{"External system"}}
end
High-Level AssessmentThe following are alternative approaches to this PR: 1. Centralize supported OCP versions in a single variable/source
2. Derive max supported version dynamically from openshift-ci metadata
Recommendation: For a minimal, low-risk enablement, this PR’s direct bump to 4.22 is appropriate. If 4.xx bumps are frequent, consider centralizing the max supported version to avoid duplicated DPTP_VER updates and reduce drift between script sections. File ChangesOther (1)
|
|
/lgtm |
Merge Request Checklists