bird-house / birdhouse-deploy

Scripts and configurations to deploy the various birds and servers required for a full-fledged production platform
https://birdhouse-deploy.readthedocs.io/en/latest/
Apache License 2.0
4 stars 7 forks source link

Allow users to log in to Jupyterhub with their email address #421

Closed mishaschwartz closed 10 months ago

mishaschwartz commented 10 months ago

Overview

Previously, JupyterHub's MagpieAuthenticator class treated the email address entered into the username field as the username itself. This led to a mismatch between the username in JupyterHub and the username in Magpie.

To resolve this, we update the JupyterHub docker image to a version where this bug is fixed.

See https://github.com/Ouranosinc/jupyterhub/pull/26 and https://github.com/Ouranosinc/Magpie/issues/598 for reference.

Changes

Non-breaking changes

Breaking changes

Related Issue / Discussion

Additional Information

Links to other issues or sources.

birdhouse_daccs_configs_branch: master birdhouse_skip_ci: false

crim-jenkins-bot commented 10 months ago

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2419/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : jupyter-magpie-login-update
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-46.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1497/

NOTEBOOK TEST RESULTS
    
[2024-01-17T20:53:12.538Z] ============================= test session starts ==============================
[2024-01-17T20:53:12.538Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2024-01-17T20:53:12.538Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2024-01-17T20:53:12.538Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2024-01-17T20:53:12.538Z] collected 264 items
[2024-01-17T20:53:12.538Z] 
[2024-01-17T20:53:23.166Z] notebooks-auth/geoserver.ipynb ..................                        [  6%]
[2024-01-17T20:53:49.412Z] notebooks-auth/test_cowbird_jupyter.ipynb ..........                     [ 10%]
[2024-01-17T20:53:57.416Z] notebooks-auth/test_thredds.ipynb ...........                            [ 14%]
[2024-01-17T20:54:06.681Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [ 17%]
[2024-01-17T20:54:16.399Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 19%]
[2024-01-17T20:54:23.011Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb ........       [ 22%]
[2024-01-17T21:01:56.154Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 27%]
[2024-01-17T21:01:56.154Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 27%]
[2024-01-17T21:01:58.140Z] ...............                                                          [ 33%]
[2024-01-17T21:02:08.067Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 35%]
[2024-01-17T21:02:15.057Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 37%]
[2024-01-17T21:02:31.573Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 39%]
[2024-01-17T21:02:36.999Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 42%]
[2024-01-17T21:02:41.533Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 44%]
[2024-01-17T21:05:24.610Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 50%]
[2024-01-17T21:06:38.630Z] .............                                                            [ 54%]
[2024-01-17T21:06:40.811Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 56%]
[2024-01-17T21:06:43.024Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 59%]
[2024-01-17T21:06:59.385Z] .................                                                        [ 65%]
[2024-01-17T21:07:08.001Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 68%]
[2024-01-17T21:07:09.390Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 68%]
[2024-01-17T21:07:27.220Z] ........F                                                                [ 71%]
[2024-01-17T21:07:37.292Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 76%]
[2024-01-17T21:07:46.783Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 78%]
[2024-01-17T21:07:48.186Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 78%]
[2024-01-17T21:07:51.292Z] ......                                                                   [ 81%]
[2024-01-17T21:07:59.439Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 81%]
[2024-01-17T21:08:13.345Z] .............                                                            [ 86%]
[2024-01-17T21:08:23.363Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 86%]
[2024-01-17T21:09:00.488Z] ....s.                                                                   [ 89%]
[2024-01-17T21:09:08.643Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 89%]
[2024-01-17T21:09:24.206Z] ...                                                                      [ 90%]
[2024-01-17T21:09:39.118Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 90%]
[2024-01-17T21:10:03.044Z] ......                                                                   [ 93%]
[2024-01-17T21:10:05.486Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2024-01-17T21:12:45.631Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2024-01-17T21:12:45.631Z] 
[2024-01-17T21:12:45.631Z] =================================== FAILURES ===================================
    
  
tlvu commented 10 months ago

@mishaschwartz you didn't run make bump patch ?

mishaschwartz commented 10 months ago

@tlvu Ah oops. Ok I'll fix it