Commit Graph

1024 Commits

Author SHA1 Message Date
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
yuvipanda
f733e74777 Remove README note about HTTPS not being supported
It is now!
2018-07-30 11:27:40 -07:00
Yuvi Panda
c980987181 Merge pull request #67 from minrk/traefik
Add HTTPS support with traefik
2018-07-30 11:19:28 -07:00
Yuvi Panda
e76bb5ffb3 Merge pull request #79 from jupyterhub/github-links
Customize theme to have better links in sidebar
2018-07-30 10:54:15 -07:00
yuvipanda
72744d390c Better placement of 'file an issue' link
Remove navigation.html from sidebar, since I could not figure
out how to control it. The autogenerated links are not very
useful
2018-07-30 10:21:07 -07:00
Min RK
5a76d036f1 docs for setting up HTTPS 2018-07-30 16:08:47 +02:00
Min RK
ad3b08abd8 traefik: only log errors and redact headers 2018-07-30 15:45:37 +02:00
Min RK
8e75a44502 grant traefik write access to state/acme.json
and ensure the file exists and is private before launching
2018-07-30 15:26:09 +02:00
Min RK
7f07bfbec4 reload traefik on tljh-config reload proxy 2018-07-30 15:04:37 +02:00
Min RK
581b4969f5 traefik can give 502 while starting up 2018-07-30 14:33:02 +02:00
Min RK
c2d6cb38cd include traefik template in MANIFEST
so it gets installed
2018-07-30 14:26:17 +02:00
Min RK
fcdce11cae ensure state dir exists before putting files in it 2018-07-30 14:04:36 +02:00
Min RK
000ac05e14 Add traefik in front of CHP
introduces configuration for manual tls and letsencrypt
2018-07-30 14:04:35 +02:00
Min RK
2cb7d10ac7 add load_config top-level function to configurer
for easy loading of the full config
2018-07-30 14:01:43 +02:00
yuvipanda
ecfe733309 Set-up sidebar to show nav / about sections 2018-07-29 23:36:56 -07:00
Yuvi Panda
e2d46a2562 Merge pull request #82 from jupyterhub/logging
Log bootstrap / installer messages to file as well
2018-07-29 13:00:59 -07: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
44df8906cb Create /opt/tljh if it does not exist in installer
This helps when you are just running the installer,
without the bootstrap
2018-07-29 02:19:30 -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
25475916c5 Merge pull request #80 from jupyterhub/auth-docs
Add docs on using arbitrary authenticators
2018-07-28 14:36:36 -07:00
yuvipanda
1740df326d Add docs on using arbitrary authenticators
Fixes #78
2018-07-28 14:32:31 -07:00
yuvipanda
bf73783ef6 Customize theme to have better links in sidebar
Fixes #61
2018-07-28 13:45:06 -07:00
Yuvi Panda
1ba7a3a565 Merge pull request #77 from jupyterhub/config
Add tljh-config command
2018-07-28 13:12:46 -07:00
yuvipanda
7acd331e38 Add documentation on adding / removing admin users 2018-07-28 13:07:01 -07:00
yuvipanda
7e9e2d375c Add tljh-config remove-item to remove an item from a list 2018-07-28 11:57:11 -07:00
yuvipanda
f0c944aeb8 Add code + tests for adding items to a list 2018-07-28 11:14:53 -07:00
yuvipanda
6f99da5d95 Add full integration test with hubtraf
- Fully simulates what a user would be doing
- Also tests tljh-config set and reload functionality
2018-07-28 01:12:13 -07:00
yuvipanda
fad3e70116 Add topic guide on tljh-config 2018-07-27 22:57:59 -07:00
yuvipanda
0d0dbc828c Fix typo in tljh-config 2018-07-27 22:57:19 -07:00
yuvipanda
95a0359d32 Add howto doc on dummy authenticator 2018-07-27 22:22:45 -07:00