Commit Graph

390 Commits

Author SHA1 Message Date
Min RK
634956c33e Update base user environment to miniforge 24.5.0-0 (Python 3.12)
mambaforge is deprecated, mamba has been in miniforge for some time now
2024-08-27 10:54:07 +02:00
Erik Sundell
7e39e993da Merge pull request #962 from jrdnbradford/validate-config-yaml
Validate tljh specific config
2024-04-04 07:45:42 +02:00
Jordan
9bcfa70326 Update tljh/config.py
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2024-04-03 16:05:16 -04:00
Jordan Bradford
7474b876f1 Remove unneeded validate code 2024-04-03 16:04:29 -04:00
Jordan
5ae31ce169 Update tljh/config.py
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2024-04-03 16:03:14 -04:00
Jordan
b94a281ff8 Update tljh/config.py
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2024-04-03 16:03:05 -04:00
Jordan
67dd3c8abe Update tljh/config.py
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2024-04-03 16:02:55 -04:00
Jordan Bradford
196208ae58 Remove argparse.BooleanOptionalAction for Python 3.8 compatibility 2024-04-03 13:30:32 -04:00
Jordan Bradford
4ddd798928 Add docstring from config_schema.py 2024-03-27 12:08:28 -04:00
Jordan Bradford
48fe440372 Add --[no-]validation flag for tljh-config 2024-03-20 14:36:49 -04:00
Erik Sundell
4e397bc687 Re-install conda/mamba for every tljh upgrade (doesn't imply upgrade) 2024-02-26 16:44:12 +01:00
pre-commit-ci[bot]
b35851f2b7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-05 20:29:33 +00:00
Jordan Bradford
1f7d6d1c55 Add doc string for validate_config 2024-02-05 14:52:31 -05:00
Jordan Bradford
9060267458 Add LetsEncrypt.staging; run pre-commit 2024-02-03 13:39:17 -05:00
Jordan Bradford
4912cffe65 Fix parse_value 2024-02-03 13:27:58 -05:00
Jordan Bradford
d0c9aa263a Remove TLS required properties 2024-02-03 13:18:39 -05:00
Jordan Bradford
fa363658df Update schema based on values in configurer.py 2024-02-03 13:08:27 -05:00
Jordan Bradford
166eba6735 Switch from JSON to py 2024-02-03 12:48:31 -05:00
Jordan Bradford
5a0de137d2 Do not allow additionalProperties for Users 2024-02-02 23:22:57 -05:00
Jordan Bradford
929536de7b Run pre-commit hooks 2024-02-02 23:07:38 -05:00
Jordan Bradford
ef5c6c56b7 print human readable error message 2024-02-02 23:06:31 -05:00
Jordan Bradford
fb01dea5e4 Working schema path 2024-02-02 23:01:36 -05:00
Jordan Bradford
78d4b7fbc4 Test config setup 2024-02-02 22:52:16 -05:00
Jordan Bradford
d292457803 Initial config setup 2024-02-02 21:51:23 -05:00
Erik Sundell
4abf3f003f Add optional oauthenticator dependency for AzureAD 2024-01-04 02:28:28 +01:00
Erik Sundell
b13f09564d docs: update changelog for 1.0.0 release 2023-08-11 14:31:41 +02:00
Erik Sundell
4cd5da40c3 Update to jupyterhub >=4.0.2,<5 2023-08-10 15:14:09 +02:00
Ray Bell
854f5edd06 WIP: try default_app 2023-08-09 09:40:26 +02:00
Jeremy Tuloup
86a4bb67c8 Update Notebook, JupyterLab, Jupyter Resource Usage 2023-08-01 06:12:05 +00:00
Erik Sundell
831a368b5a breaking: update oauthenticator from 15.1.0 to >=16.0.2,<17 2023-07-06 21:35:40 +02:00
Min RK
39b1e1a7c7 preserve version pin when reinstalling conda
avoids upgrade on older versions
2023-06-09 15:33:36 +02:00
Min RK
ee23e041de reinstall conda/mamba in a separate, unconditional step
makes it more likely that subsequent conda installs will succeed

- fix indentation on the upgrade steps so they aren't run every iteration
- no longer need to bump required versions
2023-06-09 15:00:00 +02:00
Min RK
29b354b42b use force-reinstall
not deprecated --force
2023-06-09 14:16:27 +02:00
Min RK
4cc55df2a4 force upgrade of conda itself
if conda upgrade conda is broken, we are in trouble

this is required to avoid the RemoveError
2023-06-09 14:08:03 +02:00
Min RK
4f0179a84c bump minimum conda/mamba versions
an old conda bug causes RemoveError: requests is a dependency of conda
when installing other packages

upgrading conda itself avoids this bug.
It's unclear what the true minimum version is to fix this,
but the important thing is that it will be upgraded if it's still the version in 0.2.0 (4.10),
so pick the version from today which we know works
2023-06-09 13:58:32 +02:00
Erik Sundell
b1c7e53be4 test refactor: try decouple admin tests from other tests 2023-06-09 03:37:39 +02:00
Erik Sundell
d4c6da52e1 maint: let installer ensure /etc/sudoers.d directory exists 2023-06-08 23:11:58 +02:00
Erik Sundell
c5eae3386a SystemdSpawner 1: don't prevent admins from sudo / privilege escalation
Having upgraded systemdspawner to 1.0.0, its configuration option
`disable_user_sudo` now defaults to True. This would be a breaking
unwanted change for our jupyterhub admin users who are configured with
passwordless sudo.

Its unlikeley a breaking change for other users, but could be if they
are granted sudo rights without being a jupyterhub admin. But, if they
are, then they could grant themself such rights anyhow so its reasonable
to assume jupyterhub admins only should have sudo rights in a TLJH
installation.
2023-06-08 15:16:35 +02:00
Erik Sundell
a373b2108c Update systemdspawner from v0.17 to v1.0.1+ 2023-06-08 15:16:35 +02:00
Erik Sundell
f00e17b3d7 Merge pull request #912 from consideRatio/pr/remove-configurator
Stop bundling jupyterhub-configurator which has been disabled by default
2023-06-06 12:16:47 +02:00
Erik Sundell
78bc5bcedd Fix recently introduced failure to upper bound systemdspawner 2023-06-05 23:12:20 +02:00
Erik Sundell
ebb3d9bef1 Stop bundling jupyterhub-configurator which has been disabled by default 2023-06-02 16:57:39 +02:00
Min RK
2d645a7d89 Merge pull request #905 from nsurleraux-railnova/bind_address
Add a Traefik configuration to listen on a specific address (#903)
2023-05-25 15:29:37 +02:00
pre-commit-ci[bot]
0f385af837 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-25 12:56:22 +00:00
Nicolas Surleraux
bbc6c465ac Allow to listen on a specific address via TLJH config 2023-05-24 11:42:27 +02:00
Erik Sundell
270ec00343 Update tmpauthenticator from 0.6 to 1.0.0 2023-05-22 16:09:54 +02:00
Erik Sundell
27a94f4645 Update jupyterhub-configurator to latest 2023-05-22 12:38:27 +02:00
Erik Sundell
d4ef212b05 Update nativeauthenticator from 1.1.0 to 1.2.0 to support jh4 2023-05-22 12:37:51 +02:00
Erik Sundell
21312b2cfd user env: upgrade jh based on hub spec 2023-05-18 23:56:46 +02:00
Erik Sundell
6388d390e1 refactor: improve readability of a section 2023-05-18 23:51:41 +02:00