Commit Graph

428 Commits

Author SHA1 Message Date
GeorgianaElena
8c14372356 Remove debug print 2020-06-02 18:29:12 +03:00
GeorgianaElena
bb4614051b Refactor 2020-06-02 18:21:08 +03:00
GeorgianaElena
a2ccaef528 Use dump 2020-05-29 18:30:58 +03:00
GeorgianaElena
ec650ce3c1 Allow extra traefik config 2020-05-29 17:59:20 +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
Georgiana Elena
efb1f64fec Merge pull request #560 from jtpio/unused-plugins-argument
Remove unused plugins argument from run_plugin_actions
2020-05-14 14:22:05 +03:00
YuviPanda
1c7e89ab1e Install jupyterhub-idle-culler from PyPI
A v1.0 release has been made!
2020-05-03 16:00:07 +05:30
YuviPanda
474005cbd1 Use idle culler from jupyterhub-idle-culler package
The idle culler lives as a script in at least 3 different
places:

- In the JupyterHub repo, as an 'example'
  d126baa443/examples/cull-idle
- In the TLJH repo, as a core part of the service
  01ba34857d/tljh/cull_idle_servers.py.
  This is an import from a specific version of the JupyterHub repo,
  and has had a couple of changes made to it since.
- In the z2jh repo, as a core part of the service
  c3f3be25f8/jupyterhub/files/hub/cull_idle_servers.py
  This is also an import from a specific version of the JupyterHub
  repo, but has had a lot more work done on it. Most had been sync'd
  back the JupyterHub repo, but some had not been. See
  9c15a42b12/images/hub/cull_idle_servers.py
  and https://github.com/jupyterhub/zero-to-jupyterhub-k8s/commits/master/jupyterhub/files/hub/cull_idle_servers.py

The idle culler is a core integral part of every JupyterHub deployment
these days. It would be great if it was maintained separately on
its own, without being split across multiple repos.

The latest changes had been to the version in the JupyterHub repo, so I
copied it (while preserving commit history, because credit is important)
to a new repository: https://github.com/yuvipanda/jupyterhub-idle-culler

I looked through z2jh and tljh copies, and cherry-picked the following
changes manually

ae80fb5163
836f19a4c7
a0787c64f1
b230ef8156
20374db7c6 (diff-f00cd100e9f673285208aaa6fc0c3212)

There were a few from 9c15a42b12/images/hub/cull_idle_servers.py
I could not apply, but mostly because those features had been
re-implemented already.

Right now, the package is a direct port of the code we had. Once
this settles in, I am hopefull we can iterate faster and make cool
new changes.
2020-05-03 16:00:07 +05:30
Jeremy Tuloup
405a911f46 Remove unused plugins from run_plugin_actions 2020-04-29 11:43:53 +02:00
Jeremy Tuloup
9efde6545e Update hub packages to the latest stable versions 2020-03-23 16:24:03 +01:00
Jeremy Tuloup
e6c9fd6e63 Fix typo 2020-03-12 09:57:39 +01:00
GeorgianaElena
04fb90ed7b Fix installer 2020-02-26 10:15:15 +02:00
GeorgianaElena
9eb13cb439 bump jupyterlab minor version 2020-02-03 10:22:03 +02:00
Min RK
e15691ce94 switch base environment to requirements file
and update several dependencies in the process (jupyterlab 1.1, notebook 6.0, etc.)
2020-02-03 10:12:36 +02:00
Letian Wang
66e983624e Update jupyterlab build methods 2020-02-01 17:16:14 +11:00
Letian Wang
2698274173 upgrade jupyterlab to 1.2.6 2020-02-01 15:13:12 +11:00
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
44f5859381 Set tls min version 2020-01-31 12:29:25 +02:00
GeorgianaElena
063f92a9a6 Refactor 2020-01-30 20:24:06 +02:00
GeorgianaElena
4aef4b3de7 Only install miniconda if no prev installs exist 2020-01-30 19:59:44 +02:00
GeorgianaElena
b645e6e933 Only upgrade miniconda in fresh installs 2020-01-30 12:05:54 +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
a659d1b48a Make Python3.7 default and upgrade conda 2020-01-30 12:05:54 +02:00
GeorgianaElena
e1c0c911cb Try to trigger test report 2020-01-14 14:07:52 +02:00
GeorgianaElena
b4b37d84cc Added tests 2020-01-14 13:31:38 +02:00
GeorgianaElena
f653d48b87 Pass admin:password to the installer 2020-01-14 13:31:38 +02:00
GeorgianaElena
657280fdfd Changed help msg for password 2020-01-14 13:31:38 +02:00
GeorgianaElena
a75250e512 Add the option to set admin passwords during install 2020-01-14 13:31:38 +02:00
GeorgianaElena
e47d6a4473 Upgrade authenticators 2020-01-08 10:54:17 +02:00
johannes.kaufmann
1af3b71585 Move plugin manager call to end 2019-12-02 15:58:01 +01:00
johannes.kaufmann
6c00595073 Move plugin manager to utils
Fix typo
2019-10-28 08:48:52 +01:00
johannes.kaufmann
e87a3846d8 move plugin call 2019-10-28 08:43:09 +01:00
johannes.kaufmann
b5af63f3a3 add hook 2019-10-24 15:54:56 +02:00
johannes.kaufmann
07e487a199 add plugin infrastructure to user script 2019-10-24 15:52:37 +02:00
GeorgianaElena
1956f11f62 Write out deb line only if it already doesn't exist 2019-10-21 13:47:16 +03:00
GeorgianaElena
eb6318c70f Upgrade traefik version 2019-10-01 11:00:28 +03:00
GeorgianaElena
87bed7aaf1 Disable ProtectHome=tmpfs 2019-09-19 12:53:43 +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
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
989eda8906 Append admin cmd option 2019-07-11 20:51:51 +03:00
GeorgianaElena
93cf80a677 Import containers from collections.abc 2019-07-08 13:41:31 +03:00
GeorgianaElena
1842f46708 Fixed typo 2019-07-01 17:59:10 +03:00
GeorgianaElena
ba0454d23a Fix import 2019-07-01 17:25:37 +03:00
GeorgianaElena
323847aa51 Validate user groups 2019-07-01 11:18:38 +03:00
Jeremy Tuloup
f3232e7c44 Add tljh_post_install hook 2019-06-27 11:45:36 +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
yuvipanda
7d4ecf9866 Tell apt-get to never ask questions
It seems to be blocking waiting on user input
for a couple packages now

Fixes #379
2019-06-18 13:16:24 -07:00