Added in a DOCKERFILE and a docker-compose.yml which create environments to run unit and integration tests without any prerequisites (aside from docker) installed. Added a release script to release to the remote repository and an environment file to keep track of version locally.
To run the tests:
docker-compose run --rm test
or docker-compose run --rm integration-test
The test and integration test are separated into two different profiles, so that way if keys or passwords need to be copied into the integration testing profile, it does not effect anything else.
docker-compose run --rm
is used to create a one-off container. Since there is no front-facing web application, this prevents lingering inaccessible containers from hanging on.
To release:
chmod +x release.sh
./release.sh
Notify: @bjsousa @NUWAN.KUMARASIRI