Migrate from deprecated oc-installer to openshift-tools-installer - #305
Conversation
|
Warning Review limit reached
Next review available in: 13 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe remote and local install test flows replace the deprecated ChangesOpenShift client installer migration
Estimated code review effort: 1 (Trivial) | ~5 minutes Assessment against linked issues
Suggested reviewers: ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 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 @.github/workflows/jobs.yml:
- Line 209: Replace both redhat-actions/openshift-tools-installer@v2 references
in .github/workflows/jobs.yml at lines 209-209 and 423-423 with the same
resolved immutable v2 commit SHA, retaining the # v2 readability comment at each
site.
🪄 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: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 39e91a07-8cb0-460b-abca-5c09469797fd
📒 Files selected for processing (1)
.github/workflows/jobs.yml
Replace redhat-actions/oc-installer with redhat-actions/openshift-tools-installer@v2, pinned to its commit SHA for supply-chain security. Uses semver `oc: "4"` input. Closes quay#304 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
d38c603 to
5a5e646
Compare
|
Hey @harishsurf @jonathankingfc @HammerMeetNail — this is ready for review when you get a chance. It's a straightforward migration from the deprecated |
|
Thanks as always @snecklifter ❤️ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #305 +/- ##
=======================================
Coverage 27.79% 27.79%
=======================================
Files 6 6
Lines 608 608
=======================================
Hits 169 169
Misses 436 436
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Summary
redhat-actions/oc-installer(pinned to SHA) withredhat-actions/openshift-tools-installer@v2in both jobs in the CI workflowoc: "4"to match the previousoc_version: "4.6"while allowing newer 4.x patch releasesWhy
redhat-actions/oc-installeris deprecated:openshift-tools-installeris the actively maintained successor, supporting semver ranges, arm64, cross-workflow caching, and 18+ tools.Closes #304
Test plan
ocsuccessfully with the new action