yuvipanda
0c046f4f1a
Remove all traitlets from Legacy Dockerfile buildpack
2018-02-01 04:23:34 -08:00
yuvipanda
4d19924180
Use inheritance to define composed buildpacks
...
- This is much cleaner to understand than traitlets
- Remove 'name' and 'component' traitlets
2018-02-01 04:23:34 -08:00
Min RK
48e98fc421
Merge pull request #206 from yuvipanda/refactor
...
Refactor (most) traitlets out of buildpacks
2018-02-01 13:06:32 +01:00
yuvipanda
e913fce474
Cache python_version detection in conda buildpack
2018-02-01 02:42:17 -08:00
Min RK
bb309da2d3
Merge pull request #205 from yuvipanda/clarify-debug
...
Clarify that --debug and --no-build are for debugging only
2018-02-01 11:34:28 +01:00
yuvipanda
bcf3aedce2
Fix failing Julia test
2018-02-01 02:13:19 -08:00
yuvipanda
95c0170196
Be less clever in figuring out python version in conda
...
We can optimize this later
2018-02-01 02:10:59 -08:00
yuvipanda
efe14e7580
Fix postBuild to work properly
2018-02-01 02:10:30 -08:00
yuvipanda
66ec915a23
Fix python version detection in conda
2018-02-01 01:52:36 -08:00
yuvipanda
f32e8c1267
Move postbuild scripts to method from traitlet
2018-02-01 01:46:53 -08:00
yuvipanda
28bccecfff
Switch assemble_scripts to use methods instead of traitlets
2018-02-01 01:43:14 -08:00
yuvipanda
42eb8e573c
Convert build_script & build_script files to methods
2018-02-01 01:39:36 -08:00
yuvipanda
c48e8d4586
Move labels from traitlet to method
2018-02-01 01:23:56 -08:00
yuvipanda
d3c6703e9e
Move path and env from traitlets to methods
2018-02-01 01:21:17 -08:00
yuvipanda
dc653388f5
Use methods for packages and base packages, not traitlets
2018-02-01 01:11:40 -08:00
yuvipanda
1e88e313b6
Clarify that --debug and --no-build are for debugging only
...
They output a Dockerfile that can not be used outside of
repo2docker, so are only useful as debugging aids.
Fixes #202
2018-02-01 00:48:43 -08:00
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