Commit Graph

2 Commits

Author SHA1 Message Date
Chad Metcalf
5185cedf4e
Fixing Mac vs Linux bash shell'ism.
Signed-off-by: Chad Metcalf <chad@docker.com>
2020-08-08 14:27:04 -07:00
Chad Metcalf
702ec96821
Adding a Makefile and basic tests.
This approach uses bats to create a generic docker-compose test. It
checks that images are pullable, projects are buildable, up works, and
if ports are exposed that something is listening.

The tests can be tailored for each example. As long as they are the same
though, you can edit lib/test.bats.example and then `make update-tests`
and all the tests will be synced.

Signed-off-by: Chad Metcalf <chad@docker.com>
2020-08-08 14:26:52 -07:00