Public Repository

Last pushed: a month ago
Short Description
Short description is empty for this repo.
Full Description

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
Docker Pull Command
Owner
pipekit

Comments (0)