Jean-Marc Alkazzi
f799206920
Add relevant tests and formatting
2020-11-04 14:32:48 +02:00
GeorgianaElena
af6b56cf73
Update unit test
2020-06-08 12:36:26 +03:00
GeorgianaElena
651425972f
Modify loglevel
2020-06-05 15:04:14 +03:00
GeorgianaElena
acc1eea251
Traefik config files are .toml
2020-06-02 19:09:19 +03:00
GeorgianaElena
54bc95668b
Test Traefik extra config
2020-06-02 18:21:08 +03:00
YuviPanda
f82c49c12c
Use sha256 sums for verifying miniconda download
...
miniconda downloader now provides sha256 hashes. Previously
it provided only md5 hashes. md5 is deprecated everywhere for
everything, so let's use this
2020-05-29 13:32:55 +03:00
YuviPanda
41474e97e3
Update tests to check for newer location of idle culler
2020-05-03 16:00:07 +05:30
Yuvi Panda
edb7c29daf
Merge pull request #498 from GeorgianaElena/tls_version
...
Set tls 1.2 to be the min version
2020-01-31 12:41:00 -08:00
GeorgianaElena
8e3131c8f1
Update tests
2020-01-31 12:35:34 +02:00
GeorgianaElena
8b5d7ee79a
Bump conda in tests too
2020-01-30 12:05:54 +02:00
GeorgianaElena
fd81e9fef4
Bump conda to 4.7.10
2020-01-30 12:05:54 +02:00
GeorgianaElena
b4b37d84cc
Added tests
2020-01-14 13:31:38 +02:00
GeorgianaElena
2bc44e672b
pin conda version in tests
2019-08-26 15:13:19 +03:00
Yuvi Panda
f952e4e590
Merge pull request #399 from GeorgianaElena/add_append_to_arg
...
Allow adding multiple admins during install
2019-07-15 09:24:46 -07:00
GeorgianaElena
55e9aa2c29
Test multiple admins on install
2019-07-15 12:02:18 +03:00
Min RK
7d30501fc5
Merge pull request #382 from GeorgianaElena/issue349
...
Allow adding users to specific groups
2019-07-12 09:38:21 +02:00
GeorgianaElena
be388ab68a
Run idle culler as a tljh module
2019-06-24 13:34:51 +03:00
GeorgianaElena
88a09285d2
Renamed group config option
2019-06-21 11:38:26 +03:00
GeorgianaElena
da443ebd4b
Allow adding users to specific groups
2019-06-20 21:54:51 +03:00
GeorgianaElena
a6dee394aa
Fixed test
2019-06-12 17:32:33 +03:00
GeorgianaElena
5ec046716a
More idle culler tests
2019-06-12 17:05:13 +03:00
yuvipanda
f5ecce77a1
Add unit tests for run_subprocess
2019-05-29 11:27:53 -07:00
GeorgianaElena
bc9aa45b49
Add unset property option
2019-05-28 16:13:42 +03:00
yuvipanda
f4831f051f
Use c.Spawner to set mem_limit & cpu_limit
...
mem_limit & cpu_limit are traitlets on the parent
Spawner class. Setting these here allows plugins to
do the dangerous job of swapping the SystemdSpawner
out for something else
2019-05-18 14:39:34 -07:00
Min RK
407dc3abd4
Merge branch 'master' into replace_chp_traefik
2019-02-22 12:33:55 +01:00
Min RK
7c9bea377f
add load_secrets as an explicit stage
...
during load_config
rather than applying directly to defaults, which should be left static
2019-02-22 11:41:50 +01:00
Min RK
af36ee73e4
no longer need to mock out generate_traefik_api_credentials
2019-02-22 11:39:40 +01:00
Leticia Portella
d41347f933
Add NativeAuth as an optional authenticator
2019-02-20 20:16:12 +00:00
GeorgianaElena
84d8000114
Removed chp service
2019-02-18 15:08:53 +02:00
GeorgianaElena
ffa635dda3
Fixed tests
2019-02-13 14:59:57 +02:00
GeorgianaElena
e8b303d01b
Generate random traefik api password
2019-02-13 14:23:02 +02:00
GeorgianaElena
f7f686f540
Fixed unit test
2019-02-13 14:23:02 +02:00
GeorgianaElena
956c95e527
Fixed minor issues
2019-02-13 14:23:02 +02:00
GeorgianaElena
03b4c6218b
Fixed cfg runtime entry in test
2019-02-13 14:23:02 +02:00
GeorgianaElena
3ee387cd3b
Fixed some issues
2019-02-13 14:23:02 +02:00
GeorgianaElena
eee29a0957
Replace chp with traefik-proxy
2019-02-13 14:23:02 +02:00
Min RK
d331936812
consolidate yaml configuration
...
workaround ruamel.yaml issue 255,
where once an empty dict or list has been written,
'flow' style is used thereafter, using dense `{key: value}` form
instead of traditional yaml block style.
2018-11-01 11:34:16 +01:00
Tim Head
c67f34daca
Add tests for per user memory limit
2018-10-15 16:31:16 +02:00
yuvipanda
9b0248e0c3
Normalize unix usernames to be under 32char
...
JupyterHub usernames do not have this restriction,
causing user creation to fail when usernames are too large.
2018-09-12 16:46:59 -07:00
Yuvi Panda
4eeebc991f
Merge pull request #163 from minrk/config-dir
...
put config in `$tljh/config` directory
2018-09-04 18:04:57 -07:00
Matthias Bussonnier
5bbba2bd7c
add test
2018-08-31 18:15:56 -07:00
Min RK
5df106fa82
move config migration to its own file
2018-08-31 12:17:16 +02:00
Min RK
3c082a3fd6
ensure config_dir exists in unittests
2018-08-29 09:45:15 +02:00
Min RK
4b79993ea0
test config dir setup
...
including upgrading old config files
2018-08-28 14:16:09 +02:00
Min RK
4522917c23
fix manual ssl config test
2018-08-03 16:17:22 +02:00
Min RK
f0a0d2f20d
limit traefik permission check to ugo
...
ignores possible sticky bits, etc.
2018-08-03 16:11:49 +02:00
Min RK
51299e619b
unittests for traefik
2018-08-03 16:09:25 +02:00
Min RK
7b1dcc8b99
move tljh_dir fixture to conftest
...
so it can be used everywhere
2018-08-01 17:05:43 +02:00
Min RK
a4427068cc
tests and fixes in tljh-config
...
- add remove-item to cli
- fix setting non-string values (int, bool, float)
- show help when no action is given
- test coverage for cli
2018-07-31 13:25:30 +02:00
yuvipanda
7e9e2d375c
Add tljh-config remove-item to remove an item from a list
2018-07-28 11:57:11 -07:00