nmih
5e19c2653b
Fix indentation causing only last line of apt.txt to be parsed
2017-12-31 01:38:04 -08:00
Yuvi Panda
f7096caccd
Merge pull request #179 from mukundans91/fixVolumeArgumentValidation
...
Fixed run argument check for mounting volumes.
2017-12-29 13:37:59 -08:00
Mukundan Sundararajan
9e2edb910a
Fixed run argument check for mounting volumes. Refactored argument validation test.
2017-12-24 15:03:09 -08:00
Yuvi Panda
5293080add
Merge pull request #175 from mukundans91/validateImageName
...
Added regex pattern based validation for image name argument
2017-12-23 15:11:02 -08:00
Mukundan Sundararajan
174c8000d2
Removed class and added function to validate docker image name
2017-12-22 19:45:16 -08:00
Mukundan Sundararajan
b6414c3ef4
Added a regex based patter definition for Image name
2017-12-22 16:17:32 -08:00
Tim Head
235f0ad607
Merge pull request #172 from yuvipanda/volumes
...
Allow mounting arbitrary volumes into the repo2docker container
2017-12-22 08:04:37 -08:00
Mukundan Sundararajan
d3cf4793e4
Added docstring for image_name validation test
2017-12-22 04:31:41 -08:00
Mukundan Sundararajan
f04aa4da97
Changed to google style docstrings. Added image_name validation test.
2017-12-22 03:38:58 -08:00
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
Mukundan Sundararajan
5372b09333
Added lowercase validation for image name argument
2017-12-20 19:41:20 -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