Commit Graph

183 Commits

Author SHA1 Message Date
ibayer
24c170ba0e bump nativeauthenticator version to avoid critical bug 2021-04-24 13:13:03 +02:00
GeorgianaElena
0e7c30296d Move schema to configurator 2021-04-06 13:44:29 +03:00
Jeremy Tuloup
873e6bf661 Remove Node.js 2021-02-08 18:01:28 +01:00
YuviPanda
94b38def7d Upgrade to JupyterLab 3.0
JupyterLab 3.0 no longer equires npm to build extensions!
This should hopefully let us reduce the memory requiremets
for TLJH.
2020-12-29 16:22:57 +05:30
GeorgianaElena
11b872943b Pin chardet in hub env 2020-12-23 14:07:05 +02:00
GeorgianaElena
516a23e377 Bump jh in hub env 2020-12-23 14:07:05 +02:00
Min RK
3d00ce5316 bump systemdspawner to 0.15 2020-12-07 12:53:38 +01:00
Yuvi Panda
f0b8745194 Merge pull request #605 from GeorgianaElena/in-progress-page
Temporary page while tljh is building
2020-09-14 13:37:34 +05:30
GeorgianaElena
884f3decdd Log info about progress page server status 2020-08-21 18:03:21 +03:00
GeorgianaElena
1ce172ae3e Added more comments 2020-08-17 19:04:25 +03:00
GeorgianaElena
cef898fd31 Rename flags and work with sys.argv copy 2020-08-17 16:54:16 +03:00
GeorgianaElena
d1bee23a7d Pass the pid to the installer as a cmd arg 2020-08-11 16:01:44 +03:00
GeorgianaElena
fcb5257901 Put the temp page under a flag 2020-08-11 14:09:11 +03:00
GeorgianaElena
69a6f89518 Only serve explicit routes 2020-08-11 12:23:50 +03:00
GeorgianaElena
972b15b95a Serve a temporary html page while tljh is building 2020-08-03 14:55:22 +03:00
Yuvi Panda
70c76b11a7 Bump systemdspawner
New version released, with https://github.com/jupyterhub/systemdspawner/pull/53
2020-07-29 13:44:58 +05:30
YuviPanda
9662d437c4 Upgrade JupyterLab version
2.x has been around for a while
2020-07-28 15:54:56 +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
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
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
GeorgianaElena
989eda8906 Append admin cmd option 2019-07-11 20:51:51 +03:00
Jeremy Tuloup
f3232e7c44 Add tljh_post_install hook 2019-06-27 11:45:36 +02:00
yuvipanda
77dc6a0e27 Add hook to install packages in hub environment
Required when installing additional authenticators or
spawners
2019-06-05 15:20:49 +02:00
yuvipanda
f7c472df5f Add tmpauthenticator by default to TLJH
Is popular enough we should let people use it by
default
2019-06-05 15:20:49 +02:00
Georgiana Elena
b11a10b8ed Merge pull request #359 from yuvipanda/pycurl
Install & use pycurl for requests
2019-05-30 22:50:16 +03:00
Yuvi Panda
993ccaf8cd Merge pull request #337 from yuvipanda/better-output
Provide much better error messages
2019-05-29 13:13:08 -07:00
Yuvi Panda
7c2068f222 Merge pull request #357 from GeorgianaElena/issue356
Suppress insecure HTTPS warning when upgrading TLJH
2019-05-29 11:37:00 -07:00
yuvipanda
0583a7b0ba Install & use pycurl for requests
It's generally more bugfree and performant.
We install dependencies of pycurl, including build-essential.
build-essential is used by many other dependencies
as well - particularly psutil for nbresuse.

Fixes #289
Fixes #286
2019-05-29 11:34:23 -07:00
yuvipanda
7071332445 Provide much better error messages
- When processes fail, they actually print a failure message
  on the user's terminal
- Regardless of success or failure, we print all output to
  /opt/tljh/installer.log

This should make debugging people's issues *much* easier, since
we can actually see the output of failing commands rather than
having to guess.
2019-05-29 11:27:53 -07:00
Yuvi Panda
190b61d953 Merge pull request #313 from minrk/jhub-1
Upgrade to JupyterHub 1.0
2019-05-29 11:08:40 -07:00