Skip to content

Commit c54371a

Browse files
authored
Merge pull request #686 from opendatahub-io/sync__main__2024a__20240826104809
Sync `2024a` branch with `main` branch
2 parents f8af4e2 + 7e58750 commit c54371a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+6447
-5845
lines changed

.github/workflows/code-quality.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,23 @@ jobs:
116116
echo "Hadolint done"
117117
118118
# This simply checks that the manifests and respective kustomization.yaml finishes without an error.
119+
# Version of the kustomize that operator use in runtime to apply these changes is determined by:
120+
# https://github.com/red-hat-data-services/rhods-operator/blob/7ccc405135f99c014982d7e297b8949e970dd750/go.mod#L28-L29
121+
# and then to match appropriate kustomize release https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv5.0.2
119122
- name: Check kustomize manifest
120123
id: kustomize-manifests
121124
run: |
122-
kubectl version --client=true
125+
KUSTOMIZE_VERSION=5.0.2
126+
wget "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz"
127+
tar -xvf kustomize*
128+
129+
./kustomize version
123130
echo "----------------------------------------------------------"
124-
echo "Starting 'kubectl kustomize manifests/base'"
131+
echo "Starting './kustomize build manifests/base'"
125132
echo "----------------------------------------------------------"
126-
kubectl kustomize manifests/base
133+
./kustomize build manifests/base
127134
128135
echo "----------------------------------------------------------"
129-
echo "Starting 'kubectl kustomize manifests/overlays/additional'"
136+
echo "Starting './kustomize build manifests/overlays/additional'"
130137
echo "----------------------------------------------------------"
131-
kubectl kustomize manifests/overlays/additional
138+
./kustomize build manifests/overlays/additional

.github/workflows/runtimes-digest-updater-upstream.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,23 +78,29 @@ jobs:
7878
"jupyter/datascience/ubi9-python-3.9/runtime-images/datascience-ubi9-py39.json"
7979
"jupyter/datascience/ubi9-python-3.9/runtime-images/pytorch-ubi9-py39.json"
8080
"jupyter/datascience/ubi9-python-3.9/runtime-images/tensorflow-ubi9-py39.json"
81-
"jupyter/datascience/ubi9-python-3.9/runtime-images/ubi9-py39.json")
81+
"jupyter/datascience/ubi9-python-3.9/runtime-images/ubi9-py39.json"
82+
"jupyter/datascience/ubi9-python-3.9/runtime-images/rocm-tensorflow-ubi9-py39.json"
83+
"jupyter/datascience/ubi9-python-3.9/runtime-images/rocm-pytorch-ubi9-py39.json")
8284
8385
for ((i=0;i<${#PATHS[@]};++i)); do
8486
path=${PATHS[$i]}
8587
img=$(cat ${path} | jq -r '.metadata.image_name')
8688
name=$(echo "$path" | sed 's#.*runtime-images/\(.*\)-py.*#\1#')
8789
py_version=$(echo "$path" | grep -o 'python-[0-9]\.[0-9]')
8890
# Handling specific cases
89-
if [[ $name == *tensorflow* ]]; then
91+
if [[ $name == tensorflow* ]]; then
9092
name="cuda-$name"
9193
elif [[ $name == ubi* ]]; then
9294
name="minimal-$name"
9395
fi
9496
registry=$(echo $img | cut -d '@' -f1)
9597
regex="^runtime-$name-$py_version-${{ env.RELEASE_VERSION_N}}-\d+-${{ steps.hash-n.outputs.HASH_N }}\$"
96-
echo "CHECKING: " $regex
9798
latest_tag=$(skopeo inspect docker://$img | jq -r --arg regex "$regex" '.RepoTags | map(select(. | test($regex))) | .[0]')
99+
echo "CHECKING: " $latest_tag
100+
if [[ -z "$latest_tag" ]]; then
101+
echo "No matching tag found"
102+
exit 1
103+
fi
98104
digest=$(skopeo inspect docker://$registry:$latest_tag | jq .Digest | tr -d '"')
99105
output=$registry@$digest
100106
echo "NEW: " $output

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Welcome to the OpenDataHub Notebooks repository! This repository provides a collection of notebooks tailored for data analysis, machine learning, research and coding within the OpenDataHub ecosystem. Designed to streamline data science workflows, these notebooks offer an integrated environment equipped with the latest tools and libraries. These notebooks were created to be used with OpenDataHub ecosystem with the ODH Notebook Controller as the launcher.
88

9-
These workbenches are available at: [quay.io/opendatahub/workbench-images](https://quay.io/opendatahub/workbench-images)
9+
These workbenches are available at: [quay.io/repository/opendatahub/workbench-images](https://quay.io/repository/opendatahub/workbench-images)
1010

1111
## Getting Started
1212
For a deeper understanding of the architecture underlying this repository, please explore our wiki page [Wiki](https://github.com/opendatahub-io/notebooks/wiki/Workbenches)

ci/check-params-env.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PARAMS_ENV_PATH="manifests/base/params.env"
2525

2626
# This value needs to be updated everytime we deliberately change number of the
2727
# images we want to have in the `params.env` file.
28-
EXPECTED_NUM_RECORDS=20
28+
EXPECTED_NUM_RECORDS=23
2929

3030
# ---------------------------- DEFINED FUNCTIONS ----------------------------- #
3131

@@ -193,6 +193,21 @@ function check_image_variable_matches_name_and_commitref() {
193193
expected_commitref="2023b"
194194
expected_build_name="cuda-rstudio-c9s-python-3.9-amd64"
195195
;;
196+
odh-rocm-minimal-notebook-image-n)
197+
expected_name="odh-notebook-jupyter-minimal-ubi9-python-3.9"
198+
expected_commitref="2024a"
199+
expected_build_name="rocm-jupyter-minimal-ubi9-python-3.9-amd64"
200+
;;
201+
odh-rocm-pytorch-notebook-image-n)
202+
expected_name="odh-notebook-jupyter-rocm-pytorch-ubi9-python-3.9"
203+
expected_commitref="2024a"
204+
expected_build_name="rocm-jupyter-pytorch-ubi9-python-3.9-amd64"
205+
;;
206+
odh-rocm-tensorflow-notebook-image-n)
207+
expected_name="odh-notebook-jupyter-rocm-tensorflow-ubi9-python-3.9"
208+
expected_commitref="2024a"
209+
expected_build_name="rocm-jupyter-tensorflow-ubi9-python-3.9-amd64"
210+
;;
196211
*)
197212
echo "Unimplemented variable name: '${image_variable}'"
198213
return 1

intel/runtimes/ml/ubi9-python-3.9/Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ plotly = "~=5.16.1"
2020
scipy = "~=1.11.2"
2121
scikit-learn = "~=1.3.1"
2222
skl2onnx = "~=1.15.0"
23-
codeflare-sdk = "~=0.16.3"
23+
codeflare-sdk = "~=0.19.1"
2424
# DB connectors
2525
pymongo = "~=4.5.0"
2626
psycopg = "~=3.1.10"

0 commit comments

Comments
 (0)