Wykres commitów

408 Commity (docs-dev)

Autor SHA1 Wiadomość Data
Erik Sundell 4bde9f05c3 Add Pipfile.lock to py36 test 2019-04-21 23:26:21 +02:00
Erik Sundell 330ac775d3 Add Pipfile + runtime.txt test 2019-04-21 21:46:52 +02:00
Erik Sundell 97c26641c3 Optimize Pipfile + environment.yml test
Why install a big package when we can install a trivial one?
2019-04-21 17:34:29 +02:00
Erik Sundell e107360d97 Improve Pipfile + requirements.txt test
Previously we did not check that requirements.txt was ignored properly,
now we do.
2019-04-21 17:33:44 +02:00
Erik Sundell d019f4980a Clarify Pipfile + Pipfile.lock test 2019-04-21 17:32:46 +02:00
Erik Sundell a59e169e2f Fix the Pipfile + setup.py tests
Apparently testing to import the package will work no matter what as we
will find it locally so setup.py may not need to run. By adding a small
dependency I could check if the dependency is installed and now the
tests actually tests what they should.
2019-04-21 17:30:36 +02:00
Erik Sundell d9e58c2634 Fix test description 2019-04-21 14:59:38 +02:00
Erik Sundell d8cfc50c50 Add test for Pipfile + Pipfile.lock
We want to use the more specific version, Pipfile.lock, if it is
available. Are we ignoring the Pipfile if it is, as we should?
2019-04-21 14:55:00 +02:00
Erik Sundell dff18e840d Add test for Pipfile + setup.py
We want to ignore the setup.py file if it is around along with a
Pipfile.
2019-04-21 14:53:05 +02:00
Erik Sundell 4b74a13364 Rethink setup.py with Pipfile
As setup.py can be explicitly installed or not from a Pipfile I reasoned
that it should not be installed by default after pipenv has used
relevant Pipfiles.
2019-04-21 14:51:11 +02:00
Erik Sundell 4c69bf1dfd Add tests for Pipenv 2019-04-21 01:06:37 +02:00
David Hoese ec6973c5fd
Fix git submodule test sha comparison 2019-04-08 08:26:44 -05:00
David Hoese 4bd1d23469
Add tests for git submodule handling 2019-04-08 08:09:23 -05:00
Tim Head 053a623f13
Merge pull request #612 from davidanthoff/change-julia-env-handling
Use JULIA_PROJECT env variable to activate julia env
2019-03-29 07:58:01 +01:00
Tim Head 649225166a Update test of editable flag
For some reason the notebook server doesn't exit when we send the
SIGTERM signal to the container and as a result waiting for the
container to shutdown leads to an exit code of 137 (the notebook server
gets kill by SIGKILL).
2019-03-23 22:07:36 +01:00
David Anthoff 7105a8a3ef Merge branch 'master' into change-julia-env-handling 2019-03-21 12:49:17 -07:00
David Anthoff 5c627cde78 Remove IJulia kernel location tests from julia legacy 2019-03-13 17:41:10 -07:00
David Anthoff 8f29686fb6 Add tests for IJulia kernel location 2019-03-13 09:14:05 -07:00
Tim Head da9fed483d Add a lot of tests for the Julia semver matcher 2019-03-08 08:12:36 +01:00
David Anthoff ab0221e457 Use JULIA_PROJECT env variable to activate julia env 2019-03-06 10:35:16 -08:00
Tim Head f718f9c51d
Fix version typo 2019-03-06 12:02:04 +01:00
David Anthoff 0bbfb7c57d Use proper version specifier in julia Project.toml test 2019-03-05 20:51:16 -08:00
David Anthoff 606bc4cb1e Update julia README files 2019-03-05 19:50:52 -08:00
David Anthoff 92e4121d67 Set file execution bit on julia tests 2019-03-05 08:42:08 -08:00
David Anthoff 02c531dc50 Update julia tests 2019-03-05 08:40:40 -08:00
David Anthoff 3ba4c5766b Merge branch 'master' into reorg-julia 2019-03-04 21:31:12 -08:00
yuvipanda e0fcd4a55d Add test for environment.yml + --target-repo-dir
conda sometimes puts stuff in $HOME - specifically under .conda/ -
that might cause package installs to fail due to permission mismatches.

Ref https://github.com/jupyter/repo2docker/issues/604
2019-03-04 22:11:24 +05:30
David Anthoff d09634cd74 Fix julia test 2019-03-01 22:12:29 -08:00
David Anthoff 7d7f238be1 Fix julia test 2019-02-27 21:06:42 -08:00
David Anthoff 77fd0dbf29 Fix julia test 2019-02-27 20:48:59 -08:00
David Anthoff 9c2b66d7b0 Enable a julia test again 2019-02-26 08:50:16 -08:00
David Anthoff dc661f292d Test a bugfix 2019-02-25 19:23:21 -08:00
David Anthoff 671836e1da Rename julia tests 2019-02-25 15:55:26 -08:00
Min RK 41a9375984
Merge pull request #592 from betatim/freeze-tests
[MRG] Add tests for setting Python version during freeze
2019-02-25 10:56:22 +01:00
Tim Head b581060ebf
Fix typo in julia test README
Co-Authored-By: davidanthoff <anthoff@berkeley.edu>
2019-02-24 09:07:06 -08:00
David Anthoff a0801ac86f Update julia test file permissions 2019-02-24 09:06:13 -08:00
David Anthoff 892d93c5f4 Update tests for more julia versions 2019-02-23 18:02:14 -08:00
Tim Head ffed59a56d Add tests for setting Python version during freeze 2019-02-23 15:03:44 +01:00
Tim Head 397695bbaa
Merge pull request #539 from yuvipanda/v3.7
Bump default python version to 3.7
2019-02-21 11:06:03 +01:00
Gladys Nalvarte 7609e7f0aa Update build method in docker and legacy files 2019-02-19 10:45:48 +01:00
Gladys Nalvarte 5bf2eadcf8 Exposes CPU limit 2019-02-15 14:57:58 +01:00
yuvipanda 6d14754c35 Bump tag used to test requirements example 2019-02-12 20:49:26 -08:00
yuvipanda d8f8c781b2 Bump python default version to 3.7 2019-02-11 12:49:58 -08:00
Tim Head 9766c95455
Merge pull request #576 from minrk/pin-conda-more
pin conda during Python-switch step
2019-02-10 12:28:25 +01:00
Tim Head 89027c68c7
Update checked conda version 2019-02-10 11:01:05 +01:00
Tim Head e218a329f5
Merge pull request #573 from GladysNalvarte/nodejs_inst
npm installation
2019-02-08 18:20:26 +01:00
Min RK 7ade437de4 add a verification that conda version is correct
this isn't linked to the version in the file, so will need to be updated in sync
2019-02-08 12:46:53 +01:00
Gladys Nalvarte 8c6329de61 npm installation 2019-02-07 15:36:00 +01:00
Min RK a69145fcdd missing quotes in GIT_CREDENTIAL_ENV
echo without quotes removes newline, echo with quotes preserves it.

Previously failing test added
2019-01-31 10:48:18 +01:00
yuvipanda da267be7ac Remove redundant Julia test
This is the equivalent to the pyplot-requirements test,
so just do one rather than 2.
2019-01-18 00:20:07 -08:00
yuvipanda a3b7e95594 Support requirements.txt & runtime.txt with Julia
The comment about Julia only working with CondaBuildPack
hasn't been true since we switched to using conda for getting
our pythons. This change allows people to use requirements.txt
with Julia, rather than forcing them to use environment.yaml
2019-01-17 17:23:54 -08:00
Tim Head 5385b71275
Merge pull request #555 from yuvipanda/julia-packages
Set JULIA_DEPOT_PATH
2019-01-17 10:29:53 +01:00
yuvipanda 3c9f31edc3 Add test for JULIA_DEPOT_PATHt 2019-01-16 22:42:36 -08:00
Yuvi Panda 9eb78c34ab
Merge pull request #534 from betatim/test-test-test
[MRG] Add tests for port mapping conversion
2018-12-22 10:46:16 -08:00
Yuvi Panda 18e9d2f817
Merge pull request #511 from betatim/cached-builds-take2
[MRG] Add caching of already built repositories
2018-12-21 22:19:28 -08:00
Tim Head 27a05d455e Use a minimal hand-crafted Dockerfile for speed
Instead of installing the normal stack just install the notebook server
and launch it to check for the launch URL being output correctly.
2018-12-21 19:55:49 +01:00
Tim Head 9e6dc8f7d7 Update tests and add invalid port spec tests 2018-12-21 17:59:42 +01:00
Tim Head 7067663763 Add tests for port mapping conversion 2018-12-21 15:58:56 +01:00
Tim Head e7018d7ca5 Add caching of already built repositories
Add tests for image caching

Adjust tests and main app for cached builds

Remove obsolete command-line handling

Remove print statement from test

Fix subdirectory handling

Put back exception instead of sys.exit()
2018-12-21 11:20:51 +01:00
yuvipanda 29407aa83f Put ${REPO_PATH}/.local/bin in PATH too 2018-12-18 11:50:35 -08:00
yuvipanda 21154d3b86 Use REPO_DIR rather than REPO_PATH
https://github.com/jupyter/repo2docker/pull/507#issuecomment-448184651
is a good justification
2018-12-18 11:50:35 -08:00
yuvipanda 66f025720e Add simple python test for --repo-path
extra-args.yaml placed in a test directory can be used
to pass extra arguments to the repo2docker command.
2018-12-18 11:50:24 -08:00
James Bourbeau 4f72fd8c94 Remove f-string in test 2018-12-18 09:29:28 -06:00
Min RK aca4259534 update port tests
use repo2docker directly, not as a subprocess
2018-12-17 14:23:02 +01:00
Min RK 22de9f40d0 get unittests passing again
fix some relative paths, temporary dirs, etc.
2018-12-17 13:11:45 +01:00
Min RK a5d5e77ad1 move unittests into tests/unit directory
for easier test discovery so we don't skip tests without realizing
2018-12-17 13:06:28 +01:00
yuvipanda 3a85fb814b Use pytest's capsys to test for stdout values
Works better with pytest's output capturing system
2018-12-14 13:30:22 -08:00
yuvipanda 0a1d9e3d5f Add test for valid & invalid docker image names 2018-12-14 13:15:33 -08:00
yuvipanda 183d504515 Add test for cleanup_checkout 2018-12-14 13:15:33 -08:00
yuvipanda a44aed7664 Add some argument parsing tests
And fix the one bug discovered in this process
2018-12-14 13:15:33 -08:00
yuvipanda 769efb8a69 Add test for proper failure when ref isn't found in git repo 2018-12-14 13:15:33 -08:00
yuvipanda e1ead75302 Move argument parsing out of Repo2Docker class
Argument parsing should only be used when calling from
the command line, and not be deeply tied into the class
itself. This makes it easier for folks to just set
traitlets on an empty class and start it, without having to
deal with passing arguments.

This breaks how people might already be using Repo2Docker as
a library, so should not be part of 0.7
2018-12-14 13:15:33 -08:00
James Bourbeau db00d4982c Use "local" label for local directory 2018-12-13 17:12:09 -06:00
James Bourbeau 2448730b75 Refactor test to use mock 2018-12-13 16:40:39 -06:00
James Bourbeau a55a3f6d30 Add test for BuildPack label rendering 2018-12-13 13:34:57 -06:00
James Bourbeau 99b1e7548a Update test_labels.py 2018-12-13 12:43:45 -06:00
James Bourbeau 5ff24d960b Add test_labels 2018-12-12 22:05:35 -06:00
Tim Head 69cd760e07
Merge pull request #494 from yuvipanda/util-tests
Add unit tests for repo2docker/utils.py
2018-12-11 13:05:08 +01:00
yuvipanda bf8836243c Add test for ByteSpecification validation 2018-12-10 23:19:13 -08:00
yuvipanda b441176a6a Add test for utils.chdir 2018-12-10 23:13:56 -08:00
yuvipanda 30e69bccee Add unit test for execute_cmd in repo2docker.utils 2018-12-10 23:06:25 -08:00
yuvipanda d035483d1c Add tests for Docker & Legacy Docker buildpacks 2018-12-10 22:46:06 -08:00
yuvipanda 47335f44c7 Add tests for cache_from functionality 2018-12-10 11:25:47 -08:00
Yuvi Panda c489f54a05
Merge pull request #448 from betatim/nix-experiment
[MRG] Switch to BaseImage for nix build pack
2018-11-12 13:56:30 -08:00
Tim Head 58cbe1797d
Merge pull request #457 from nuest/stencila
Updates for Stencila
2018-11-09 13:56:23 +01:00
Tim Head a8aee884e9 Add executable flag to verify script 2018-11-09 11:14:30 +01:00
Tim Head 28a11ab3de Fix comment typos 2018-11-09 08:20:24 +01:00
Tim Head fcab15b092 Add a test for nix using a binder subidrectory 2018-11-09 08:12:56 +01:00
Tim Head d427fdfd52 Add test and support for binder sub-directory 2018-11-09 08:12:53 +01:00
Tim Head 046b744785 Inherit from BaseImage instead of BuildPack 2018-11-09 08:12:33 +01:00
nuest 490962e08d split up Stencila tests to not run into timeouts on Travis CI 2018-11-06 21:27:18 +01:00
nuest c2b17d599e add tests pyjp vs. py for Stencila, make Stencila tests more specific 2018-11-05 21:10:13 +01:00
nuest 7e8450fcee more detailed check for Stencila + Python test 2018-10-30 10:33:21 +01:00
nuest 24def164ed verify R installation for r-markdown with Stencila 2018-10-29 20:52:05 +01:00
Chris Ostrouchov 1e3630cc10
Feature: Adding nix support for repo2docker
test url: https://gitlab.com/costrouc/nix-binder-example
2018-10-17 16:32:40 -04:00
Tim Head b1dcbbe996 Adjust sub-directory tests after changing CWD behaviour 2018-10-16 13:46:00 +02:00
Tim Head df7251dff6 Add context manager to change working dir
The context manager takes care of restoring the current working
directory when we are done. This is useful when the directory we set as
working directory stops existing.
2018-10-16 13:29:59 +02:00
Tim Head 4e1eff5f1b Switch repository used to test sub-directory support
Using a repository that contains invlid instructions in the root of the
repository so that the test for subdirectory support will fail if
repo2docker doesn't actually switch into the requested sub-directory.
2018-10-16 13:28:08 +02:00
Tim Head 71903721d9 Add tests for local content provider 2018-10-16 08:04:13 +02:00
Tim Head 02b41948dd Add tests for Git content provider 2018-10-16 08:04:13 +02:00
yuvipanda 18f11b8c1f [WIP] base contentproviders commit
Very much a WIP, but some thougts on how we can support more
than just git.
2018-10-16 08:04:13 +02:00
Derek Ludwig 4f1dc9ce27 add comment 2018-10-15 10:59:16 -07:00
Derek Ludwig 405abf4a98 update tests 2018-10-15 10:58:00 -07:00
Derek Ludwig 2d2738b6db Merge remote-tracking branch 'upstream/master' 2018-10-15 10:21:41 -07:00
Tim Head 86b32d511d PEP8 styling 2018-10-12 16:33:16 +02:00
Tim Head 126e22d3e0 Check beginning of the string only for Julia
Only uses the beginning of the string to determine which version of
Python we use in Julia
2018-10-12 11:55:14 +02:00
Evert Rol 754edd01c4 Move test fixture to conftest.py 2018-10-08 15:36:45 +02:00
Evert Rol 871b0629a4 Remove dockerfile/editable test from main tests
The dockerfile test is used by test_editable, but should not be used
by the generated tests. Removing the verify script will prevent it
being run as part of the generated tests.
2018-10-08 15:36:45 +02:00
Evert Rol c834e27686 Add test for host file creation in edit mode
This will test whether an externally (host) created file is seen
inside the container. This means starting the container, creating a
temporary file on the host, then running a simple verification command
(`ls`) to detect the file. Once the temporary file is removed on the
host side, it should be removed in the container as well.
2018-10-08 15:36:45 +02:00
Evert Rol 6847e71670 Add test for editable option
This test only verifies the option one way: a change inside the
container (a new file) is reflected in the local host repository
outside the container.

A further test where a modification at the host level is reflected in
the container, is still neede.
2018-10-08 15:36:45 +02:00
Tim Head d95f7dc328
Merge pull request #420 from evertrol/clone-depth-1
Speed up cloning by using a depth of 1 if there is no refspec
2018-10-05 10:27:22 +02:00
Evert Rol 67cf0e6e8d Add test for clone depth
Adds test for the use of a clone depth of 1 for cases where no refspec
is used. This relies on an external source (an existing test
repository), so may break easier.
2018-10-05 09:36:32 +02:00
Tim Head 32e5ef2a2b
Merge pull request #393 from NHDaly/julia_version_customization
Julia v1.0 support: Add option to specify julia version in REQUIRE
2018-10-01 14:59:01 +02:00
Nathan Daly 7fbb0f9964 Add JULIA_BINDDIR environment variable for julia v0.7+
Add tests for the ENVIRONMENT VARIABLES to the julia unit tests.
2018-09-30 22:33:40 -04:00
Derek Ludwig 19578801a1 Fix documentation 2018-09-27 09:07:27 -07:00
Nathan Daly 55b84234f2 Update comments in README 2018-09-27 11:32:40 -04:00
Tim Head 2ebc87b250
Merge pull request #405 from minrk/37
Support python 3.7
2018-09-27 10:35:10 +02:00
Derek Ludwig 3ef8b4e934 Cannot import from conftest 2018-09-26 15:33:52 -07:00
Derek Ludwig 2e63ec8704 add subdir test 2018-09-26 10:55:55 -07:00
Bastian Greshake Tzovaras 1f5469feb5
use getwd() to find path instead of "." 2018-09-23 22:15:43 +03:00
Bastian Greshake Tzovaras 49b393e9a2
chmod x verify DESCRIPTION 2018-09-23 01:06:34 +03:00
Bastian Greshake Tzovaras 4a1b504dd2 add description test to this repo 2018-09-20 16:11:11 +03:00
Bastian Greshake Tzovaras 56ca910a40 fix R DESCRIPTION installation 2018-09-18 16:10:12 +03:00
Min RK ead7f4b000 test py37 2018-09-17 11:05:40 +02:00
Tim Head 6f624201b3 Make verify script executable 2018-09-15 10:05:25 +02:00
Tim Head 2fedda0828 Update postBuild+start test case
This test was missing a start script, added it. Updated the README to
explain what the test case was doing.
2018-09-15 09:28:19 +02:00
Tim Head d9ed775dca Make verify script executable for Python2 test 2018-09-15 09:28:19 +02:00
Tim Head 07b1b82f27 Update node tests to match versions actually installed 2018-09-15 09:28:19 +02:00
Tim Head 535e77a1d6 Switch order of local repository test collection
Feels more natural to first attempt building the image and then running
the verify script in it.

Changed the name of the two tests to make it easier to see which test
failed (verify or build).
2018-09-15 08:53:03 +02:00
Tim Head 16079b9981 Compare to empty string when start script test fails 2018-09-15 08:53:03 +02:00
Nathan Daly 29b15b325c Update buildpacks/julia.py to support julia 0.7+!
Adds julia v0.7/v1.0 support to repo2docker.
2018-09-07 13:16:13 -04:00
Nathan Daly 5dd08daa42 Added test for manually setting the version number 2018-09-07 13:15:46 -04:00
Tim Head a1df2ebda2 Make `verify` check both server and kernel environments 2018-08-18 13:01:18 +02:00
Tim Head 0ef79326e5 Escape environment variable when using Python string formatting 2018-08-18 12:50:31 +02:00
Tim Head 286f56c391 Split out tests, tweak docs, and a style change
This splits out the test for the launch script from the postBuild script
test. Makes some adjustments to the documentation of the launch script
functionality and applies some pythonista styling.
2018-08-15 17:10:53 +02:00
Joseph Hamman da0ed1eee0 Merge branch 'master' of github.com:jupyter/repo2docker into feature/launch_script 2018-08-13 14:12:12 -06:00
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