diff --git a/basehub/values.yaml.j2 b/basehub/values.yaml.j2 index a576208..343a5ab 100644 --- a/basehub/values.yaml.j2 +++ b/basehub/values.yaml.j2 @@ -9,8 +9,8 @@ jupyterhub: contactEmail: aiidalab@materialscloud.org singleuser: image: - name: ghcr.io/aiidalab/qe - tag: amd64-v24.10.0a0 + name: superstar54 + tag: qe-tar-home-z pullPolicy: Always cmd: - start-singleuser.sh @@ -59,6 +59,15 @@ jupyterhub: default_url: /lab environment: JUPYTERHUB_SINGLEUSER_APP: jupyter_server.serverapp.ServerApp + lifecycleHooks: + postStart: + exec: + command: + - "sh" + - "-c" + - > + tar -zxf /tmp/home.tar -C /home/jovyan + hub: db: pvc: diff --git a/deploy.sh b/deploy.sh index 72709e1..03d9d5a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -5,6 +5,7 @@ helm dependency build basehub 2> /dev/null || echo "No dependencies to update or # JupyterHub helm upgrade \ --install \ + --timeout 600s \ --cleanup-on-fail \ --create-namespace --namespace=${K8S_NAMESPACE} \ ${K8S_NAMESPACE} basehub