This is a Docker image for running the Heroku Kensa tool used when developing Heroku Addons.
Get instructions for using kensa
:
docker run friism/kensa kensa
Kensa needs your addon-manifest.json
file to work. To do that, tou can mount the current directory in the kensa container:
docker run -v $PWD:/root -ti friism/kensa kensa test manifest
Typically, you'll want to use the image with docker-compose
to have kensa
test your running code:
$ cat docker-compose.yml
web:
build: .
command: <command to start your add-on service>
kensa:
image: friism/kensa
command: kensa test all --without-sso
volumes:
- .:/root
links:
- web
$ docker-compose up kensa
...