Skip to content
Snippets Groups Projects
start-local.sh 653 B
Newer Older
#!/bin/zsh
# Use this file to update jupyterhub locally
# Contect of this file should be the same as in .gitlab-ci.yml
# export CSUSB_JHUB_NAMESPACE="csusb-jupyterhub"
youngsuKim-CSUSB's avatar
youngsuKim-CSUSB committed
export CSUSB_JHUB_NAMESPACE="csusb-hpc" && \
helm upgrade --cleanup-on-fail \
--install hpchub jupyterhub/jupyterhub \
youngsuKim-CSUSB's avatar
youngsuKim-CSUSB committed
--namespace $CSUSB_JHUB_NAMESPACE --version=1.1.4 \
--values values.template.yaml \
--set-file hub.extraFiles.image_select_idp.binaryData=./select_idp_cilogon.png.b64 \
youngsuKim-CSUSB's avatar
youngsuKim-CSUSB committed
--set-file hub.extraFiles.custom_spawner_profile.stringData=./my_spawner.html \
--set-file hub.extraFiles.custom_spawner.stringData=./my_spawner.py && \
kubectl get pods -w -n $CSUSB_JHUB_NAMESPACE