-
Notifications
You must be signed in to change notification settings - Fork 78
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
Include script on workbench to copy runtime-image json to relevant path #909
Include script on workbench to copy runtime-image json to relevant path #909
Conversation
0bddf27
to
517b7bc
Compare
517b7bc
to
b23bb0c
Compare
The runtime .json files will be removed later on a separated PR, basically when we will be ready to include to the project the mounting from the |
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.
great work,
Shall we put this work , under dont-merge
till this PR is looked into:opendatahub-io/kubeflow#513 ?
if not, lets add back the stuff that is removed in this PR, and we can merge this and later remove the code, when PR 513 is merged.
one comment, otherwise LGTM we may want to create a simply pytest test for this ensuring that the set of expected json files for the runtime images are placed on the expected path - can be done as a separate task I suppose |
not sure if pytest test would be particularly helpful for this, maybe /lgtm |
@atheo89: The following tests 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. |
/lgtm |
@jiridanek what do you suggest instead? |
merge and pray no, seriously, I think nothing lesser than full e2e with odh-notebook-controller is helpful here, plus maybe playwright to open up the runtimes in elyra afterwards anything less does not really check anything useful, seems to me; but if i was shown pytest test, maybe i'd be proven wrong |
okay, no objections - my point was to have at least something. Having this in e2e is even better. Thus with our current approach that would be |
way less convenient for quickly fixing stuff during development |
@jstourac The cp/mounting process occurs when the notebook starts up within the RHOAI environment, as the notebook-controller incorporates the config map. So, as Jiri mentioned, we may need to test this behavior there. |
Yep, I'm aware 🙂 My original idea for the proposal here was to utilize the current ability of us to run our pytest tests against the kubernetes cluster, so I though about having a notebook controller in place on that cluster for this test. There is very simple check that creates kubernetes instance in GHA already, so we would need to extend this configuration properly. |
Looks fair approach to me. |
Thanks for you review guys i will move this in. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: atheo89 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/override ci/prow/notebooks-ubi9-e2e-tests cluster provisioning seems broken, https://redhat-internal.slack.com/archives/C060A5FJEAD/p1741153298133919 |
@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/notebooks-ubi9-e2e-tests In 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 kubernetes-sigs/prow repository. |
/override ci/prow/images |
@jstourac: Overrode contexts on behalf of jstourac: ci/prow/images In 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 kubernetes-sigs/prow repository. |
@atheo89 , removal of runtime has been done at line 106: 8745417#diff-bf1b39ab6e296ed2806e2d5b1c26436ded10fb59f70b1e94334942808596193dL106 |
Thanks @harshad16 as agreed, I opened this PR to fix this: #944 |
Related to: https://issues.redhat.com/browse/RHOAIENG-20241
Description
This PR include the following changes:
elyra.sh
script to copy the content from mount path/opt/app-root/pipeline-runtimes/
to elyra path/opt/app-root/share/jupyter/metadata/runtime-images/
this take place when the DS notebook starts up. The reason is to avoid override the runtime images that the user may have import by himself.(
quay.io/rh_ee_atheodor/workbench-images@sha256:f2bc105afab97575007a5743e39cc4c045fa276ba8612b6a8241758d48711913
)custom_v3
How Has This Been Tested?
This changes have been tested along with notebook controller (PR soon) by importing the new data science image generated by this PR
These are the logs when the datachience notebook when it get spin up on cluster.

The list of .json comes from the mount assigned on the notebook from the notebook-controller
Merge criteria: