Skip to content

Commit

Permalink
Set the airgapped env var required by elyra (#172)
Browse files Browse the repository at this point in the history
Signed-off-by: Harshad Reddy Nalla <[email protected]>
  • Loading branch information
harshad16 authored Aug 17, 2023
1 parent 6a6098d commit ae91983
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "Datascience with Python 3.8 (UBI8)",
"image_name": "quay.io/opendatahub/workbench-images:runtime-datascience-ubi8-python-3.8-f93694f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-datascience-ubi8-python-3.8-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "Pytorch with CUDA and Python 3.8 (UBI8)",
"image_name": "quay.io/opendatahub/workbench-images:runtime-pytorch-ubi8-python-3.8-f93694f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-pytorch-ubi8-python-3.8-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "TensorFlow with CUDA and Python 3.8 (UBI8)",
"image_name": "quay.io/opendatahub/workbench-images:runtime-cuda-tensorflow-ubi8-python-3.8-f93694f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-cuda-tensorflow-ubi8-python-3.8-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "Python 3.8 (UBI8)",
"image_name": "registry.redhat.io/ubi8/python-38@sha256:ce9647e1967c8fbdc171a3ff99642fbaca344cd43010cd3ab9314cdcb8a74d98"
"image_name": "quay.io/opendatahub/workbench-images:runtime-minimal-ubi8-python-3.8-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "Datascience with Python 3.8 (UBI8)",
"image_name": "quay.io/opendatahub/workbench-images:runtime-datascience-ubi8-python-3.8-f93694f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-datascience-ubi8-python-3.8-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "Pytorch with CUDA and Python 3.8 (UBI8)",
"image_name": "quay.io/opendatahub/workbench-images:runtime-pytorch-ubi8-python-3.8-f93694f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-pytorch-ubi8-python-3.8-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "TensorFlow with CUDA and Python 3.8 (UBI8)",
"image_name": "quay.io/opendatahub/workbench-images:runtime-cuda-tensorflow-ubi8-python-3.8-f93694f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-cuda-tensorflow-ubi8-python-3.8-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "Python 3.8 (UBI8)",
"image_name": "registry.redhat.io/ubi8/python-38@sha256:ce9647e1967c8fbdc171a3ff99642fbaca344cd43010cd3ab9314cdcb8a74d98"
"image_name": "quay.io/opendatahub/workbench-images:runtime-minimal-ubi8-python-3.8-6a6098d"
},
"schema_name": "runtime-image"
}
6 changes: 5 additions & 1 deletion jupyter/datascience/ubi8-python-3.8/setup-elyra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ fi
# Environment vars set for accessing ssl_sa_certs and sa_token
# export PIPELINES_SSL_SA_CERTS="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
export KF_PIPELINES_SA_TOKEN_ENV="/var/run/secrets/kubernetes.io/serviceaccount/token"
export KF_PIPELINES_SA_TOKEN_PATH="/var/run/secrets/kubernetes.io/serviceaccount/token"
export KF_PIPELINES_SA_TOKEN_PATH="/var/run/secrets/kubernetes.io/serviceaccount/token"
# Environment vars set for accessing following dependencies for air-gapped enviroment
export ELYRA_BOOTSTRAP_SCRIPT_URL="file:///opt/app-root/bin/utils/bootstrapper.py"
export ELYRA_PIP_CONFIG_URL="file:///opt/app-root/bin/utils/pip.conf"
export ELYRA_REQUIREMENTS_URL="file:///opt/app-root/bin/utils/requirements-elyra.txt"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "Datascience with Python 3.9 (UBI9)",
"image_name": "quay.io/opendatahub/workbench-images:runtime-datascience-ubi9-python-3.9-f93694f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-datascience-ubi9-python-3.9-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "Pytorch with CUDA and Python 3.9 (UBI9)",
"image_name": "quay.io/opendatahub/workbench-images:runtime-pytorch-ubi9-python-3.9-f93694f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-pytorch-ubi9-python-3.9-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "TensorFlow with CUDA and Python 3.9 (UBI9)",
"image_name": "quay.io/opendatahub/workbench-images:runtime-cuda-tensorflow-ubi9-python-3.9-f93694f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-cuda-tensorflow-ubi9-python-3.9-6a6098d"
},
"schema_name": "runtime-image"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"metadata": {
"tags": [],
"display_name": "Python 3.9 (UBI9)",
"image_name": "registry.redhat.io/ubi9/python-39@sha256:02427ad2ce51fad244ad46cb877c5e2aa9e09e79728c02ad137f6bf36c81948f"
"image_name": "quay.io/opendatahub/workbench-images:runtime-minimal-ubi9-python-3.9-6a6098d"
},
"schema_name": "runtime-image"
}
4 changes: 4 additions & 0 deletions jupyter/datascience/ubi9-python-3.9/setup-elyra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ fi
# export PIPELINES_SSL_SA_CERTS="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
export KF_PIPELINES_SA_TOKEN_ENV="/var/run/secrets/kubernetes.io/serviceaccount/token"
export KF_PIPELINES_SA_TOKEN_PATH="/var/run/secrets/kubernetes.io/serviceaccount/token"
# Environment vars set for accessing following dependencies for air-gapped enviroment
export ELYRA_BOOTSTRAP_SCRIPT_URL="file:///opt/app-root/bin/utils/bootstrapper.py"
export ELYRA_PIP_CONFIG_URL="file:///opt/app-root/bin/utils/pip.conf"
export ELYRA_REQUIREMENTS_URL="file:///opt/app-root/bin/utils/requirements-elyra.txt"

0 comments on commit ae91983

Please sign in to comment.