Skip to content

Commit

Permalink
Merge pull request #3818 from consideRatio/pr/bump-to-z2jh-3.3.0
Browse files Browse the repository at this point in the history
basehub: update jupyterhub chart from 3.2.1 to 3.3.7 (Scheduled for 9nd April)
  • Loading branch information
consideRatio authored Apr 9, 2024
2 parents 4114bf5 + f5d5f73 commit 5c1055c
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 23 deletions.
2 changes: 1 addition & 1 deletion config/clusters/2i2c/imagebuilding-demo.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jupyterhub:
display: false
image:
name: quay.io/2i2c/dynamic-image-building-experiment
tag: "0.0.1-0.dev.git.7567.ha4162031"
tag: "0.0.1-0.dev.git.8663.h049aa2c2"
config:
JupyterHub:
authenticator_class: github
Expand Down
2 changes: 1 addition & 1 deletion config/clusters/opensci/sciencecore.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jupyterhub:
display: false
image:
name: quay.io/2i2c/dynamic-image-building-experiment
tag: "0.0.1-0.dev.git.7567.ha4162031"
tag: "0.0.1-0.dev.git.8663.h049aa2c2"
config:
JupyterHub:
authenticator_class: github
Expand Down
2 changes: 1 addition & 1 deletion config/clusters/opensci/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jupyterhub:
allowNamedServers: true
image:
name: quay.io/2i2c/dynamic-image-building-experiment
tag: "0.0.1-0.dev.git.7567.ha4162031"
tag: "0.0.1-0.dev.git.8663.h049aa2c2"
config:
JupyterHub:
authenticator_class: github
Expand Down
4 changes: 4 additions & 0 deletions config/clusters/utoronto/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ support:
hubs:
- name: staging
display_name: "University of Toronto (staging)"
# to access this staging hub, visit this link directly
# https://staging.utoronto.2i2c.cloud/hub/home
domain: staging.utoronto.2i2c.cloud
helm_chart: basehub
helm_chart_values_files:
Expand All @@ -28,6 +30,8 @@ hubs:
- enc-default-prod.secret.values.yaml
- name: r-staging
display_name: "University of Toronto (r-staging)"
# to access this staging hub, visit this link directly
# https://r-staging.datatools.utoronto.ca/hub/home
domain: r-staging.datatools.utoronto.ca
helm_chart: basehub
helm_chart_values_files:
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/custom-jupyterhub-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ You will need to put a config similar to the one below in your hub configuration
hub:
image:
name: quay.io/2i2c/new-experiment
tag: "0.0.1-0.dev.git.7130.h70e84dd2"
tag: "0.0.1-0.dev.git.8663.h049aa2c2"
```

```{important}
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/features/imagebuilding.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jupyterhub:
hub:
image:
name: quay.io/2i2c/dynamic-image-building-experiment
tag: "0.0.1-0.dev.git.7567.ha4162031"
tag: "0.0.1-0.dev.git.8663.h049aa2c2"
```
## Connect with `jupyterhub-fancy-profiles`
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/basehub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
# images/hub/Dockerfile, and will also involve manually building and pushing
# the Dockerfile to https://quay.io/2i2c/pilot-hub. Details about this can
# be found in the Dockerfile's comments.
version: 3.2.1
version: 3.3.7
repository: https://jupyterhub.github.io/helm-chart/
- name: binderhub-service
version: 0.1.0-0.dev.git.110.hd833d08
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ jupyterhub:
admin: true
image:
name: quay.io/2i2c/pilot-hub
tag: "0.0.1-0.dev.git.7670.hfd1b116d"
tag: "0.0.1-0.dev.git.8663.h049aa2c2"
networkPolicy:
enabled: true
# interNamespaceAccessLabels=accept makes the hub pod's associated
Expand Down
6 changes: 2 additions & 4 deletions helm-charts/images/hub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,17 @@
# `chartpress --push --builder docker-buildx --platform linux/amd64`
# Ref: https://cloudolife.com/2022/03/05/Infrastructure-as-Code-IaC/Container/Docker/Docker-buildx-support-multiple-architectures-images/
#
FROM jupyterhub/k8s-hub:3.2.1
FROM jupyterhub/k8s-hub:3.3.7

# chartpress.yaml defines multiple hub images differentiated only by a
# requirements.txt file with dependencies, this build argument allows us to
# reuse this Dockerfile for all images.
ARG REQUIREMENTS_FILE

COPY ${REQUIREMENTS_FILE} /tmp/

USER root
RUN pip install -r /tmp/${REQUIREMENTS_FILE}

RUN mkdir -p /usr/local/etc/jupyterhub-configurator

COPY jupyterhub_configurator_config.py /usr/local/etc/jupyterhub-configurator/jupyterhub_configurator_config.py
COPY jupyterhub_configurator_config.py /usr/local/etc/jupyterhub-configurator/
USER $NB_USER
12 changes: 6 additions & 6 deletions helm-charts/images/hub/dynamic-image-building-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Image lives at quay.io/2i2c/dynamic-image-building-experiment

# jupyterhub-configurator isn't version controlled, so we pin to a specific
# commit currently. Available commits are found at
# https://github.com/yuvipanda/jupyterhub-configurator/commits/main
# jupyterhub-configurator isn't maintained and its not intended to be developed
# further. We are using a branch that has forked from the main branch just
# before a breaking change were made. This allows us to avoid migrating.
#
# FIXME: ed7e3a0df1e3d625d10903ef7d7fd9c2fbb548db is from Mar 26, 2021, but
# several commits has been made since.
# ref: https://github.com/yuvipanda/jupyterhub-configurator/commits/main
# ref: https://github.com/yuvipanda/jupyterhub-configurator/commits/backported-jh41-compatibility
#
git+https://github.com/yuvipanda/jupyterhub-configurator@ed7e3a0df1e3d625d10903ef7d7fd9c2fbb548db
git+https://github.com/yuvipanda/jupyterhub-configurator@backported-jh41-compatibility

# Brings in https://github.com/yuvipanda/jupyterhub-fancy-profiles
jupyterhub-fancy-profiles==0.2.0
12 changes: 6 additions & 6 deletions helm-charts/images/hub/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Image lives at quay.io/2i2c/pilot-hub

# jupyterhub-configurator isn't version controlled, so we pin to a specific
# commit currently. Available commits are found at
# https://github.com/yuvipanda/jupyterhub-configurator/commits/main
# jupyterhub-configurator isn't maintained and its not intended to be developed
# further. We are using a branch that has forked from the main branch just
# before a breaking change were made. This allows us to avoid migrating.
#
# FIXME: ed7e3a0df1e3d625d10903ef7d7fd9c2fbb548db is from Mar 26, 2021, but
# several commits has been made since.
# ref: https://github.com/yuvipanda/jupyterhub-configurator/commits/main
# ref: https://github.com/yuvipanda/jupyterhub-configurator/commits/backported-jh41-compatibility
#
git+https://github.com/yuvipanda/jupyterhub-configurator@ed7e3a0df1e3d625d10903ef7d7fd9c2fbb548db
git+https://github.com/yuvipanda/jupyterhub-configurator@backported-jh41-compatibility

0 comments on commit 5c1055c

Please sign in to comment.