Skip to content
Snippets Groups Projects
start-csusb-hub-project.sh 647 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"
export CSUSB_JHUB_NAMESPACE="csusb-hpc"

helm upgrade --cleanup-on-fail \
--install hpchub jupyterhub/jupyterhub \
--namespace $CSUSB_JHUB_NAMESPACE --version=1.2 \
--values values.template.yaml \
--set-file hub.extraFiles.image_select_idp.binaryData=./select_idp_cilogon.png.b64 \
--set-file hub.extraFiles.custom_spawner.stringData=./my_spawner.py \
--set-file hub.extraFiles.custom_spawner_profile.stringData=./my_spawner.html && \
kubectl get pods -w -n $CSUSB_JHUB_NAMESPACE