Skip to content

Commit

Permalink
Update version of jupyter hub helm chart on staginghub (#211)
Browse files Browse the repository at this point in the history
* update staginghub to match ea-hub

* update jupyterhub chart to v0.9.0

* update course url for gitpuller to match ea-hub

* try rebuilding staginghub
  • Loading branch information
kcranston committed May 14, 2020
1 parent 1e1094f commit f18e871
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ install:
# pip install -U pyyaml pytest requests sphinx sphinx-autobuild
pip install -r dev-requirements.txt
script:
#- |
- |
# Build staginghub
#python ./deploy.py --no-setup --build staginghub
python ./deploy.py --no-setup --build staginghub
- |
# Build earth-analytics-hub
python ./deploy.py --no-setup --build ea-hub
Expand Down
2 changes: 1 addition & 1 deletion hub-charts/staginghub/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dependencies:
- name: jupyterhub
version: "v0.8.2"
version: "v0.9.0"
repository: "https://jupyterhub.github.io/helm-chart"
2 changes: 1 addition & 1 deletion hub-charts/staginghub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jupyterhub:
- "sh"
- "-c"
- >
gitpuller https://github.com/earthlab-education/earth-analytics-bootcamp-fall-2019 master ea-homework-notebooks;
gitpuller https://github.com/earthlab-education/spring-2020-course-notebooks master ea-2020-class-notebooks;
proxy:
nodeSelector:
cloud.google.com/gke-nodepool: core-pool
Expand Down
8 changes: 6 additions & 2 deletions user-images/staginghub/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
FROM earthlab/earth-analytics-python-env:2869054
FROM earthlab/earth-analytics-python-env:84549e0

# Install nbgrader server extensions - we only want the students to see the
# validate extension, but you can't just install one. You need to install
# them all and then disable the ones you don't want. Hmmm, ok.

# setup nbgitpuller to sync files
# Setup nbgitpuller to sync files from course repo to hub
RUN conda install -c conda-forge nbgitpuller \
&& jupyter serverextension enable --py nbgitpuller --sys-prefix

# Setup nbzip - this allows students to download files from the hub
RUN pip install git+https://github.com/ryanlovett/jupyter-tree-download.git

# Setup nbgrader + extensions
RUN jupyter nbextension install --sys-prefix --py nbgrader --overwrite \
&& jupyter nbextension enable --sys-prefix --py nbgrader \
&& jupyter serverextension enable --sys-prefix --py nbgrader
Expand Down

0 comments on commit f18e871

Please sign in to comment.