Wykres commitów

572 Commity (main)

Autor SHA1 Wiadomość Data
Min RK bbedf9484e add xeus-cling to external tests
it should exercise the pinning issue
2018-08-07 20:18:13 +02:00
Tim Head 4af5c6140c Hardcode detection of the distribution name 2018-08-06 07:34:52 +02:00
Tim Head 1c9b7b7425 Test for correct node and npm version 2018-08-06 00:06:39 +02:00
Tim Head 0e776dbd65 Make test executable 2018-08-05 23:51:25 +02:00
Tim Head 600cf8b21c Add test for node v10 in base buildpack 2018-08-05 23:29:41 +02:00
Chris Holdgraf 7552361c2b
Merge pull request #309 from minrk/stencila
stencila support
2018-08-01 08:38:47 -07:00
Min RK 784bbff709
Merge pull request #358 from GladysNalvarte/connect_url
Specify custom_connect_url argument
2018-08-01 15:08:52 +02:00
Gladys Nalvarte 4587702119 Include corrections in app and test_connect_url files 2018-08-01 14:21:15 +02:00
Joseph Hamman b99ec0587f add start script test 2018-07-31 11:07:59 -07:00
Gladys Nalvarte 4c0cb69b80 Uses jupyter/notebook option to pass explicit hostname 2018-07-31 11:28:20 +02:00
Min RK 4aff6c59ba rework stencila as an ‘optional frontend’
instead of a buildpack

stencila will be installed via `nbstencilaproxy` if a stencila manifest.xml is found
2018-07-20 17:14:14 -07:00
Gladys Nalvarte e0b92796a4 Updates the test_connect_url description and deletes print statements 2018-07-20 13:19:15 +02:00
Gladys Nalvarte 1512a6835a Explicit hostname supplied to the container 2018-07-20 11:45:01 +02:00
Min RK 8075c5bf10
Merge pull request #343 from GladysNalvarte/split-docker-image
Test that images can start notebook servers in all the builders
2018-07-04 15:15:53 +02:00
Gladys Nalvarte 0709c0a656 Fixs dockerfile tests that did not work 2018-07-04 14:29:50 +02:00
Gladys Nalvarte 89686833c0 Updated app.py to make sure that images can start notebook servers
Includes an update of conftest.py file to check that the container
is running with jupyter notebook in all the builders.
2018-07-03 10:55:31 +02:00
Chris Holdgraf c869073bd5 adding a few more tests 2018-06-27 16:38:46 -07:00
Chris Holdgraf b1f504c480 Merge branch 'docs' of https://github.com/choldgraf/repo2docker into docs 2018-06-27 08:26:01 -07:00
Chris Holdgraf c035dd22d4 auto-cleaning refs and updating tests for this 2018-06-27 08:25:05 -07:00
J. Forde e1d47df30e fixing conflict 2018-06-26 15:54:31 -07:00
Tim Head 157ce1e1e7 Add root conda environment to expected output 2018-06-06 21:52:41 +02:00
Chris Holdgraf 2dc4874261
Merge pull request #318 from GladysNalvarte/test_images
Checks if the environment.yml file is empty and if it contains a dict…
2018-06-05 23:43:56 +01:00
Gladys Nalvarte 43f367c590 Update the TypeError message and example in the unit test. 2018-06-04 12:56:20 +02:00
Gladys Nalvarte 63e459664c Updated test_env_yml.py file 2018-05-24 15:29:48 +02:00
Gladys Nalvarte 709ac4c757 Checks if the environment.yml file is empty and if it contains a dictionary.
If the environment.yml is empty, an empty dictionary is instantiated.
This will rise an TypeError if the environment.yml file contains a list
or other data structure different than a dictionary.
2018-05-24 13:31:04 +02:00
Min RK 150d1d245e fix verify script for ~/.local/bin 2018-05-23 16:03:07 +02:00
Chris Holdgraf 2f2fde8a11 short docs explanation 2018-05-19 08:02:59 -07:00
yuvipanda 5005c309cc Modify usr-bin test 2018-05-18 18:23:54 -07:00
Tim Head f818fd82be Add test to check for extra directory on PATH 2018-05-18 18:23:20 -07:00
Min RK 2b2eaa8b69 remove some duplicate READMEs from tests
since we don't need every one included in the docs

adds detail to the one that remains
2018-05-07 15:42:45 +02:00
Chris Holdgraf b4374eba04 fixing test for ref 2018-04-24 17:15:16 -07:00
Chris Holdgraf 30b37a35e4 improving readmes for tests 2018-04-24 17:14:01 -07:00
Chris Holdgraf 8c22e42ee4 adding test and more informative error 2018-04-24 16:51:39 -07:00
Min RK 593d892e0f readmes in py3 venv tests
remove outdated note about not being able to pick a Python 3.x
2018-04-16 16:58:01 +02:00
Min RK c70057d8e2 verify that Python 3.5 works with venv 2018-04-16 10:56:44 +02:00
Tim Head b79e836af3 Make verify script executable 2018-03-27 14:05:42 +02:00
Tim Head c86fa859ca Add a test to select Python 3 via runtime.txt 2018-03-27 11:00:34 +02:00
Gladys Nalvarte 6946effe3f simplify julia dockerfile for quicker tests 2018-03-20 13:24:52 +01:00
Carol Willing 2c60b0f708 update tests for image name validation 2018-03-15 16:54:45 -07:00
Min RK 9809b93f37
Merge pull request #241 from yuvipanda/no-executable
Do not require postBuild to be executable
2018-02-19 15:07:30 +01:00
Min RK 88d2f6d788 update postBuild error checking
to be more flexible if the postBuild line changes
2018-02-19 13:06:07 +01:00
yuvipanda 01bb6d1e19 Do not require postBuild to be executable
This is hard for windows users and from the GitHub UI,
and provides dubious benefits. So let's remove the requirement!

Fixes #240
2018-02-15 16:46:32 -08:00
Min RK 85fd7cff31 test appendix 2018-02-14 11:37:44 +01:00
Min RK e10c3eafb7 improve failure message 2018-02-09 16:48:26 +01:00
Min RK 3d369aff8a run tests in memory instead of subprocesses
greatly improves error/failure reporting
2018-02-09 16:48:26 +01:00
Chris Holdgraf decff2e7c7 willingc comment on r readme 2018-02-06 11:19:40 -08:00
Chris Holdgraf 2a03420f35 improving readme 2018-02-06 10:54:44 -08:00
Chris Holdgraf 0e2fec2302 adding R README file 2018-02-06 10:48:05 -08:00
yuvipanda e2099dbc97 Add basic R + IRKernel + RStudio support
This sets up R + RStudio + IRKernel for a repository that contains:

 1. A `runtime.txt` file with the text:

	r-<year>-<month>-<date>

	Where 'year', 'month' and 'date' refer to a specific
	date snapshot of https://mran.microsoft.com/timemachine
	from which libraries are to be installed.

 2. An optional `install.R` file that will be executed at build time,
	and can be used for installing packages from both MRAN and GitHub.

It currently sets up R from the ubuntu repository being used. This
is unideal, and we should investigate other solutions!

Fixes #24
2018-02-02 09:25:19 -08:00
Min RK 9b7fcb718a ensure python=3.5 is tested 2018-02-01 17:38:46 +01:00
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