Commit Graph

1454 Commits

Author SHA1 Message Date
yuvipanda
376489cc91 Use ubuntu 18.04 image for running unit tests
This matches the image in which we run integration tests
2018-07-20 11:36:51 -07:00
yuvipanda
e97b81fe7a Require miniconda to be installed for conda. to work
We can no longer assume that sys.executable has conda
installed. Instead, we require that prefix has conda installed.
This requires miniconda to be installed into prefix.
2018-07-20 11:30:11 -07:00
yuvipanda
8ff0befe00 Re-instate conda version check fix
Lost https://github.com/jupyterhub/the-littlest-jupyterhub/pull/58
to a rebase. Put it back!
2018-07-20 11:12:03 -07:00
yuvipanda
6a1f73c2b5 Run apt-get update before installing if required 2018-07-19 18:51:55 -07:00
yuvipanda
e609a840c7 Install gpg2 if required when adding apt keys
Not installed by default in many docker containers
2018-07-19 18:38:58 -07:00
yuvipanda
fc0ecb6699 Use venv for base hub environment
- TLJH should support raspberry pi, which runs ARM. conda does
  not support ARM.
- Get nodejs from nodesource instead of conda or default repositories.
  Default repositories get out of date pretty quickly.
- Install CHP from npm
2018-07-19 18:01:30 -07:00
Yuvi Panda
5007911d59 Merge pull request #63 from gedankenstuecke/patch-3
fix typo in installer
2018-07-19 18:00:10 -07:00
Bastian Greshake Tzovaras
1364305fee fix typo in installer 2018-07-19 16:04:16 -07:00
Yuvi Panda
9196d75200 Merge pull request #58 from minrk/fix-conda-check
bootstrap: allow conda to be upgraded
2018-07-19 10:33:43 -07:00
Yuvi Panda
27f9d10724 Merge pull request #59 from minrk/state-outside
move state outside envs
2018-07-19 10:33:24 -07:00
Yuvi Panda
403a0d4956 Merge pull request #60 from minrk/bumps
jupyterhub 0.9.1, notebook 5.6.0
2018-07-19 10:32:11 -07:00
Min RK
1799732e50 jupyterhub 0.9.1, notebook 5.6.0 2018-07-19 01:42:21 -07:00
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
Min RK
ab5dd0e0d8 bootstrap: allow conda to be upgraded
use >= instead of == to check installed version
2018-07-18 23:07:06 -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