Wykres commitów

168 Commity (28a11ab3ded6f8051b9601795280ab55dfa815e8)

Autor SHA1 Wiadomość Data
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
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