Skip to content

Commit

Permalink
Merge pull request #97 from betatim/bootcamp-doesnt-need-custom-hub-i…
Browse files Browse the repository at this point in the history
…mage

Remove config asking for custom hub, add nbgitpuller
  • Loading branch information
betatim committed Aug 3, 2018
2 parents 9e17625 + fb2482f commit 61abb5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 0 additions & 10 deletions bootcamp-hub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@ jupyterhub:
prometheus.io/scrape: "true"
# this needs to start with the value of `hub.baseUrl`
prometheus.io/path: /bootcamp-hub/hub/metrics
extraConfig:
auth: |
c.JupyterHub.authenticator_class = 'hashauthenticator.HashAuthenticator'
admin: |
c.Authenticator.admin_users = {'leah-admin', 'tim-admin'}
c.JupyterHub.admin_access = True
image:
# tag will be set by travis on deployment
name: earthlabhubops/ea-k8s-hub-bootcamp-hub
tag: set-on-deployment
singleuser:
image:
# tag will be set by travis on deployment
Expand Down
3 changes: 2 additions & 1 deletion user-images/bootcamp-hub/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM earthlab/earth-analytics-python-env:41ae80f

RUN pip install --no-cache --upgrade --upgrade-strategy only-if-needed \
jupyterhub==0.9.0 nbzip==0.0.4
jupyterhub==0.9.0 nbzip==0.0.4 git+https://github.com/data-8/nbgitpuller@28fe9b1af2ba64b346d59bd13c99581346bf349f

RUN jupyter serverextension enable --py nbgitpuller --sys-prefix
RUN jupyter serverextension enable --py nbzip --sys-prefix
RUN jupyter nbextension install --py nbzip --sys-prefix
RUN jupyter nbextension enable --py nbzip --sys-prefix

0 comments on commit 61abb5d

Please sign in to comment.