Commit Graph

303 Commits

Author SHA1 Message Date
yuvipanda
fbfa932c21 Don't use subprocess.run features from 3.7 2018-08-04 10:23:42 -07:00
yuvipanda
a8e6165fa5 Add test to check if serverextensions are installed 2018-08-04 10:17:35 -07:00
yuvipanda
1f4acfead3 Install gcc by default
Required by psutil, which is required by nbresuse
2018-08-04 09:58:28 -07:00
yuvipanda
37b3778264 Install nbresuse by default
Extremely useful to see how much RAM you are using right now
2018-08-03 15:09:38 -07:00
Yuvi Panda
8e8a303978 Merge pull request #103 from jupyterhub/skeleton
shared data and username emphasis
2018-08-03 15:08:41 -07:00
yuvipanda
5cf07c453f Fix rst syntax errors
- Add sudo wherever required
2018-08-03 14:57:00 -07:00
Chris Holdgraf
0fbc5ff0ae shared data and username emphasis 2018-08-03 14:55:56 -07:00
Yuvi Panda
0d43039439 Merge pull request #110 from yuvipanda/install-doc-reorg
Re-organize installation documentation
2018-08-03 14:49:07 -07:00
yuvipanda
3984db0e65 Add note about installation tutorials 2018-08-03 14:42:44 -07:00
Yuvi Panda
83c6c41f39 Merge pull request #91 from jupyterhub/docs
small updates to the docs
2018-08-03 10:57:19 -07:00
Yuvi Panda
be01336b95 Merge pull request #96 from minrk/test-https
unittests for traefik
2018-08-03 10:54:46 -07: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
yuvipanda
3c861d3427 Move installer documentation to its own directory
Specific & different enough from tutorials
2018-08-02 12:38:11 -07:00
yuvipanda
6c3c437a85 Use appropriate heading underline style 2018-08-02 12:30:51 -07:00
yuvipanda
92205d7990 Remove LDAP specific auth howto document
This needs a lot more work before it is useful, so we
remove it for now.
2018-08-02 12:26:31 -07:00
yuvipanda
f154e0d936 Clarify generic authenticator setup documentation 2018-08-02 12:25:03 -07:00
yuvipanda
6f67a4762f Clarify command for deleting unix system users 2018-08-02 12:03:18 -07:00
Yuvi Panda
dc1275912d Merge pull request #87 from yuvipanda/escape-hatch
Load arbitrary .py config files from a conf.d dir
2018-08-02 11:57:26 -07:00
yuvipanda
0da615ce5a Add note about creating jupyterhub_config.d directory 2018-08-02 10:59:26 -07:00
yuvipanda
c5fc1a70d7 Add docs for escape hatch 2018-08-02 10:59:26 -07:00
yuvipanda
edfbbd8ae9 Use jupyterhub_config.d rather than config.d for overrides
Makes it clearer that these are jupyterhub_config.py snippets
rather than config.yaml snippets
2018-08-02 10:59:26 -07:00
yuvipanda
3124cf1f80 Load arbitrary .py config files from a conf.d dir
We want to keep the amount of custom code we support extremely
small. This provides a nice escape hatch for everything else.
2018-08-02 10:59:26 -07:00
Yuvi Panda
02695e4687 Merge pull request #94 from yuvipanda/tljh-bin
Symlink tljh-config to /usr/local/bin
2018-08-02 10:50:23 -07:00
yuvipanda
6e29dd5db9 Error out if there's a tljh-config that isn't ours in PATH 2018-08-01 18:53:50 -07:00
yuvipanda
381deaa399 Document all the actions the installer performs 2018-08-01 18:10:50 -07:00
Yuvi Panda
fb680dc85d Merge pull request #95 from minrk/fix-coverage
fix coverage uploads
2018-08-01 10:00:35 -07: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
9e76345276 activate test env
needed for codecov to find necessary commands

codecov appears to need git as well

environment variables must be set at runtime using a weird [$BASH_ENV trick](https://circleci.com/docs/2.0/env-vars/#using-bash_env-to-set-environment-variables) since circle doesn't support simple `PATH: bin:$PATH` in the environment variable spec.
2018-08-01 16:19:36 +02:00
yuvipanda
912d5a5e17 Install sudo in the integration-test container 2018-07-31 13:37:31 -07:00
yuvipanda
48441e2d22 Use sudo -E to invoke tljh-config in integration tests
This is how users invoke it, so we should use this to
validate that this works.
2018-07-31 13:32:46 -07:00
yuvipanda
6394652025 Fix ensure_symlinks to use method that actually exists 2018-07-31 13:23:43 -07:00
yuvipanda
816e9a01a1 Test symlinking tljh-config 2018-07-31 13:19:45 -07:00
yuvipanda
a6373200ec Symlink tljh-config to /usr/local/bin
This lets `sudo -E` work when calling tljh-config. It currently
does not, since we do not add the hub venv to PATH
2018-07-31 13:16:57 -07:00
Yuvi Panda
573956eb38 Merge pull request #93 from yuvipanda/code-review
Document code-review practices
2018-07-31 13:06:02 -07:00
yuvipanda
c6f2ecfd7f Soften tone for code review guidelines 2018-07-31 12:59:24 -07:00
yuvipanda
b5e6a27fa8 Add a pull request template 2018-07-31 12:55:01 -07:00
yuvipanda
a012b6ebda Add documentation on code review guidelines 2018-07-31 12:36:16 -07:00
Yuvi Panda
505c76499c Merge pull request #89 from minrk/fix-config
tests and fixes in tljh-config
2018-07-31 10:06:36 -07:00
Chris Holdgraf
ccac483c50 small updates to the docs 2018-07-31 09:38:25 -07: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
Min RK
d0f3b581e0 Merge pull request #88 from yuvipanda/reload-traefik
Fix traefik config reload
2018-07-31 12:39:55 +02:00
Min RK
c6654aea08 avoid circular imports 2018-07-31 12:05:47 +02:00
Min RK
2760e1adcd consolidate paths in config.py 2018-07-31 12:04:40 +02:00
yuvipanda
75ffa91c85 Fix traefik config reload
Simply reloading traefik is not enough - we need to actually
write the new traefik.toml file.
2018-07-30 23:59:33 -07:00
Yuvi Panda
41a12a975e Merge pull request #86 from yuvipanda/fix-readme
Fix notebook user interface switching docs
2018-07-30 17:43:46 -07:00
yuvipanda
6c0ae9a1ef Use tljh-config for notebook interface switching 2018-07-30 17:26:04 -07:00
yuvipanda
d674b546ea Fix notebook user interface documentation casing
Not using current casing
2018-07-30 17:23:37 -07:00
Yuvi Panda
ef697860f9 Merge pull request #85 from jupyterhub/fix-readme
Remove README note about HTTPS not being supported
2018-07-30 11:32:09 -07:00