Skip to content
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

Update env vars in rocks #61

Merged
merged 4 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions jupyter-pytorch-cuda-full/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |

Both PyTorch and Jupyter are installed in Conda environment, which is
automatically activated.
version: v1.7.0_20.04_1 # version format: <KF-upstream-version>_<base-version>_<Charmed-KF-version>
version: v1.7.0-20.04-1 # version format: <KF-upstream-version>_<base-version>_<Charmed-KF-version>
license: Apache-2.0
base: ubuntu:20.04
run-user: _daemon_
Expand All @@ -19,8 +19,8 @@ services:
environment:
NB_USER: jovyan
NB_UID: 1001
HOME: "/home/jovyan" # ensure that `working-dir` points to this directory
# The following environment variables need to be specified in the Pod's environment, and not hardcoded.
#HOME: ""
#NB_PREFIX: ""
SHELL: /bin/bash
LANG: en_US.UTF-8
Expand All @@ -31,8 +31,8 @@ services:
NVIDIA_DRIVER_CAPABILITIES: compute,utility
LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64
PYTHONPATH: /opt/conda/lib/python3.8/site-packages/
command: bash -c './jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /opt/conda/bin/
command: bash -c '/opt/conda/bin/jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /home/jovyan
platforms:
amd64:

Expand Down
8 changes: 4 additions & 4 deletions jupyter-pytorch-full/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |

Both PyTorch and Jupyter are installed in Conda environment, which is
automatically activated.
version: v1.7.0_20.04_1 # version format: <KF-upstream-version>_<base-version>_<Charmed-KF-version>
version: v1.7.0-20.04-1 # version format: <KF-upstream-version>_<base-version>_<Charmed-KF-version>
license: Apache-2.0
base: ubuntu:20.04
run-user: _daemon_
Expand All @@ -19,17 +19,17 @@ services:
environment:
NB_USER: jovyan
NB_UID: 1001
HOME: "/home/jovyan" # ensure that `working-dir` points to this directory
# The following environment variables need to be specified in the Pod's environment, and not hardcoded.
#HOME: ""
#NB_PREFIX: ""
SHELL: /bin/bash
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
LC_ALL: en_US.UTF-8
PATH: /opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHONPATH: /opt/conda/lib/python3.8/site-packages/
command: bash -c './jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /opt/conda/bin/
command: bash -c '/opt/conda/bin/jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /home/jovyan
platforms:
amd64:

Expand Down
8 changes: 4 additions & 4 deletions jupyter-scipy/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |

Both SciPy and Jupyter are installed in Conda environment, which is
automatically activated.
version: v1.7.0_20.04_1 # version format: <KF-upstream-version>_<base-version>_<Charmed-KF-version>
version: v1.7.0-20.04-1 # version format: <KF-upstream-version>_<base-version>_<Charmed-KF-version>
license: Apache-2.0
base: ubuntu:20.04
run-user: _daemon_
Expand All @@ -19,17 +19,17 @@ services:
environment:
NB_USER: jovyan
NB_UID: 1001
HOME: "/home/jovyan" # ensure that `working-dir` points to this directory
# The following environment variables need to be specified in the Pod's environment, and not hardcoded.
#HOME: ""
#NB_PREFIX: ""
SHELL: /bin/bash
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
LC_ALL: en_US.UTF-8
PATH: /opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHONPATH: /opt/conda/lib/python3.8/site-packages/
command: bash -c './jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /opt/conda/bin/
command: bash -c '/opt/conda/bin/jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /home/jovyan
platforms:
amd64:

Expand Down
8 changes: 4 additions & 4 deletions jupyter-tensorflow-cuda-full/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |

Both Tensorflow and Jupyter are installed in Conda environment, which is
automatically activated.
version: v1.7.0_20.04_1
version: v1.7.0-20.04-1
license: Apache-2.0
base: ubuntu:20.04
run-user: _daemon_
Expand All @@ -23,17 +23,17 @@ services:
environment:
NB_USER: jovyan
NB_UID: 1001
HOME: "/home/jovyan" # ensure that `working-dir` points to this directory
# The following environment variables need to be specified in the Pod's environment, and not hardcoded.
#HOME: ""
#NB_PREFIX: ""
SHELL: /bin/bash
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
LC_ALL: en_US.UTF-8
PATH: /opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHONPATH: /opt/conda/lib/python3.8/site-packages/
command: bash -c './jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /opt/conda/bin/
command: bash -c '/opt/conda/bin/jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /home/jovyan
platforms:
amd64:

Expand Down
8 changes: 4 additions & 4 deletions jupyter-tensorflow-full/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |

Both Tensorflow and Jupyter are installed in Conda environment, which is
automatically activated.
version: v1.7.0_20.04_1
version: v1.7.0-20.04-1
license: Apache-2.0
base: ubuntu:20.04
run-user: _daemon_
Expand All @@ -23,17 +23,17 @@ services:
environment:
NB_USER: jovyan
NB_UID: 1001
HOME: "/home/jovyan" # ensure that `working-dir` points to this directory
# The following environment variables need to be specified in the Pod's environment, and not hardcoded.
#HOME: ""
#NB_PREFIX: ""
SHELL: /bin/bash
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
LC_ALL: en_US.UTF-8
PATH: /opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHONPATH: /opt/conda/lib/python3.8/site-packages/
command: bash -c './jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /opt/conda/bin/
command: bash -c '/opt/conda/bin/jupyter lab --notebook-dir=${HOME} --ip=0.0.0.0 --no-browser --port=8888 --ServerApp.token="" --ServerApp.password="" --ServerApp.allow_origin="*" --ServerApp.base_url=${NB_PREFIX} --ServerApp.authenticate_prometheus=False'
working-dir: /home/jovyan
platforms:
amd64:

Expand Down