Allow section to have parent like tox.ini, i.e:
foo:
images:
- image1
foo:bar:
commands:
- blah
would have foo:bar getting the image image1 since dependent of foo
Change-Id: I613db9ed9ac16c978ef8a42a604992ce2205bc08
Try to mimics tox by default with allowing things like :
-e section1,section2
Change-Id: Iab98667c5d26aa80fe31227ded9d21983eb7d7eb
TODO: if none was specified run all targets not the default ones
Try to emulate tox -e type of target/environment.
This works natively in tox.ini as long we have commands to run there
(doesn't support inheritance).
For dox.yml the format has been improved, the format looks now like this :
target1:
images:
commands:
add:
prep:
target2:
images:
commands:
add:
prep:
we still support old format with single target.
Follow up patches in this series improve this implementation.
Change-Id: I2a30aaa63fd4e47fd76f29ed5e5cb025ca326016
This patch adds support for running tests on multiple images. Instead of
parsing just 1 image, it attempts to always parse multiple images from
config files and/or CLI.
To run dox on multiple images from the CLI, you'll have to:
$ dox -i infra/trusty,infra/f20
The tox.ini `docker:images` option is now a comma-separated list of
images, whereas the dox.yml one is an array of images.
Change-Id: I124c299b208be5c31c63187af754705c48de5693