yuvipanda
84c65445d2
Add missing import
2017-12-21 14:30:10 -08:00
yuvipanda
5674c0f7c6
Default username and user_id to currently running user
...
This is the defaults that you want if you are using r2d on your
local computer.
2017-12-21 14:01:22 -08:00
yuvipanda
8e1109e863
Fix user name test to run on computers that isn't mine
2017-12-19 16:36:37 -08:00
yuvipanda
e4410b9caf
Fix legacydockerbuilder to also take args
2017-12-19 16:13:06 -08:00
yuvipanda
7815e15c1f
Fix username check
2017-12-19 13:27:22 -08:00
yuvipanda
25177f0343
Set $USER environment variable in built images
...
Lots of code looks for this. This is generally set by PAM or
somesuch I believe. Let's set it explicitly!
2017-12-19 13:05:33 -08:00
yuvipanda
e9e6547384
Add tests for user options
2017-12-19 13:00:55 -08:00
yuvipanda
66ad81d42b
Fix error message + fix some formatting
2017-12-19 12:49:53 -08:00
yuvipanda
8f36572770
Allow passing in uid and username of user built into image
...
This allows volumes to properly respect the uid of the user
from the host. Much easier than using user namespaces
2017-12-19 12:46:22 -08:00
yuvipanda
b5a6b11b8b
Get travis to run top level tests too
...
Currently it's not running the volume nor memlimit tests
2017-12-19 11:38:50 -08:00
yuvipanda
988f9dded8
Add support for relative paths in the volume destination too
2017-12-19 11:32:59 -08:00
yuvipanda
6227cf14fe
Add simple test for volume mounting
2017-12-19 11:16:10 -08:00
yuvipanda
0c0d921276
Set default for volumes in argparse
...
This prevents code from failing when volumes are not specified
2017-12-19 11:15:43 -08:00
yuvipanda
e6a13eb8ba
Allow mounting arbitrary volumes into the repo2docker container
...
Tries to mimick the docker run '-v' syntax, but only supports
rw volumes for now. Source can be a relative path, but destination
needs to be an absolute path.
2017-12-19 11:04:20 -08:00
Min RK
1c7bd6e589
Merge pull request #169 from yuvipanda/update-libs
...
Upgrade base packages
2017-12-18 15:11:28 +01:00
yuvipanda
f5ca9aedb0
Upgrade base packages
...
- Bump JupyterLab to latest
- Run freeze.py (conda) and freeze.bash (venv) to get new dependent
packages, primarily newer ipykernel and ipywidgets
- Remove some over-specification in environment.yml
2017-12-16 14:13:40 -08:00
Yuvi Panda
330f49ba44
Merge pull request #168 from choldgraf/update_preparing
...
adding runtime to preparing + improving config section
2017-12-14 17:29:18 -08:00
Chris Holdgraf
4634024285
adding example contents
2017-12-12 14:43:21 -08:00
Chris Holdgraf
cd2803b4db
factoring out config files section
2017-12-12 09:46:23 -08:00
Chris Holdgraf
8e7c7c42c6
adding runtime to preparing
2017-12-11 23:08:02 -08:00
Carol Willing
d5cfe3c24a
Merge pull request #165 from choldgraf/docs_improve
...
improving docs
2017-12-08 14:02:46 -06:00
Chris Holdgraf
a5ab750038
addressing carol's comments
2017-12-08 11:53:15 -08:00
Yuvi Panda
e151f77d3a
Merge pull request #143 from betatim/pep8-roller
...
Apply PEP8 style roller
2017-12-08 12:22:53 -05:00
Tim Head
b893463735
Apply PEP8 style roller
2017-12-08 15:32:21 +01:00
Yuvi Panda
f0f7bf7a81
Merge pull request #163 from minrk/freeze-conda
...
Freeze conda environment as well
2017-12-08 09:17:20 -05:00
Chris Holdgraf
c25103cd43
improving docs
2017-12-07 11:11:39 -08:00
Min RK
844023c96f
update conda to 4.3.30
2017-12-07 10:13:20 +01:00
Min RK
4688dcc0ae
freeze conda environment.yml as well
...
like python, run freeze in a docker container for portability
2017-12-04 17:34:43 +01:00
Min RK
e0e335402f
Merge pull request #161 from yuvipanda/crazy-musl
...
Remove symlink & just copy postBuild file instead
2017-12-01 12:25:03 +01:00
Min RK
d21d9a7b7c
Merge pull request #151 from GladysNalvarte/master
...
fixing empty lines and comments in apt.txt
2017-12-01 12:24:42 +01:00
yuvipanda
b4f012799b
More idiomatic way of checking if all items on a list are same
2017-12-01 00:46:29 -08:00
yuvipanda
4419890c01
Remove symlink & just copy postBuild file instead
...
Temp fix for https://github.com/jupyter/repo2docker/issues/160 .
Also includes a test to prevent drift
2017-12-01 00:42:57 -08:00
Tim Head
2d31649d02
Merge pull request #159 from yuvipanda/build-memory-limit
...
Set limits for how much memory docker build can use
2017-12-01 08:53:37 +01:00
yuvipanda
8beb2d3710
Add clarifying comment
2017-11-30 20:14:06 -08:00
yuvipanda
43e12631da
Make memory limit checking tests more solid
...
- Use a more precise way of triggering OOM conditions
- Make sure that the image is rebuilt each time with a cachebust
- Don't have two copies of the OOM triggering script
2017-11-30 20:10:35 -08:00
yuvipanda
43603225de
Add tests for checking if memlimit is enforced
2017-11-30 18:22:28 -08:00
yuvipanda
2db2fd7543
Remove extra - in argparse definition
2017-11-30 17:23:00 -08:00
yuvipanda
c3ec9c9fa8
s/memoryswap/memswap/
...
Since clearly the equivalent of 'memory' is 'memswap' grumble
2017-11-30 17:17:03 -08:00
yuvipanda
86c24c1a18
Set limits for how much memory docker build can use
...
This prevents builds from gobbling all the RAM on a node!
2017-11-30 17:14:42 -08:00
Gladys Nalvarte
fa714adfdd
Make sure that empty lines are tested
2017-11-30 16:02:10 +01:00
Gladys Nalvarte
82b0275a29
fixing empty lines and comments in apt.txt
2017-11-30 15:50:40 +01:00
Min RK
fd740437e1
Merge pull request #158 from minrk/hoth
...
update venv freeze and conda versions
2017-11-30 13:45:54 +01:00
Min RK
bd3bf07ebe
sync conda versions with venv versions
2017-11-30 13:17:12 +01:00
Min RK
5f613bf1f7
bump ipywidgets to 6.0.1
2017-11-30 13:17:12 +01:00
Min RK
5ba9fb0b56
run freeze-requirements in docker
...
avoids mismatch between freeze env and 'real' env, e.g. running on mac, where dependencies differ,
or running with Python 3.4 vs 3.5, etc.
2017-11-30 13:17:12 +01:00
Min RK
3290f93512
fix cd to python dir in freeze.bash
...
- cd was missing, instead the directory was being printed
- readlink doesn't exist on BSD
2017-11-30 13:17:12 +01:00
Min RK
3c6c19e1c5
Merge pull request #156 from yuvipanda/frozen-base
...
Use a frozen requirements.txt for base install in venv buildpacks
2017-11-30 13:07:47 +01:00
Yuvi Panda
569853942d
Merge pull request #157 from minrk/travis-no-parallel
...
don't run tests in parallel on travis
2017-11-30 04:04:32 -08:00
yuvipanda
ef07e723b2
Update JupyterLab version
2017-11-30 03:51:09 -08:00
Min RK
52e80fc1a7
don't run tests in parallel on travis
...
parallel tests might have been the cause of spurious travis failures
plus, not running concurrently should result in reusing the cache for the initial stages,
which might even save time
2017-11-30 12:10:08 +01:00