Commit Graph

61 Commits

Author SHA1 Message Date
Paweł T. Jochym
5f2e3b1726 Reflect distro support i comment 2022-09-21 20:28:25 +02:00
Paweł T. Jochym
45abba3c37 Add requested comments specific to debian 2022-09-15 17:34:25 +02:00
Paweł T. Jochym
d0204e23ac Merge branch 'jupyterhub:main' into main 2022-09-15 16:57:05 +02:00
Simon Li
3340ac8417 Handle request for partial git tags 2022-06-17 16:48:22 +01:00
Simon Li
8324e49ed9 TLJH version can be specified on the command line 2022-06-16 20:54:54 +01:00
Georgiana Elena
87258b5abd Update progress_page_favicon_url link 2022-04-27 15:41:20 +03:00
Paweł T. Jochym
e408d99a5a Missing negation 2022-02-20 10:44:24 +01:00
Paweł T. Jochym
48a8e5fcb5 Typo 2022-02-20 10:41:36 +01:00
Paweł T. Jochym
94f57fc3dd Add Debian >10 to supported distros 2022-02-20 10:33:23 +01:00
Ray Bell
514ee6372d extra logger.info 2021-12-29 01:18:10 -05:00
Erik Sundell
e0aaa4f995 pre-commit: run black with string normalization 2021-11-03 23:55:34 +01:00
Erik Sundell
2ba942ba76 pre-commit: manual adjustments following black 2021-11-03 23:53:43 +01:00
Erik Sundell
771ae59636 pre-commit: run black without string normalization 2021-11-03 23:53:41 +01:00
Erik Sundell
c2c4d708f5 pyupgrade fixes 2021-10-31 11:26:40 +01:00
Erik Sundell
3596039bbd ci: ensure to --yes adding apt-get repository 2021-10-20 11:31:37 +02:00
Erik Sundell
26c34524b2 bootstrap: DEBIAN_FRONTEND=noninteractive during apt-get install 2021-10-20 11:31:37 +02:00
Erik Sundell
ba25e09b82 Pin pip to 21.3.* 2021-10-19 14:42:36 +02:00
Erik Sundell
4042967437 Unpin pip to support 20.04 2021-10-19 14:42:36 +02:00
Erik Sundell
9179365a4f docs: fix language regarding master 2021-10-19 11:33:58 +02:00
Erik Sundell
b1b867bd4e bootstrap: tweak language in progress logs emitted 2021-10-18 19:38:56 +02:00
Erik Sundell
d36c53da1b Require python 3.6+ 2021-10-18 19:30:40 +02:00
Erik Sundell
ba84229c8f Refactor bootstrap.py script for readability 2021-10-18 01:13:34 +02:00
Richard Brinkman
755752f048 Fix HTML of bootstrap 2020-10-19 11:56:56 +02: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
43c38bc09d Embed HTML file in bootstrap script 2020-08-17 15:36:02 +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
GeorgianaElena
d00245e3bf Upgrade pip 2020-04-23 13:14:32 +03:00
yuvipanda
8ec3fab3f3 Make installer.log non-readable by non-root users
Doesn't have any sensitive info right now but might
in the future.

Fixes #142
2019-05-29 11:27:53 -07:00
yuvipanda
f5ecce77a1 Add unit tests for run_subprocess 2019-05-29 11:27:53 -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
5a3ca1fd8c Merge pull request #242 from owah/master
Adds the universe repository to the used sources
2019-05-28 13:15:42 -07:00
yuvipanda
1cb6717fea Say 'running inside a docker container', not 'plain docker'
'Plain docker' makes no sense
2019-05-20 09:52:50 -07:00
yuvipanda
9f2a04ac49 Add more validation to bootstrap.py
- Check for Python Version
- Check if systemd is present
- Provide more useful error message when running inside
  an unprepared docker container

Ref #16
2019-05-19 22:46:16 -07:00
yuvipanda
a8b28744a6 bootstrap: Explicitly mark python3-pip as installed
We need it to work, so we mark it as an explicit
dependency.
2019-05-19 20:39:27 -07:00
yuvipanda
948548b033 bootstrap: Install software-properties-common
Gets us add-apt-repository, which helps ensure the
universe repository is enabled.
2019-05-19 20:38:30 -07:00
owah
395cb93290 Adds the universe repository to the used sources
This change is required, to support Ubuntu Server 18.04.01, which by default doesn't ship with universe. Universe contains python3-venv which is needed for tljh
2019-05-19 20:38:30 -07:00
yuvipanda
d7672bf907 Install git explicitly during bootstrap
Some servers don't have git on by default
2019-01-09 15:56:28 -08:00
yuvipanda
599c9d37dd Get '.strip()' right 2018-11-13 14:46:16 -08:00
yuvipanda
ca38dcd413 Decode output from subprocess before performing string operations 2018-11-13 14:40:24 -08:00
yuvipanda
43d9f02203 Fix putting literal {}s in python format string 2018-11-13 14:28:59 -08:00
yuvipanda
e9462bb7ae Do not use deprecated platform module
Since bootstrap.py needs to restrict itself to
stdlib python, we read from /etc/os-release than trying
to install the distro package.
2018-11-13 12:47:05 -08:00
yuvipanda
5374f5eaf5 Provide better error message when running on unsupported distro 2018-11-13 12:35:41 -08:00
yuvipanda
94354b8e64 Add documentation to logging on where to find installer logs
Also send bootstrap & installer logs to same file.
2018-07-29 12:53:04 -07:00
yuvipanda
414d3932ac Log bootstrap / installer messages to file as well
This enables debugging when a server does not come up as
expected.

Fixes #22
2018-07-29 02:17:12 -07:00
Yuvi Panda
eeffc6e197 Merge pull request #64 from jupyterhub/hub-venv
Use venv for base hub environment
2018-07-23 14:41:15 -07:00
yuvipanda
5064979a57 Replace pointers to yuvipanda/ on github with jupyterhub/ 2018-07-20 16:17:33 -07:00