Commit Graph

108 Commits

Author SHA1 Message Date
Peter Parente
240285841a Remove mount permissions test
Not really testing a docker-stacks feature, only
that docker host permissions work
2017-12-16 23:03:26 -05:00
Peter Parente
167a0cb0c4 Fix mount test on CI 2017-12-02 22:03:44 -05:00
Peter Parente
803dc0c75b Fix bogus assert, add mount test 2017-12-01 22:52:00 -05:00
Peter Parente
463490fb26 MNT: Clean npm packages and JupyterLab artifacts
Spotted while writing tests
2017-11-30 00:16:09 -05:00
Peter Parente
b9139131da Tests for NB_UID, NB_GID, GRANT_SUDO options
* Improve test container teardown
* Fix needless groupmod when NB_GID is unchanged
2017-11-30 00:15:17 -05:00
Peter Parente
8a59d74813 Refactor to share fixtures with option tests 2017-11-28 23:57:05 -05:00
Peter Parente
6ba0d59446 Add placeholder tests for base-notebook 2017-11-27 23:28:11 -05:00
Min RK
3ede1c190d Merge pull request #498 from minrk/bump-lab
bump jupyterlab and install jupyter-labhub extension
2017-11-14 14:05:38 +01:00
Min RK
3e07de95cb bump jupyterlab and install jupyter-labhub extension 2017-11-14 12:00:37 +01:00
Min RK
65e5f24aa6 bump miniconda version 2017-11-10 12:55:15 +01:00
cglewis
d91d4a8c48 MAINTAINER is deprecated, using LABEL now 2017-10-31 20:17:06 -07:00
Peter Parente
da2c5a4d00 Merge pull request #485 from tylere/master
Update jupyterlab to 0.28
2017-10-22 17:30:51 -04:00
Tyler Erickson
50b0831c8e Update jupyterlab to 0.28
Update jupyterlab from 0.27.* to 0.28.*. This allows the current
version of ipywidgets (7.0.2) to be installed.
2017-10-19 10:00:22 -07:00
Grant Nestor
40a2791b73 Upgrade to notebook 5.2.0 2017-10-13 10:26:00 -07:00
Bas Nijholt
2404602e57 jupyterhub to version 0.8 2017-10-06 13:41:18 +02:00
Grant Nestor
01c9e6c66b Upgrade to notebook 5.1 2017-09-26 11:03:38 -07:00
Min RK
38710f5819 homedir fixes
- don't relocate home if home exists (e.g. mounted volume)
- respect workdir, only cd to new home if we were in /home/jovyan/
2017-09-07 21:34:42 +02:00
Peter Parente
c138070427 Fix working directory problems with custom NB_USER
Improve start.sh logging along the way
2017-09-04 21:10:15 -04:00
Min RK
b69f43e098 remove user-facing start-singleuser.sh docs
it’s handled internally
2017-08-26 09:54:58 -04:00
Min RK
80359f314a leftover mentions of user-writable group
use `users` instead
2017-08-26 09:51:58 -04:00
Min RK
2df9c49a74 set setuid/setgid bits in fix-permissions
ensures files have the right owner:group

unfortunately, not enough to get group-writable permissions (need acl or umask for that),
so we still need to run it after each install
2017-08-26 09:50:58 -04:00
Min RK
c6c1ce4cb0 use groups for managing write-access to files
- any files the user should be able to write should have group `user-permissions` with `g+rwX`
- remove `chown` from start.sh because it is no longer needed
- add `fix-permissions` script for setting the user-writable permissions on a path
- user-permissions group as GID 10000 (is there a reason for it to have a different value?)
- containers can set group with `--group-add user-writable` if they want to run with a different uid/gid
  (without -u root -e NB_UID -e NB_GID, which make this unnecessary)
2017-08-26 09:50:56 -04:00
Min RK
93b880cb80 Merge pull request #446 from parente/doc-ports-for-lab
[ci skip] Documentation improvements
2017-08-26 09:42:44 -04:00
Peter Parente
a802e4b84d [ci skip] Copy/paste is evil 2017-08-26 09:13:22 -04:00
Peter Parente
04107c39b2 Update jupyterlab to 0.27.* 2017-08-24 14:33:13 -04:00
Peter Parente
5131f0df81 [ci skip] Doc host mount permission requirements 2017-08-22 15:46:25 -04:00
Peter Parente
09c9a4fd9c [ci skip] Add a jupyter lab example with ports 2017-08-22 14:28:23 -04:00
Peter Parente
d9716fd822 Update jupyterlab to 0.26.* 2017-08-22 14:10:33 -04:00
fouding
75742278ce fix condition-testing syntax bugs 2017-08-16 17:17:09 +08:00
Min RK
5ded1de072 Merge pull request #431 from minrk/docker-args
make jupyterhub env->cli args optional
2017-08-11 11:35:22 +02:00
Min RK
3146037b6f quote NOTEBOOK_DIR 2017-08-11 10:27:16 +02:00
Min RK
32b3d2bec2 Remove Python 2
Only Python 3 from now on
2017-08-10 16:08:30 +02:00
Min RK
695a97e4a0 make jupyterhub env->cli args optional
DockerSpawner will stop passing these args,
so make them optional.
2017-08-10 15:40:35 +02:00
Min RK
82b978b3ce Merge pull request #428 from minrk/ubu
proposal: base image on ubuntu:16.04 (LTS)
2017-08-10 14:53:35 +02:00
Peter Parente
0c68990e93 Merge pull request #425 from minrk/warn-ignored-config
warn about unused config
2017-08-09 16:39:44 -04:00
Min RK
0351f0c3b7 base image on ubuntu:16.04 2017-08-09 11:07:29 +02:00
Min RK
e91827d358 keep accepting 'yes' for GRANT_SUDO 2017-08-09 10:23:01 +02:00
Min RK
489bc324e2 warn about unused config
if some env vars are set that aren't used,
complain about it so behaviour is a bit less surprising
2017-08-07 16:07:53 +02:00
Anton Akhmerov
599bb5a3e3 update home folder and username on startup
closes #414
2017-08-03 18:08:35 +07:00
Min RK
9e6b4a5345 start.sh: fix check for if we are root
UID env is not set when launching as root, use `id -u` check instead
2017-07-21 14:33:44 +02:00
Peter Parente
e1e3f24b5d Docker Cloud build phase hooks
Must be located in the root of each docker build context
i.e., every stack folder
2017-07-09 15:59:19 -04:00
Peter Parente
2edefe2797 Prefer conda-forge pkgs 2017-06-26 23:57:31 -04:00
Peter Parente
ceba183f27 Update miniconda3 to 4.3.21, Python 3.6 2017-06-25 12:54:08 -04:00
Peter Parente
19b9d93305 Revert "Fix sudoers.d inclusion on debian img (fix #394)"
This reverts commit 4b3b6697e7.
2017-06-21 07:07:13 -05:00
Peter Parente
df7a34bebe Merge pull request #397 from Stibbons/start_logs_pr
Add logs to start.sh
2017-06-09 22:50:34 -04:00
Peter Parente
4947f58181 Merge pull request #396 from Stibbons/fix_sudoers_pr
Fix sudoers.d inclusion with debian img (fix #394)
2017-06-09 22:06:45 -04:00
Gaetan Semet
7dc0fc86ec Add logs to start.sh
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2017-06-08 15:13:24 +02:00
Gaetan Semet
4b3b6697e7 Fix sudoers.d inclusion on debian img (fix #394)
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2017-06-08 15:11:36 +02:00
Min RK
2e160bb941 launch single-user entrypoint if JUPYTERHUB_API_TOKEN is defined
DockerSpawner sets certain environment variables, so assume jupyterhub entrypoint when defined
2017-06-07 13:04:31 +02:00
Min RK
0805573e09 invoke start.sh in start-singleuser.sh
ensures common behavior of things like GRANT_SUDO
2017-06-07 12:49:48 +02:00