yuvipanda
efe14e7580
Fix postBuild to work properly
2018-02-01 02:10:30 -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
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
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
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
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
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
997009133d
[conda] install python 2 in separate kernel env
2018-01-03 18:17:33 +01:00
Min RK
d7dd6cd073
test conda with python 2 env
2018-01-03 17:11: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
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
b6414c3ef4
Added a regex based patter definition for Image name
2017-12-22 16:17:32 -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
8e1109e863
Fix user name test to run on computers that isn't mine
2017-12-19 16:36:37 -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
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
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
Tim Head
b893463735
Apply PEP8 style roller
2017-12-08 15:32:21 +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
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
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
yuvipanda
603efee588
Make all bash verify scripts fail on error
...
Bash scripts by default continue on executing even if any
command errors. That's not the behavior we want for our scripts,
so let's explicitly get them to fail if:
1. Any command exits with non 0 exit code
2. An undefined variable is referenced
2017-11-21 14:53:15 -08:00
Ole Schuett
795e359ad1
Add tests for binder/apt.txt and binder/postBuild
2017-11-17 22:17:41 +01:00
yuvipanda
e3647e6e44
Don't test for jupyterhub being present in legacy dockerfiles
...
We don't auto install JupyterHub anymore
2017-11-01 17:23:39 -07:00
Yuvi Panda
a7b1519b4d
Revert "[MRG] Add limit on git clone depth"
2017-11-01 16:27:26 -07:00
Yuvi Panda
cad9deb7d0
Revert "Add handling for no ref being provided"
2017-11-01 16:23:29 -07:00
Tim Head
cb1b1442f2
Add handling for no ref being provided
...
We do not need to checkout a specific ref if none is provided. Added a
test to check the behaviour.
2017-11-01 21:56:13 +01:00
yuvipanda
22aee654ce
Don't test for jupyterhub being present in legacy dockerfiles
...
We don't auto install JupyterHub anymore
2017-10-31 12:21:03 -07:00
Tim Head
5b48e60505
Switch to exceptions instead of exit() and add a new test
2017-10-31 11:09:46 +01:00
Tim Head
531db84b45
Add test for unshallowing repositories
2017-10-26 21:14:41 +02:00
Tim Head
c19d037036
Add check for ref and deep clone
...
If the ref does not exist in the shallow clone, create a full clone of
the repository and retry.
2017-10-26 21:14:41 +02:00
Carol Willing
5b1090ca38
Remove jupyterhub from test dockerfiles
2017-10-23 15:12:08 -07:00
Chris Holdgraf
8825413feb
yuvi comments
2017-10-06 18:23:16 -07:00
Chris Holdgraf
56870a3a6c
updating docs
2017-10-06 09:36:46 -07:00
Min RK
a5188b41b8
make binder directory visible
2017-10-05 00:29:10 +02:00
Min RK
a9f0dd0f61
test binder-dir handling
2017-10-04 23:52:10 +02:00
Yuvi Panda
02ecaf36bf
Merge pull request #74 from minrk/environment-excludes-requirements
...
don't install requirements.txt if environment.yml is present
2017-09-27 12:29:52 -07:00
Min RK
dd82e688e7
make jupyterhub a build arg
...
and verify that it's installed in tests
2017-09-07 14:22:15 +02:00
Min RK
123900fdbb
conda's not Python specific
2017-09-07 14:20:30 +02:00
Min RK
b20ee4adb9
don't install requirements.txt if environment.yml is present
...
The most likely cause of both being present is equivalent dependencies for two use cases,
not a single multi-stage conda environment.
If deps should be installed in conda with pip, they will be in `environment.yml` under `pip`.
2017-09-07 13:21:23 +02:00
Chris Holdgraf
44ce5c171d
updating autogen examples
2017-08-01 11:21:06 -04:00
Chris Holdgraf
c14542f0a2
adding doc generation from the tests
2017-08-01 00:09:04 -04:00
yuvipanda
92d0c5e6d6
Make julia verify check for libpython path
...
PyCall.python just seems to say 'python'
2017-07-30 11:22:28 -07:00
yuvipanda
4dcda6c32b
Validate that Julia is using our pre-installed conda
2017-07-30 10:41:13 -07:00
yuvipanda
4d4c1fb606
Allow specifying requirements.txt with environment.yml
...
They both get installed.
2017-07-30 05:15:07 -07:00
yuvipanda
cf59785c41
Test some external repositories we care about
...
So we know if we break something!
These all need better verification scripts tho.
2017-07-30 00:35:41 -07:00
yuvipanda
7cf8ac18a7
Fix legacy dockerfile buildpack and add tests
2017-07-29 23:33:43 -07:00
yuvipanda
208d097468
Fix dockerfile builds and add tests for them
2017-07-29 22:51:46 -07:00
yuvipanda
7d52aca469
Use travis matrixes to speed up tests
2017-07-29 20:32:12 -07:00
yuvipanda
0ce3a2d68d
Add a pyplot based julia test case
2017-07-29 20:19:40 -07:00
yuvipanda
e72d963b57
Fix conda builder + add tests
2017-07-29 18:19:55 -07:00
yuvipanda
bfe117d06f
Add test for postBuild script
2017-07-29 17:37:05 -07:00
yuvipanda
6957589cbe
Add test that tests for installing apt packages
2017-07-29 17:19:20 -07:00
yuvipanda
b187df0637
Mark py3 venv as default buildpack
2017-07-29 17:17:18 -07:00
yuvipanda
514ab7d985
Add integration tests!
...
We run jupyter-repo2docker and verify that the things we
expect to be installed are installed.
2017-07-29 16:11:02 -07:00