Sign inSign up

pipekit/compose-test

By pipekit

•Updated about 9 years ago

Image
0

5.5K

pipekit/compose-test repository overview

⁠pipekit/compose-test

Executes tests as defined in a compose file, similar to Docker Cloud tests⁠

⁠Usage

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
⁠Environment variables
  • $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 run

Tag summary

Content type

Image

Digest

Size

13.2 MB

Last updated

about 9 years ago

docker pull pipekit/compose-test