Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 729 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 729 Bytes

Example Micro-service

CI/CD status API

Build

To build a container image and run tests, simply run make. To run in docker, run docker-compose up Then open a different terminal to test it via curl, i.e.:

To check service is health, run:

curl localhost:8080/health

Example response:

{"status": "OK", "version": "0.1.0_rev-f12596"}

Test

To test, run make test which brings up the service and tests it is alive and with a valid version. See scripts/test.sh and scripts/version.sh.