Min RK
26ebc61a79
move integration-test dockerfile to integration-tests directory
2018-07-16 18:07:17 -07:00
Min RK
7b1efbf16e
run integration tests with pytest
...
adds integration-tests directory
2018-07-16 17:58:14 -07:00
Yuvi Panda
e335c1f79c
Update badges to point to new repo location
...
Moved from yuvipanda/ to jupyterhub/
2018-07-16 17:50:24 -07:00
Yuvi Panda
0fd79d6948
Merge pull request #37 from jupyterhub/authenticator-support
...
Support using arbitrary set of installed authenticators
2018-07-16 16:24:24 -07:00
yuvipanda
0385f8e5f7
Add LDAP & OAuthenticator to initial install
2018-07-16 16:19:16 -07:00
yuvipanda
cc5622995d
Do not special case *any* authenticator
...
No two ways to set authenticator options - just one way.
It's slightly 'ugly' because of the mixing of camel case &
snake case, but is worth the massive reductions in complexity!
2018-07-16 16:05:44 -07:00
yuvipanda
2c7f99b57c
Support arbitrary authenticators
...
- Removes all need for special casing authenticators.
- Install them in hub environment, directly start using them.
- Consider if we should special case any *at all*
2018-07-16 12:03:45 -07:00
Yuvi Panda
c814ba1cf2
Merge pull request #40 from rprimet/patch-1
...
Minor typo
2018-07-16 11:49:08 -07:00
yuvipanda
66de7bb038
Make authenticator class assigning code more generic
2018-07-16 01:39:59 -07:00
yuvipanda
395b6543da
Add tests for configurer.py
2018-07-16 01:39:59 -07:00
yuvipanda
9bf4a64826
Dynamically set authenticator properties from YAML
...
We don't wanna explicitly map keys from the YAML to traitlet
config for the authentication - that's a lot of busywork for no
gain. We instead switch to using snake_case everywhere, and
dynamically set traitlet config from YAML config!
2018-07-16 01:39:59 -07:00
Yuvi Panda
ba7545769f
Merge pull request #39 from yuvipanda/all-pip
...
Install all python packages in hub environment with pip
2018-07-16 01:39:43 -07:00
Romain Primet
2a56da0c82
Minor typo
2018-07-16 10:36:06 +02:00
yuvipanda
3b6a964a4d
Install all python packages in hub environment with pip
2018-07-16 01:28:18 -07:00
Yuvi Panda
3df097f360
Merge pull request #34 from minrk/no-no-cache
...
remove —no-cache-dir arg
2018-07-15 13:49:49 -07:00
Min RK
03d0884bec
remove —no-cache-dir arg
...
caches are good! disabling cache should ~only be used when building docker images
2018-07-13 15:11:39 -05:00
Yuvi Panda
755a26ebfa
Merge pull request #32 from rprimet/handle_transient
...
Handle transient errors
2018-07-13 09:37:04 -07:00
Romain Primet
61a7f80df2
handle 404 and 503 transient errors
2018-07-13 14:56:00 +00:00
Romain Primet
c24b536bd9
handle 503 as well
2018-07-13 16:29:30 +02:00
Romain Primet
baef6d0bd9
handle transient 404
2018-07-13 15:55:41 +02:00
Romain Primet
7c245d0868
remove hard-coded constant from retry loop
2018-07-13 15:36:44 +02:00
yuvipanda
aa3630527b
Point Google Cloud IP reserving docs more accurately
2018-07-12 17:01:44 -07:00
yuvipanda
e4a059a81a
Bump systemdspawner version
2018-07-12 16:56:20 -07:00
yuvipanda
56e573bd86
Make TLJH_BOOTSTRAP_DEV take effect for reals
2018-07-12 16:55:51 -07:00
yuvipanda
8790f771a5
Add security topic guide
...
Fixes #13
2018-07-12 14:31:48 -07:00
yuvipanda
9e1bf84647
Prefix user accounts we create
...
- Helps protect against users named 'root'
- Makes it clearer that you should not rely on these users
for general PAM work, because they are prefixed.
Fixes #9
2018-07-12 13:33:24 -07:00
yuvipanda
c749d1a09f
Fix dictionary merging order
...
We want to override defaults with config, not the other way around
2018-07-11 18:58:11 -07:00
yuvipanda
6d3efffcb5
Upgrade systemdspawner to v0.10
2018-07-11 14:29:24 -07:00
yuvipanda
9241972722
Add troubleshooting guide for google cloud
2018-07-11 13:34:12 -07:00
yuvipanda
97276198cf
Add instruction about copying IP address in Google Cloud
...
Fixes #23
2018-07-11 13:23:12 -07:00
yuvipanda
4c26a7d512
Add codecov badge to README
2018-07-11 13:19:28 -07:00
yuvipanda
81d59ad02e
[CI] Collect code coverage stats from unit tests
2018-07-11 13:15:49 -07:00
yuvipanda
a1ef5e3205
[CI] Remove base image used for CI
...
Not necessary, since we can just use different images
for our jobs! <3 CircleCI
2018-07-11 13:08:36 -07:00
yuvipanda
76ddc5b047
Bump version of conda installed in user environment
2018-07-11 13:07:45 -07:00
yuvipanda
6e6ecdb26b
Fix checking for JupyterHub service being up
...
Would always fail before, since we never returned on
success
2018-07-11 13:01:57 -07:00
yuvipanda
54ebfbce23
Check JupyterHub is running before finishing installer
...
Integration CI failures were probably caused by us testing
too soon. This should make that less likely
2018-07-11 12:56:52 -07:00
yuvipanda
8cef9f6b6d
[CI] Don't pipe systemctl output to pager
...
This makes the CI job hang.
2018-07-11 12:43:40 -07:00
yuvipanda
3e59f7fa14
[CI] Print JupyterHub / CHP status after setup
2018-07-11 12:39:06 -07:00
yuvipanda
8993d717a7
[CI] Give our CI workflow a more descriptive name
2018-07-11 12:33:32 -07:00
yuvipanda
5f2252a5ba
[CI] Output all systemd logs after setup to help debugging
2018-07-11 12:33:19 -07:00
yuvipanda
e91ea88722
[CI] Add checkout step to integration job
2018-07-11 12:27:01 -07:00
yuvipanda
e8c8d51490
Standardize on 4 spaces for circle ci config indent
...
Previously was a mix of 2 and 4 spaces
2018-07-11 12:25:23 -07:00
yuvipanda
e3ae2c3d77
Add explicit 'workflows' to CircleCI config
...
This allows the jobs to actually run in parallel
2018-07-11 12:21:57 -07:00
yuvipanda
4a028e1927
Split CircleCI into unit test & integration jobs
...
- Faster, since these can run in parallel
- Hopefully lets us not maintain our own base image
2018-07-11 12:16:46 -07:00
yuvipanda
1a6e44008c
Remove extra 'tutorial' section in the Index
2018-07-11 12:10:45 -07:00
yuvipanda
40667c15a4
Cleanup installation instructions in documentation
...
- Make it clear these are installation instructions for
various cloud providers & custom servers
- Simplify titles of the installation tutorials
Fixes #17
2018-07-11 12:00:58 -07:00
yuvipanda
bd122ef218
Use HTTPS links to RTD in README
2018-07-11 11:53:27 -07:00
yuvipanda
92962aa159
Add info about documentation to README
2018-07-11 11:53:05 -07:00
yuvipanda
0d526ba819
Remove 'install' guide
...
Incomplete & confusing version of what's in the tutorials.
If we ever actually have advanced installation instructions,
we can put these back here.
2018-07-11 11:43:15 -07:00
yuvipanda
ff5b8006ed
Clarify wording in README
2018-07-11 10:48:14 -07:00