Commit Graph

1472 Commits

Author SHA1 Message Date
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
yuvipanda
84e945367d Make README better
- Mark develpment status clearly
- Link to tutorials directly
2018-07-11 10:37:05 -07:00
yuvipanda
4d9d9c2d99 Bake docker-ce into the base image
Speeds up CI runs by quite a bit
2018-07-11 10:12:32 -07:00
yuvipanda
20f3116e58 Revert "Parallelize unit tests in CI with pytest-xdist"
conda tests don't like it, and I'm not going to try to
debug them right now.

This reverts commit 9479f3c6b9.
2018-07-11 09:40:26 -07:00
yuvipanda
9479f3c6b9 Parallelize unit tests in CI with pytest-xdist 2018-07-11 09:31:01 -07:00
yuvipanda
ef8d111b40 Use proper --mount syntax for cgroup passthrough volume mount 2018-07-11 09:30:18 -07:00
yuvipanda
ebb95bfcd8 Pass through cgroups when trying to run systemd
From https://discuss.circleci.com/t/docker-with-centos7-systemd-container/885/14
2018-07-11 09:24:38 -07:00
yuvipanda
b5956f911f Remove journalctl from JupyterHub check step
Seems to block forever
2018-07-11 02:35:17 -07:00
yuvipanda
fdbdc58727 Fix typo in .circleci/config.yaml 2018-07-11 02:21:11 -07:00