Repository navigation
test(orchestrator-infra): add chart-testing CI for olmVersion v1 (RHIDP-17168) - #548
Conversation
…IDP-17168) Chart-testing only exercised the OLM v0 path; add a v1 CI values file, OLM v1 API CRD fixtures, and workflow hooks so both install paths are validated.
PR Summary by QodoAdd OLM v1 chart-testing coverage for orchestrator infrastructure
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Patch bump required by chart-testing when the chart directory changes.
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can route each action level your way: inline, summary, both, or drop |
|
Important The |
…ting-ci-for-olm-version-v-1
…IDP-17168) Document how to refresh the KinD CRD fixture and add a fetch script with --check so updates stay aligned with operator-controller releases. Signed-off-by: Fortune Ndlovu <fndlovu@redhat.com>
cf00686 to
2ee1cff
Compare
…t (#RHIDP-17168) Assign function positional args to locals and drop redundant yq on --check. Signed-off-by: Fortune Ndlovu <fndlovu@redhat.com>
…cs (#RHIDP-17168) Document OLM v1 KinD CRDs in the chart README like Knative CRDs, drop .github/fixtures/README.md, remove redundant helm template CI step, and simplify the fetch script now that ct lint/install cover validation. Signed-off-by: Fortune Ndlovu <fndlovu@redhat.com>
Apply Armel's suggestion: pin OPERATOR_CONTROLLER_VERSION in test-charts, download operator-controller release CRDs at KinD setup, and drop the vendored fixture and fetch script. Signed-off-by: Fortune Ndlovu <fndlovu@redhat.com>
…DP-17168) Explain chart-testing vs OpenShift, KinD fetch behavior, and where to bump OPERATOR_CONTROLLER_VERSION for maintainers. Signed-off-by: Fortune Ndlovu <fndlovu@redhat.com>
|
c67c26c
into
redhat-developer:main



Summary
After RHIDP-14789 merged OLM v1 support into
orchestrator-infra, chart-testing still only ran the v0 path viaci/upstream-olm-values.yaml. Because OLM v0 and v1 can coexist on the same cluster, we should exercise both template and install paths in CI. This change adds a dedicated v1 values file, installs the OLM v1 API CRDs needed forClusterExtensionresources on KinD, and extends the shared test-charts action soorchestrator-infraPRs validate v0 and v1.Follow-up to rm3l’s review on #543. Jira: https://redhat.atlassian.net/browse/RHIDP-17168 (child of RHIDP-8668).
Test plan
pre-commit runon changed files (Helm Docs, jsonschema-dereference)ct lint --charts charts/orchestrator-infra --target-branch main(bothci/upstream-olm-values.yamlandci/upstream-olm-v1-values.yaml)helm templatefor both CI values filesTest Chartsjob (ct install+helm teston KinD with upstream OLM)