Skip to content

Commit dfc2bf7

Browse files
authored
Remove .json files runtimes from DS notebook & removed the COPY instruction of them on the Dockerfile (#943)
* Remove .json files runtimes from DS notebook as well removed the COPY instruction of them on the Dockerfile * Add runtimes imagestreams on the kustomization * update after the rebase * satisfy tekton pipelines
1 parent 37268e8 commit dfc2bf7

19 files changed

+13
-106
lines changed

.tekton/cuda-jupyter-pytorch-ubi9-python-3-11-pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ metadata:
1414
== "main" && ( "cuda/NGC-DL-CONTAINER-LICENSE".pathChanged() || "cuda/cuda.repo-x86_64".pathChanged()
1515
|| "jupyter/datascience/ubi9-python-3.11/mongodb-org-6.0.repo-x86_64".pathChanged()
1616
|| "jupyter/datascience/ubi9-python-3.11/mssql-2022.repo-x86_64".pathChanged()
17-
|| "jupyter/datascience/ubi9-python-3.11/runtime-images/***".pathChanged() ||
18-
"jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
17+
|| "jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
1918
|| "jupyter/minimal/ubi9-python-3.11/start-notebook.sh".pathChanged() || "jupyter/pytorch/ubi9-python-3.11/Pipfile.lock".pathChanged()
2019
|| "jupyter/utils/***".pathChanged() || ".tekton/cuda-jupyter-pytorch-ubi9-python-3-11-pull-request.yaml".pathChanged()
2120
|| "jupyter/pytorch/ubi9-python-3.11/Dockerfile.cuda".pathChanged() ) && has(body.repository)

.tekton/cuda-jupyter-tensorflow-ubi9-python-3-11-pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ metadata:
1414
== "main" && ( "cuda/NGC-DL-CONTAINER-LICENSE".pathChanged() || "cuda/cuda.repo-x86_64".pathChanged()
1515
|| "jupyter/datascience/ubi9-python-3.11/mongodb-org-6.0.repo-x86_64".pathChanged()
1616
|| "jupyter/datascience/ubi9-python-3.11/mssql-2022.repo-x86_64".pathChanged()
17-
|| "jupyter/datascience/ubi9-python-3.11/runtime-images/***".pathChanged() ||
18-
"jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
17+
|| "jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
1918
|| "jupyter/minimal/ubi9-python-3.11/start-notebook.sh".pathChanged() || "jupyter/tensorflow/ubi9-python-3.11/Pipfile.lock".pathChanged()
2019
|| "jupyter/utils/***".pathChanged() || ".tekton/cuda-jupyter-tensorflow-ubi9-python-3-11-pull-request.yaml".pathChanged()
2120
|| "jupyter/tensorflow/ubi9-python-3.11/Dockerfile.cuda".pathChanged() ) &&

.tekton/jupyter-datascience-ubi9-python-3-11-pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ metadata:
1414
== "main" && ( "jupyter/datascience/ubi9-python-3.11/Pipfile.lock".pathChanged()
1515
|| "jupyter/datascience/ubi9-python-3.11/mongodb-org-6.0.repo-x86_64".pathChanged()
1616
|| "jupyter/datascience/ubi9-python-3.11/mssql-2022.repo-x86_64".pathChanged()
17-
|| "jupyter/datascience/ubi9-python-3.11/runtime-images/***".pathChanged() ||
18-
"jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
17+
|| "jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
1918
|| "jupyter/minimal/ubi9-python-3.11/start-notebook.sh".pathChanged() || "jupyter/utils/***".pathChanged()
2019
|| ".tekton/jupyter-datascience-ubi9-python-3-11-pull-request.yaml".pathChanged()
2120
|| "jupyter/datascience/ubi9-python-3.11/Dockerfile.cpu".pathChanged() ) &&

.tekton/jupyter-trustyai-ubi9-python-3-11-pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
1414
== "main" && ( "jupyter/datascience/ubi9-python-3.11/mongodb-org-6.0.repo-x86_64".pathChanged()
1515
|| "jupyter/datascience/ubi9-python-3.11/mssql-2022.repo-x86_64".pathChanged()
16-
|| "jupyter/datascience/ubi9-python-3.11/runtime-images/***".pathChanged() ||
17-
"jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
16+
|| "jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
1817
|| "jupyter/minimal/ubi9-python-3.11/start-notebook.sh".pathChanged() || "jupyter/trustyai/ubi9-python-3.11/Pipfile.lock".pathChanged()
1918
|| "jupyter/utils/***".pathChanged() || ".tekton/jupyter-trustyai-ubi9-python-3-11-pull-request.yaml".pathChanged()
2019
|| "jupyter/trustyai/ubi9-python-3.11/Dockerfile.cpu".pathChanged() ) && has(body.repository)

.tekton/rocm-jupyter-pytorch-ubi9-python-3-11-pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
1414
== "main" && ( "jupyter/datascience/ubi9-python-3.11/mongodb-org-6.0.repo-x86_64".pathChanged()
1515
|| "jupyter/datascience/ubi9-python-3.11/mssql-2022.repo-x86_64".pathChanged()
16-
|| "jupyter/datascience/ubi9-python-3.11/runtime-images/***".pathChanged() ||
17-
"jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
16+
|| "jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
1817
|| "jupyter/minimal/ubi9-python-3.11/start-notebook.sh".pathChanged() || "jupyter/rocm/pytorch/ubi9-python-3.11/Pipfile.lock".pathChanged()
1918
|| "jupyter/rocm/pytorch/ubi9-python-3.11/de-vendor-torch.sh".pathChanged()
2019
|| "jupyter/utils/***".pathChanged() || ".tekton/rocm-jupyter-pytorch-ubi9-python-3-11-pull-request.yaml".pathChanged()

.tekton/rocm-jupyter-tensorflow-ubi9-python-3-11-pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ metadata:
1313
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
1414
== "main" && ( "jupyter/datascience/ubi9-python-3.11/mongodb-org-6.0.repo-x86_64".pathChanged()
1515
|| "jupyter/datascience/ubi9-python-3.11/mssql-2022.repo-x86_64".pathChanged()
16-
|| "jupyter/datascience/ubi9-python-3.11/runtime-images/***".pathChanged() ||
17-
"jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
16+
|| "jupyter/datascience/ubi9-python-3.11/setup-elyra.sh".pathChanged() || "jupyter/datascience/ubi9-python-3.11/utils/***".pathChanged()
1817
|| "jupyter/minimal/ubi9-python-3.11/start-notebook.sh".pathChanged() || "jupyter/rocm/tensorflow/ubi9-python-3.11/Pipfile.lock".pathChanged()
1918
|| "jupyter/utils/***".pathChanged() || ".tekton/rocm-jupyter-tensorflow-ubi9-python-3-11-pull-request.yaml".pathChanged()
2019
|| "jupyter/rocm/tensorflow/ubi9-python-3.11/Dockerfile.rocm".pathChanged()

jupyter/datascience/ubi9-python-3.11/Dockerfile.cpu

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,4 @@ RUN echo "Installing softwares and packages" && \
104104
chmod -R g+w /opt/app-root/lib/python3.11/site-packages && \
105105
fix-permissions /opt/app-root -P
106106

107-
# Copy Elyra runtime-images definitions and set the version
108-
COPY ${DATASCIENCE_SOURCE_CODE}/runtime-images/ /opt/app-root/share/jupyter/metadata/runtime-images/
109-
110107
WORKDIR /opt/app-root/src

jupyter/datascience/ubi9-python-3.11/runtime-images/datascience-ubi9-py311.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

jupyter/datascience/ubi9-python-3.11/runtime-images/pytorch-ubi9-py311.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

jupyter/datascience/ubi9-python-3.11/runtime-images/rocm-pytorch-ubi9-py311.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)