- check-tmp checks disk usage in a collection of directories,
and fails if they exceed a certain size, reporting on contents
- re-use images and skip build stage in verify/check-tmp tests.
Should save some time,
even though the build cache would have been used.
This way, we don't even check.
I misunderstood extra-args.yaml to be a file that was recognized by
repo2docker's CLI, but in reality it was just a file recognized by the
repo2docker test suite. Following that, I renamed this testing specific
file to test-extra-args.yaml to help others avoid making that mistake
and added comments to clarify that.
This commit also gathers the conda buildpacks separate readme files into
a single readme file.
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()
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
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).