Skip to content

Remove .json files runtimes from DS notebook & removed the COPY instruction of them on the Dockerfile #943

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

Merged
merged 4 commits into from
Apr 10, 2025

Conversation

atheo89
Copy link
Member

@atheo89 atheo89 commented Mar 10, 2025

Remove .json files runtimes from DS notebook & removed the COPY instruction of them on the Dockerfile.

Related to: https://issues.redhat.com/browse/RHOAIENG-20241
Depends-on : opendatahub-io/kubeflow#576

Description

How Has This Been Tested?

  1. Spawn a jupyterlab notebook
  2. On runtimes menu on the left, check that there are not the runtimes embedded.

Note: Will be mounted via configmap from now on (opendatahub-io/kubeflow#576)

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@openshift-ci openshift-ci bot requested review from jstourac and paulovmr March 10, 2025 11:10
@openshift-ci openshift-ci bot added the size/m label Mar 10, 2025
@atheo89
Copy link
Member Author

atheo89 commented Mar 10, 2025

/hold
Keep this PR on hold till the corresponding one on odh-notebook-controller is merged.

@openshift-ci openshift-ci bot added size/m and removed size/m labels Mar 10, 2025
@atheo89 atheo89 force-pushed the follow-up-runtimes branch from c6d6421 to 1ef39f2 Compare March 19, 2025 16:04
@openshift-ci openshift-ci bot added size/m and removed size/m labels Mar 19, 2025
@atheo89 atheo89 added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Mar 19, 2025
@atheo89 atheo89 changed the title (Case 1) Remove .json files runtimes from DS notebook & removed the COPY instruction of them on the Dockerfile Remove .json files runtimes from DS notebook & removed the COPY instruction of them on the Dockerfile Mar 19, 2025
@openshift-ci openshift-ci bot added size/m and removed size/m labels Mar 19, 2025
@jiridanek
Copy link
Member

error: build error: building at STEP "COPY ${DATASCIENCE_SOURCE_CODE}/runtime-images/ /opt/app-root/share/jupyter/metadata/runtime-images/": checking on sources under "/tmp/build/inputs": copier: stat: "/jupyter/datascience/ubi9-python-3.11/runtime-images": no such file or directory

this is legit fail?

@jiridanek
Copy link
Member

/lgtm

@atheo89 atheo89 force-pushed the follow-up-runtimes branch from e4a7b44 to 63b14c2 Compare April 8, 2025 15:40
@openshift-ci openshift-ci bot added size/l and removed size/l labels Apr 8, 2025
@atheo89
Copy link
Member Author

atheo89 commented Apr 8, 2025

The error message tells

Please run 'bash ci/generate_code.sh' (the command from the previous step), commit the changed files locally, and push again.

Thanks, i didn't noticed that in the beginning I was checking on the errors 🤣

@jiridanek
Copy link
Member

error: unable to copy layer sha256:671e140f1b5a4e81714622c975dd9e0ca4c51cc8d9309ce66151dab85aa19fda to quay.io/opendatahub/workbench-images: Patch "https://quay.io/v2/opendatahub/workbench-images/blobs/uploads/efb4c063-2ff0-4f4c-b334-d76da8831580": unexpected EOF

Clearly infra issue

@jiridanek
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Apr 8, 2025
@atheo89 atheo89 requested review from andyatmiami and removed request for paulovmr April 9, 2025 07:39
@openshift-ci openshift-ci bot added size/l and removed size/l labels Apr 10, 2025
@jstourac
Copy link
Member

This LGTM in general. One question - update of the https://github.com/opendatahub-io/notebooks/blob/main/ci/check-runtime-images.sh check is planned as a separate PR? After this change the script is irrelevant until we rewrite it or incorporate the check into some other script. Let me know, I'm happy to update the script.

/lgtm

@atheo89
Copy link
Member Author

atheo89 commented Apr 10, 2025

This LGTM in general. One question - update of the https://github.com/opendatahub-io/notebooks/blob/main/ci/check-runtime-images.sh check is planned as a separate PR? After this change the script is irrelevant until we rewrite it or incorporate the check into some other script. Let me know, I'm happy to update the script.

/lgtm

Thanks for the review! The update wasn’t planned as part of this change. It would be great if you could take over the update.

@jstourac
Copy link
Member

jstourac commented Apr 10, 2025

Thanks for the review! The update wasn’t planned as part of this change. It would be great if you could take over the update.

Okay, I'll raise a PR with the changes. Please note that it seems like images we currently refer in the imagestreams yaml files are a bit outdated (they still refer themselves as build from 2024b), so we should also update our runtimes we refer.

FTR: #1013

@atheo89
Copy link
Member Author

atheo89 commented Apr 10, 2025

Thanks for the review! The update wasn’t planned as part of this change. It would be great if you could take over the update.

Okay, I'll raise a PR with the changes. Please note that it seems like images we currently refer in the imagestreams yaml files are a bit outdated (they still refer themselves as build from 2024b), so we should also update our runtimes we refer.

FTR: #1013

Great! I just triggered that gha to update the runtimes with the new builds : https://github.com/opendatahub-io/notebooks/actions/runs/14379142856/job/40318553770
once the PR will generated and merged it and it we solve the build reference.

@atheo89
Copy link
Member Author

atheo89 commented Apr 10, 2025

This is done: #1014

@atheo89
Copy link
Member Author

atheo89 commented Apr 10, 2025

/approve

Copy link
Contributor

openshift-ci bot commented Apr 10, 2025

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@atheo89
Copy link
Member Author

atheo89 commented Apr 10, 2025

/override ci/prow/notebook-cuda-jupyter-pt-ubi9-python-3-11-pr-image-mirror ci/prow/notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror ci/prow/rocm-notebooks-e2e-tests

Copy link
Contributor

openshift-ci bot commented Apr 10, 2025

@atheo89: Overrode contexts on behalf of atheo89: ci/prow/notebook-cuda-jupyter-pt-ubi9-python-3-11-pr-image-mirror, ci/prow/notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror, ci/prow/rocm-notebooks-e2e-tests

In response to this:

/override ci/prow/notebook-cuda-jupyter-pt-ubi9-python-3-11-pr-image-mirror ci/prow/notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror ci/prow/rocm-notebooks-e2e-tests

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.

@openshift-merge-bot openshift-merge-bot bot merged commit dfc2bf7 into opendatahub-io:main Apr 10, 2025
42 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/l tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants