retrohacker / dante

Build tests against Docker images by harnessing the power of layers
44 stars 4 forks source link

Proposal: Ability to test and push a specific image #4

Open bentruyman opened 8 years ago

bentruyman commented 8 years ago

The ability to do both dante test [NAME...] and dante push [NAME...], where NAME refers to an image with a matching name key in the inventory.yml, would be incredibly helpful for testing out a particular image without having to build the entire collection. I'd only add it to the push command for symmetry.

retrohacker commented 8 years ago

Hey @bentruyman,

First thanks for this! I agree, this would be super useful. I haven't had much time to implement new features on this project but would love to add you as a collaborator and help you land a PR :smile:

My initial though is that this would be freaking awesome. It might be interesting to add another flag instead of [NAME...]. Something like --filter which takes a regular expression and only builds/tests/tags/pushes images that match the regular expression. Only unknown here is if we should match against the name itself, or the aliases as well? And do we only create an image with the aliases if only a subset match.