Skip to content

Commit

Permalink
[DH-361] adding gh-scoped-creds for nature hub
Browse files Browse the repository at this point in the history
  • Loading branch information
felder committed Aug 30, 2024
1 parent 6f43327 commit 3ba28cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions deployments/nature/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jupyterhub:
c.WebPDFExporter.embed_images = True
extraEnv:
# Unset NotebookApp from hub/values. Necessary for recent lab versions.
GH_SCOPED_CREDS_CLIENT_ID: Iv23liGBW8jtMBP0inyw
GH_SCOPED_CREDS_APP_URL: https://github.com/apps/uc-berkeley-nature-hub-git-access
JUPYTERHUB_SINGLEUSER_APP: "jupyter_server.serverapp.ServerApp"
nodeSelector:
hub.jupyter.org/pool-name: nature-pool
Expand Down
11 changes: 7 additions & 4 deletions deployments/nature/image/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,29 @@ channels:
dependencies:

# Items required for basic level functionality
- python==3.11.*
- git==2.46.0
- jupyter-resource-usage=1.1.0
- jupyterhub==4.1.6
- jupyterlab==4.2.5
- jupyter_server==2.14.2
- notebook==7.2.2
- nbgitpuller==1.2.1
- notebook==7.2.2
- python==3.11.*

# vscode
- code-server==4.23.1
- jupyter-vscode-proxy==0.6

# other packages
- seaborn==0.13.2
- altair==5.4.1
- gh-scoped-creds==4.1
- ibis-framework[pandas,duckdb]==9.3.0
- leafmap==0.36.10
- jupyterlab-myst==2.4.2
- leafmap==0.36.10
- seaborn==0.13.2
- streamlit==1.38.0

# pip installed packages, conda is prefered
- pip==24.2
- pip:
- nbconvert[webpdf]==7.16.4

0 comments on commit 3ba28cc

Please sign in to comment.