yuvipanda
9f7ea00049
Remove outdated builder info from docs
...
These are 100% wrong and misleading, so we should remove them
2018-02-01 00:42:49 -08:00
Yuvi Panda
8a5b1ef7a2
Merge pull request #189 from mukundans91/handleDockerErrors
...
Added checks to gracefully handle docker connect errors
2018-01-24 20:06:41 -08:00
Chris Holdgraf
6e9088d79e
Merge pull request #197 from yuvipanda/artful-emergency
...
Emergency Bump to artful
2018-01-17 18:15:27 -08:00
yuvipanda
d55d46c563
Bump external testing dockerfile to artful too
2018-01-17 17:43:15 -08:00
yuvipanda
98b365c868
Remove DataScienceHandbook from our CI
...
It'll be broken by python3.6 move, needs https://github.com/jakevdp/PythonDataScienceHandbook/issues/108
to be fixed before we can re-enable.
2018-01-17 17:29:11 -08:00
yuvipanda
293be022a5
Bump version checks to work with new python 3.6
2018-01-17 17:22:48 -08:00
yuvipanda
09843f5439
Bump to artful
...
Zesty fell out of support on Jan 13, and the packages have
started disappearing from http://archive.ubuntu.com/ubuntu/ and
other mirrors as of today. This will totally screw up our
build processes whenever it hits the mirror we use.
2018-01-17 17:11:29 -08:00
Mukundan Sundararajan
515db356bf
Added checks to gracefully handle docker connect errors
...
Print actual error message on Docker client init errors
2018-01-11 17:43:29 -08:00
Yuvi Panda
5ca1b044fb
Merge pull request #180 from mukundans91/addPortMapping
...
add ability for port mapping to work with non jupyter-workflow
2018-01-11 17:27:08 -08:00
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