Sign inSign up

dabosq/circleci-test-runner

By dabosq

•Updated over 8 years ago

An image to run docker-compose style tests with CircleCI 2.0

Image
0

1.0K

dabosq/circleci-test-runner repository overview

⁠An image for CircleCI 2.0 tests, featuring docker-compose, tap-xunit, and awscli

I have my tests set up to start two Docker containers: one for my app, and a second System Under Test container that makes HTTP requests against the app container. The two of these are configured in a docker-compose.test.yml file. Then if tests are successful, I push to Amazon ECR⁠ and deploy (“update the task definition”) in Amazon EC2 Container Service⁠.

This is similar to how Docker Cloud does automated testing⁠, except that I deploy to ECS instead of Docker Cloud.

Meanwhile, CircleCI 2.0⁠ is cool, and runs things with Docker itself, but has a complex process⁠ if you want to build and push Docker images for deployment. Also, it expects jUnit-style XML output⁠.

So this Dockerfile installs:

Tag summary

Content type

Image

Digest

Size

372 MB

Last updated

over 8 years ago

docker pull dabosq/circleci-test-runner