-
Notifications
You must be signed in to change notification settings - Fork 124
RHOAIENG-38634: sync(rstudio): comment out R packages installation same as we do in rhds/notebooks #2674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughTwo RStudio Dockerfiles had their R package installation blocks disabled by commenting out the steps that copy and run Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🔇 Additional comments (2)
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 |
9a0acc7 to
6ee7f55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
rstudio/rhel9-python-3.12/Dockerfile.cuda (1)
175-182: Consistent R package installation disablement across variants.The CUDA variant mirrors the CPU Dockerfile changes exactly, maintaining build consistency. Both CPU and CUDA images will now skip R package installation during build while retaining the R runtime.
Consider adding a note in repository documentation (e.g., README or a dedicated section) clarifying that users can manually install R packages post-deployment if needed, since this step has been disabled. This helps set expectations for users familiar with the previous behavior.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
rstudio/rhel9-python-3.12/Dockerfile.cpu(1 hunks)rstudio/rhel9-python-3.12/Dockerfile.cuda(1 hunks)
🔇 Additional comments (1)
rstudio/rhel9-python-3.12/Dockerfile.cpu (1)
161-168: R package installation correctly disabled and preserved.The commented section cleanly preserves the original installation logic while effectively disabling it during build. This approach is consistent with the cherry-picked change from rhds/notebooks and allows straightforward re-enablement if needed in the future.
|
@jiridanek if these R packages shouldn't be installed, why were they here at the first place? @atheo89 was asking me to turn them back on in this PR, they take lot of time to run. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ide-developer The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
(cherry picked from commit 9ec4b0a)
…endatahub-io#1682) (cherry picked from commit f9624b5)
6ee7f55 to
34a95e2
Compare
|
New changes are detected. LGTM label has been removed. |
|
@jiridanek: The following test failed, say
Full PR test history. Your PR dashboard. 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
https://issues.redhat.com/browse/RHOAIENG-38634
Description
rstudio minimal image should not install this many packages
cherry-picked from
rhds:mainfromodh:mainred-hat-data-services/notebooks#1624How Has This Been Tested?
Self checklist (all need to be checked):
make test(gmakeon macOS) before asking for reviewDockerfile.konfluxfiles should be done inodh/notebooksand automatically synced torhds/notebooks. For Konflux-specific changes, modifyDockerfile.konfluxfiles directly inrhds/notebooksas these require special attention in the downstream repository and flow to the upcoming RHOAI release.Merge criteria:
Summary by CodeRabbit