AGENT-1573: Add release-5.1 config for ISOBuilder - #327
Conversation
|
@pawanpinjarkar: This pull request references AGENT-1573 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 story 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. |
WalkthroughThe PR adds a v1beta1 appliance configuration with registry, source, image, and interactive flow settings. It also configures the Red Hat Operator Index v4.22 with operator packages and channels. ChangesAppliance configuration
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
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 `@tools/iso_builder/config/5.1/appliance-config.yaml`:
- Line 12: Update the support-tools image reference in the appliance
configuration to replace the mutable latest tag with an approved immutable
digest or version-specific tag, preserving the existing registry repository.
🪄 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/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: c363d6bf-d8aa-477d-8295-f05ee387d6de
📒 Files selected for processing (1)
tools/iso_builder/config/5.1/appliance-config.yaml
| imageRegistry: | ||
| useBinary: true | ||
| additionalImages: | ||
| - name: registry.redhat.io/rhel9/support-tools:latest |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -eu
printf '%s\n' '--- appliance-config.yaml ---'
cat -n tools/iso_builder/config/5.1/appliance-config.yaml | sed -n '1,80p'
printf '%s\n' '--- related files ---'
fd -t f . tools/iso_builder | sort
printf '%s\n' '--- references to appliance-config and support-tools ---'
rg -n -C 3 'appliance-config|support-tools|registry\.redhat\.io/rhel9' tools README.md .github 2>/dev/null || trueRepository: openshift/agent-installer-utils
Length of output: 9940
🏁 Script executed:
#!/bin/bash
set -eu
printf '%s\n' '--- build script ---'
cat -n tools/iso_builder/hack/build-ove-image.sh | sed -n '1,130p'
printf '%s\n' '--- Dockerfile and README references ---'
cat -n tools/iso_builder/Dockerfile | sed -n '1,70p'
rg -n -C 4 'additionalImages|imageRegistry|support-tools|digest|immutable|pull|appliance' \
tools/iso_builder/README.md tools/iso_builder/CLAUDE.md tools/iso_builder/hack \
tools/iso_builder/config 2>/dev/null || true
printf '%s\n' '--- git metadata for target and neighboring configs ---'
git diff --stat
git status --short
git ls-files -s tools/iso_builder/config/5.1/appliance-config.yamlRepository: openshift/agent-installer-utils
Length of output: 44555
Pin the support-tools image to an immutable reference.
:latest can embed different image content in different ISO builds. Use an approved digest or immutable version tag.
🤖 Prompt for 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.
In `@tools/iso_builder/config/5.1/appliance-config.yaml` at line 12, Update the
support-tools image reference in the appliance configuration to replace the
mutable latest tag with an approved immutable digest or version-specific tag,
preserving the existing registry repository.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pawanpinjarkar The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold till 5.1 nightly is available |
|
@pawanpinjarkar: all tests passed! 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 by CodeRabbit
v1beta1.