Skip to content

Commit

Permalink
Redirect all UToronto home pages to unified homepage
Browse files Browse the repository at this point in the history
UToronto will have a new URL (to be determined...) that they
will manage, and will act as the 'unified' home page. In
https://2i2c.freshdesk.com/a/tickets/952 they have asked us
to redirect anyone landing just on the home page of the hubs
to this new URL. I've setup the [utoronto
branch](https://github.com/2i2c-org/default-hub-homepage/tree/utoronto)
of the home pages repo to redirect to the new URL.

This just deploys that change. The new URL hasn't been provided
to us yet, so the utoronto branch in the default-hub-homepage
repo will need to be updated once that URL is present.

Ref 2i2c-org#2729
  • Loading branch information
yuvipanda committed Jan 6, 2024
1 parent 4007aa1 commit 9eb4d85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
25 changes: 4 additions & 21 deletions config/clusters/utoronto/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ jupyterhub:
enabled: true
custom:
homepage:
# Everyone hitting the home page directly is redirected to
# https://datatools.utoronto.ca as the unified home page. The various parameters
# here under templateVars are no-op - UToronto manages the unified homepage themselves.
gitRepoBranch: "utoronto"
templateVars:
interface_selector: true
org:
name: University of Toronto
logo_url: https://raw.githubusercontent.com/2i2c-org/default-hub-homepage/utoronto-prod/extra-assets/images/home-hero.png
Expand All @@ -35,26 +38,6 @@ jupyterhub:
funded_by:
name: University of Toronto
url: https://www.utoronto.ca/
announcements:
- |
<div>
<h4>ARC will be making changes to our educational JupyterHub on January 9, 2023</h4>
<p>R/RStudio will be moved off <a href="https://jupyter.utoronto.ca">jupyter.utoronto.ca</a>. R/RStudio will
continue to be available through <a href="https://r.datatools.utoronto.ca">r.datatools.utoronto.ca</a> – a
separate RStudio hub. To make access to JupyterHub easier than ever, we will also consolidate the landing
pages for our Jupyter Notebook and RStudio hubs into a single launch page:
<a href="https://datatools.utoronto.ca">datatools.utoronto.ca</a>.</p>
<p>For more information, please read <a href="https://act.utoronto.ca/jupyterhub-support/updates-to-our-educational-jupyterhub/">our announcement</a>.</p>
</div>
- |
<div>
<h4>* NEW * Jupyter Support Website</h4>
We have started a JupyterHub support website with documentation and tip sheets, and we will be adding more on an
ongoing basis. To reach the support site, please visit: <a href="https://act.utoronto.ca/jupyterhub-support">https://act.utoronto.ca/jupyterhub-support/</a>.
</div>
singleuser:
cpu:
# Each node has about 8 CPUs total, and if we limit users to no more than
Expand Down
6 changes: 0 additions & 6 deletions config/clusters/utoronto/default-staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ jupyterhub:
tls:
- hosts: [staging.utoronto.2i2c.cloud]
secretName: https-auto-tls
custom:
homepage:
gitRepoBranch: "utoronto-staging"
singleuser:
image:
tag: "14320bae73a0"
hub:
config:
CILogonOAuthenticator:
Expand Down

0 comments on commit 9eb4d85

Please sign in to comment.