Update Konflux pipelines: Fix OPM for OCP 5.x, update Go 1.26 builder, migrate to roxctl-scan #1008
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 426 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.362
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.068
Real PR Conversation Timeline
1 comments
"Review active on #1008"
general
weight: 0.35
dsimansk
Summary
This PR includes three important updates to Konflux pipeline configurations and related tooling:
1. Fix OPM image selection for OpenShift 5.x versions
2. Update Go 1.26 builder image references
3. Migrate from clair-scan to roxctl-scan (ACS)
Changes
1. Fix OPM Image Selection for OpenShift 5.x
Problem: OPM_IMAGE was incorrectly using
openshift4registry paths for OpenShift 5.0, resulting in non-existent image references.Solution:
extractMinor()→extractMajorMinor()to handle both major and minor versionsgetOPMImage()to support version-specific registry paths:- OpenShift 4.x:
registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.X- OpenShift 5.x:
registry.redhat.io/openshift5/ose-operator-registry-rhel9:v5.XFiles changed:
pkg/prowgen/prowgen_konflux.go2. Update Go 1.26 Builder Image References
Problem: Go 1.26 configurations were using incorrect or outdated builder image references.
Solution:
Files changed:
config/serverless-operator.yaml(if applicable)3. Migrate from clair-scan to roxctl-scan (ACS)
Problem: clair-scan is being deprecated in favor of Red Hat Advanced Cluster Security (ACS) scanner.
Solution:
quay.io/konflux-ci/tekton-catalog/task-roxctl-scan:0.1@sha256:97e2b2cdca9110fdc8a93ba585a1a1a743f989f2fd85f4073f6e5ea9ad2ce828image-digest,image-url) for compatibilityFiles changed:
pkg/konfluxgen/docker-build.yamlpkg/konfluxgen/bundle-build.yamlpkg/konfluxgen/docker-java-build.yamlpkg/konfluxgen/kustomize/docker-build.yamlpkg/konfluxgen/testdata/docker-build.yamlpkg/konfluxgen/testdata/docker-build-expected.yamlpkg/konfluxgen/konfluxgen_test.goAffected pipelines:
Testing
go test ./pkg/prowgen/...)go test ./pkg/konfluxgen/...)Impact
After Merge:
1. FBC applications for OpenShift 5.x will use correct OPM images
2. Dockerfiles generated with Go 1.26 will reference valid builder images
3. All Konflux pipelines will use the new ACS scanner instead of deprecated clair-scan
4. Run
make generate-cito propagate changes to all managed repositoriesMigration Notes
This PR aligns with the platform-level roadmap:
Related