OCPSTRAT-3686: Inject the layered image into a configurable env var for prow jobs #825
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 222 lines diff across 2 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.323
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #825"
general
weight: 0.35
JoelSpeed
Layered releases are not release payloads: each tag is a reference to a single pre-built image in an external repository, and the controller never mirrors it. Setting RELEASE_IMAGE_LATEST to that image would break the install, and IMAGE_FORMAT / IMAGE_ cannot be resolved at all because there is no mirror imagestream.
Instead, prow jobs for layered releases now get the image from the source of the tag injected into a single environment variable, which is also passed through to ci-operator as a multi stage parameter. This lets a layered job install OpenShift from the release named in its own configuration while overriding just the one image within its steps.
The variable name defaults to LAYERED_IMAGE_LATEST and can be set stream wide via
layeredImageEnvVaron the release config, or per job via the same field on a verify or periodic entry, where the job level value wins. Names are validated when the release config is parsed so that an invalid name is rejected up front rather than producing an unusable prow job.Periodics also no longer fail to schedule on layered streams: GetMirror is skipped entirely rather than treated as a fatal error.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Layered releases can pass their container image to verification and periodic jobs through a configurable environment variable. Set the variable for a release or individual job; job-level settings take precedence, and the default is
LAYERED_IMAGE_LATEST.Invalid environment-variable names are rejected during release configuration validation. Layered releases require a tag that references a container image.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->