Wykres commitów

432 Commity (549bd9663bcce8c6aef7b3ecb2f3164d54f1549d)

Autor SHA1 Wiadomość Data
Mukundan Sundararajan 549bd9663b add ability for port mapping to work with non jupyter-workflow
Added tests for port mapping
Added tests for publish all exposed ports
Added argument validation for ports argument
Added short form for argument publish. Changed variable name port to ports.
2018-01-11 16:49:09 -08:00
Min RK a824f75aa5
Merge pull request #193 from yuvipanda/fix-conda-env
Refreeze conda environment
2018-01-11 19:31:57 +01:00
yuvipanda 9fa8f21668 Refreeze conda environment
This broke out of the blue, causing CI to fail - see
https://github.com/jupyter/repo2docker/pull/180#issuecomment-356805582
2018-01-10 23:52:16 -08:00
Yuvi Panda d7726d67b0
Merge pull request #186 from rprimet/env_switch
Provide a flag to pass environment variables at runtime
2018-01-10 10:20:25 -08:00
Romain Primet e3d18c936a fix test description 2018-01-09 12:24:58 +00:00
Romain Primet d5d9b894b6 change parameter handling to 'action=append' 2018-01-09 08:22:38 +00:00
Romain Primet 5f95a5ddd3 Provide a flag to pass environment variables at runtime 2018-01-08 19:58:34 +00:00
Tim Head ed6b483e2f
Merge pull request #187 from minrk/refreeze
refreeze conda environments
2018-01-08 18:27:49 +01:00
Min RK 58ce29f61d allow installing 'broken' packages for frozen env
If a package we froze is later marked as broken, don't prevent installation.

Broken packages are lowest priority, so only allowed for those pinned in our frozen env
2018-01-08 17:08:13 +01:00
Min RK c2ae937b61 refreeze conda environments
gets a few updates, but fixes issue with noarch wheel package that has been identified as broken.
2018-01-08 14:48:41 +01:00
Carol Willing c929ef9f23
Merge pull request #183 from yuvipanda/no-alpine
Stop using alpine base images
2018-01-03 14:14:09 -08:00
yuvipanda f79192ee50 Remove commented out git installation
Git is present by default
2018-01-03 13:46:26 -08:00
yuvipanda 379c52bac3 Stop using alpine base images
- It is currently breaking the build, since alpine does not
  support binary wheels & we introduced ruamel.yaml which has
  binary dependencies
- pip / python on alpine is broken wrt symlinks, making local
  testing harder
2018-01-03 13:13:00 -08:00
Yuvi Panda 839de1ee1b
Merge pull request #182 from minrk/conda-python-runtime
conda: separate base envs by Python version
2018-01-03 12:30:02 -08:00
Min RK 47ab8bb55f add ruamel.yaml dependency for parsing environment.yml 2018-01-03 18:20:41 +01:00
Min RK 997009133d [conda] install python 2 in separate kernel env 2018-01-03 18:17:33 +01:00
Min RK 878fc33f1d select frozen env based on Python found in environment.yml
if env specifies a version of Python other than the default,
a different base env will be selected.

This should fix some issues where switching Python versions on the base env with a bunch of packages installed can fail,
and will always produce a huge amount of churn.

Future change:

- place py2 in a separate env, like we do for requirements.txt
2018-01-03 17:14:03 +01:00
Min RK d7dd6cd073 test conda with python 2 env 2018-01-03 17:11:49 +01:00
Min RK 5984a08e66 [conda] create separate frozen envs for Python versions
this will allow us to create different base envs based on Python major.minor versions
2018-01-03 16:38:19 +01:00
Tim Head 09845ea5ee
Merge pull request #181 from nmih/master
Fix indentation causing only last line of apt.txt to be parsed
2018-01-03 15:44:49 +01:00
nmih bad90d51ac Revise apt.txt and verify to install programs that install to /usr/bin instead of /usr/games 2018-01-02 23:11:33 -08:00
nmih adb17dee78 Add multiple packages to apt.txt to check if all are parsed and installed 2018-01-02 16:45:29 -08:00
nmih 711dbb71a0 Add multiple packages to apt.txt to check if all are parsed and installed 2018-01-02 16:44:19 -08:00
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