Commit Graph

191 Commits

Author SHA1 Message Date
Min RK
bcf31a979c fix permissions on initial install
running installer as root allows some file ownership from the archive to be set as a user other than root
2018-07-19 01:30:04 -07:00
Min RK
680206813f test permissions
imported from acl-based tests

test for admin-install permissions are included but skipped as xfail
2018-07-19 01:15:59 -07:00
Min RK
00797b404c move state outside envs
so it can be managed separately more easily
2018-07-18 23:15:47 -07:00
Min RK
24b535d524 move proxy secret to state dir 2018-07-18 23:12:18 -07:00
Yuvi Panda
54532997d5 Merge pull request #55 from jupyterhub/nbgitpuller
Install nbgitpuller by default
2018-07-18 15:54:45 -07:00
yuvipanda
d1bb4c8a1d Install nbgitpuller by default 2018-07-18 15:48:40 -07:00
Yuvi Panda
d09f7a986a Merge pull request #53 from jupyterhub/user-requirements
Add option to install requirements.txt file on install
2018-07-18 15:19:35 -07:00
yuvipanda
3d74ee71b3 Add option to install requirements.txt file on install
Also add docs about --admin option

Refer #49
2018-07-18 01:01:37 -07:00
Yuvi Panda
453d55933f Merge pull request #52 from parente/fix-custom-link
Fix link to custom tutorial
2018-07-17 22:57:48 -07:00
Peter Parente
3f354868b0 Fix link to custom tutorial
Missing an s
2018-07-17 19:57:28 -04:00
Yuvi Panda
07f85d4a47 Merge pull request #43 from minrk/integration-tests-pytest
run integration tests with pytest
2018-07-16 18:31:52 -07:00
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