Executes tests as defined in a compose file, similar to Docker Cloud tests
First, you need to define a docker-compose.test.yml file with a service called sut that implements your tests.
Then, add the following step to your pipeline:
steps:
test:
tasks:
- image: pipekit/compose-test
To override the default command to be run, specify a custom command in the step:
steps:
test:
tasks:
- image: pipekit/compose-test
command: ./run-tests.sh
$COMPOSE_FILE: (default: docker-compose.test.yml) the name of the compose file to use for testing. If multiple files are required, they should be separated by commas$SERVICE: (default: sut) the name of the service to be runContent type
Image
Digest
Size
13.2 MB
Last updated
about 9 years ago
docker pull pipekit/compose-test