Commit Graph

228 Commits

Author SHA1 Message Date
yuvipanda
6f99da5d95 Add full integration test with hubtraf
- Fully simulates what a user would be doing
- Also tests tljh-config set and reload functionality
2018-07-28 01:12:13 -07:00
yuvipanda
fad3e70116 Add topic guide on tljh-config 2018-07-27 22:57:59 -07:00
yuvipanda
0d0dbc828c Fix typo in tljh-config 2018-07-27 22:57:19 -07:00
yuvipanda
95a0359d32 Add howto doc on dummy authenticator 2018-07-27 22:22:45 -07:00
yuvipanda
70785f9fd3 Add tljh-config command
We do not want users to hand-edit YAML files. This has been a
major source of bugs and confusion for users in z2jh. Doing so
in a terminal text editor makes it even worse.

This lets users type commands directly to modify config.yaml file
rather than edit files directly. This makes it a lot less error
prone and user friendly.

Advanced users can still edit config.yaml manually.

Fixes #38
2018-07-27 21:36:29 -07:00
Yuvi Panda
6c43a492ac Merge pull request #76 from jupyterhub/fix-warning
Clarify development status warnings
2018-07-27 18:20:50 -07:00
yuvipanda
6414a794f2 Clarify development status warnings
Also add a date to when v0.1 is gonna hit
2018-07-27 17:52:23 -07:00
Yuvi Panda
24ddf320b4 Merge pull request #73 from jupyterhub/nbgitpuller-doc-1
Add tutorial on how to use nbgitpuller
2018-07-27 00:00:59 -07:00
yuvipanda
15676dc55b Add tutorial for nbgitpuller
Fixes #50
2018-07-26 23:55:28 -07:00
Yuvi Panda
7df52c35ed Merge pull request #74 from jupyterhub/fix-ci
Use a venv to run unit tests
2018-07-26 23:55:01 -07:00
yuvipanda
1e1de15e3f Use a venv to run unit tests
- Can cache entire venv directory. When installing with system
  pip3, /usr/local/bin/ also needs caching - maybe other
  places too!
- Matches how the installer does things more closely
2018-07-23 14:54:25 -07:00
Yuvi Panda
eeffc6e197 Merge pull request #64 from jupyterhub/hub-venv
Use venv for base hub environment
2018-07-23 14:41:15 -07:00
Yuvi Panda
a034080b8d Merge pull request #69 from jupyterhub/fix-requirements
Update server requirements documentation
2018-07-22 15:07:46 -07:00
yuvipanda
554c24b2d7 Fix requirements topic document 2018-07-21 22:40:11 -07:00
Yuvi Panda
c12c4823c2 Merge pull request #68 from jupyterhub/guidance-resources
Add a how-to guide on selecting VM Memory / CPU / Disk size
2018-07-21 21:37:58 -07:00
yuvipanda
93a082b62c Link to resource estimation how-to guide from tutorials 2018-07-21 20:37:13 -07:00
yuvipanda
dd25a3dd45 Add more guidance on selecting server size 2018-07-21 20:33:14 -07:00
Yuvi Panda
974f30c0e2 Merge pull request #66 from jupyterhub/no-more-yuvipanda
Replace pointers to yuvipanda/ on github with jupyterhub/
2018-07-20 16:21:42 -07:00
yuvipanda
5064979a57 Replace pointers to yuvipanda/ on github with jupyterhub/ 2018-07-20 16:17:33 -07:00
Yuvi Panda
b6d2aeb098 Merge pull request #65 from jupyterhub/customizing-installer
Add doc on customizing installer
2018-07-20 16:11:25 -07:00
yuvipanda
891b225e3f Add doc on customizing installer
Missed out adding file in previous commit
2018-07-20 16:07:07 -07:00
yuvipanda
88b291d989 Cache /usr/local/lib/python3.6 when using pip 2018-07-20 11:49:34 -07:00
yuvipanda
40c7cc84b8 Use pip3 instead of 'pip' when unit testing
Base system pip in ubuntu does not respond to 'pip3'
2018-07-20 11:47:04 -07:00
yuvipanda
b8b2dcf766 Install python manually in the unit test container 2018-07-20 11:44:22 -07:00
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