Skip to content

[RHOAIENG-28584] Change check-params to have up to date 3.12 image names and sizes for built images #1336

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 87 additions & 2 deletions ci/check-params-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ PARAMS_ENV_PATH="manifests/base/params.env"

# This value needs to be updated everytime we deliberately change number of the
# images we want to have in the `params.env` or `params-latest.env` file.
EXPECTED_NUM_RECORDS=24
EXPECTED_ADDI_RUNTIME_RECORDS=6
EXPECTED_NUM_RECORDS=44
EXPECTED_ADDI_RUNTIME_RECORDS=0

# Number of attempts for the skopeo tool to gather data from the repository.
SKOPEO_RETRY=3
Expand Down Expand Up @@ -125,6 +125,12 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="jupyter-minimal-ubi9-python-3.11-amd64"
expected_img_size=503
;;
odh-workbench-jupyter-minimal-cpu-py312-ubi9-n)
expected_name="odh-notebook-jupyter-minimal-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size=1211
;;
odh-workbench-jupyter-minimal-cuda-py311-ubi9-n)
expected_name="odh-notebook-jupyter-cuda-minimal-ubi9-python-3.11"
expected_commitref="main"
Expand All @@ -137,6 +143,12 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="cuda-jupyter-minimal-ubi9-python-3.11-amd64"
expected_img_size=5157
;;
odh-workbench-jupyter-minimal-cuda-py312-ubi9-n)
expected_name="odh-notebook-jupyter-cuda-minimal-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="5606"
;;
odh-workbench-jupyter-pytorch-cuda-py311-ubi9-n)
expected_name="odh-notebook-jupyter-cuda-pytorch-ubi9-python-3.11"
expected_commitref="main"
Expand All @@ -149,6 +161,12 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="jupyter-pytorch-ubi9-python-3.11-amd64"
expected_img_size=8571
;;
odh-workbench-jupyter-pytorch-cuda-py312-ubi9-n)
expected_name="odh-notebook-jupyter-cuda-pytorch-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="9212"
;;
odh-workbench-jupyter-datascience-cpu-py311-ubi9-n)
expected_name="odh-notebook-jupyter-datascience-ubi9-python-3.11"
expected_commitref="main"
Expand All @@ -161,6 +179,12 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="jupyter-datascience-ubi9-python-3.11-amd64"
expected_img_size=904
;;
odh-workbench-jupyter-datascience-cpu-py312-ubi9-n)
expected_name="odh-notebook-jupyter-datascience-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="1656"
;;
odh-workbench-jupyter-tensorflow-cuda-py311-ubi9-n)
expected_name="odh-notebook-cuda-jupyter-tensorflow-ubi9-python-3.11"
expected_commitref="main"
Expand All @@ -173,6 +197,12 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="cuda-jupyter-tensorflow-ubi9-python-3.11-amd64"
expected_img_size=8211
;;
odh-workbench-jupyter-tensorflow-cuda-py312-ubi9-n)
expected_name="odh-notebook-cuda-jupyter-tensorflow-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="8622"
;;
odh-workbench-jupyter-trustyai-cpu-py311-ubi9-n)
expected_name="odh-notebook-jupyter-trustyai-ubi9-python-3.11"
expected_commitref="main"
Expand All @@ -185,6 +215,12 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="jupyter-trustyai-ubi9-python-3.11-amd64"
expected_img_size=4197
;;
odh-workbench-jupyter-trustyai-cpu-py312-ubi9-n)
expected_name="odh-notebook-jupyter-trustyai-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="5030"
;;
odh-workbench-codeserver-datascience-cpu-py311-ubi9-n)
expected_name="odh-notebook-code-server-ubi9-python-3.11"
expected_commitref="main"
Expand All @@ -197,6 +233,12 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="codeserver-ubi9-python-3.11-amd64"
expected_img_size=850
;;
odh-workbench-codeserver-datascience-cpu-py312-ubi9-n)
expected_name="odh-notebook-code-server-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="970"
;;
odh-workbench-rstudio-minimal-cpu-py311-c9s-n)
expected_name="odh-notebook-rstudio-server-c9s-python-3.11"
expected_commitref="main"
Expand Down Expand Up @@ -236,6 +278,12 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="rocm-jupyter-minimal-ubi9-python-3.11-amd64"
expected_img_size=4830
;;
odh-workbench-jupyter-minimal-rocm-py312-ubi9-n)
expected_name="odh-notebook-jupyter-rocm-minimal-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="6472"
;;
odh-workbench-jupyter-pytorch-rocm-py311-ubi9-n)
expected_name="odh-notebook-jupyter-rocm-pytorch-ubi9-python-3.11"
expected_commitref="main"
Expand All @@ -248,6 +296,12 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="rocm-jupyter-pytorch-ubi9-python-3.11-amd64"
expected_img_size=6571
;;
odh-workbench-jupyter-pytorch-rocm-py312-ubi9-n)
expected_name="odh-notebook-jupyter-rocm-pytorch-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="8123"
;;
odh-workbench-jupyter-tensorflow-rocm-py311-ubi9-n)
expected_name="odh-notebook-jupyter-rocm-tensorflow-ubi9-python-3.11"
expected_commitref="main"
Expand All @@ -267,30 +321,60 @@ function check_image_variable_matches_name_and_commitref_and_size() {
expected_build_name="runtime-minimal-ubi9-python-3.11-amd64"
expected_img_size=570
;;
odh-pipeline-runtime-minimal-cpu-py312-ubi9-n)
expected_name="odh-notebook-runtime-minimal-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="579"
;;
odh-pipeline-runtime-datascience-cpu-py311-ubi9-n)
expected_name="odh-notebook-runtime-datascience-ubi9-python-3.11"
expected_commitref="main"
expected_build_name="runtime-datascience-ubi9-python-3.11-amd64"
expected_img_size=954
;;
odh-pipeline-runtime-datascience-cpu-py312-ubi9-n)
expected_name="odh-notebook-runtime-datascience-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="954"
;;
odh-pipeline-runtime-pytorch-cuda-py311-ubi9-n)
expected_name="odh-notebook-runtime-pytorch-ubi9-python-3.11"
expected_commitref="main"
expected_build_name="runtime-cuda-pytorch-ubi9-python-3.11-amd64"
expected_img_size=8506
;;
odh-pipeline-runtime-pytorch-cuda-py312-ubi9-n)
expected_name="odh-notebook-runtime-pytorch-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="8505"
;;
odh-pipeline-runtime-pytorch-rocm-py311-ubi9-n)
expected_name="odh-notebook-runtime-rocm-pytorch-ubi9-python-3.11"
expected_commitref="main"
expected_build_name="rocm-runtime-pytorch-ubi9-python-3.11-amd64"
expected_img_size=7413
;;
odh-pipeline-runtime-pytorch-rocm-py312-ubi9-n)
expected_name="odh-notebook-runtime-rocm-pytorch-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="7411"
;;
odh-pipeline-runtime-tensorflow-cuda-py311-ubi9-n)
expected_name="odh-notebook-cuda-runtime-tensorflow-ubi9-python-3.11"
expected_commitref="main"
expected_build_name="runtime-cuda-tensorflow-ubi9-python-3.11-amd64"
expected_img_size=7917
;;
odh-pipeline-runtime-tensorflow-cuda-py312-ubi9-n)
expected_name="odh-notebook-cuda-runtime-tensorflow-ubi9-python-3.12"
expected_commitref="main"
expected_build_name="konflux"
expected_img_size="7910"
;;
odh-pipeline-runtime-tensorflow-rocm-py311-ubi9-n)
expected_name="odh-notebook-rocm-runtime-tensorflow-ubi9-python-3.11"
expected_commitref="main"
Expand Down Expand Up @@ -559,3 +643,4 @@ for file_ in "${PARAMS_ENV_PATH}" "${PARAMS_LATEST_ENV_PATH}"; do
done

exit "${ret_code}"
x
Loading