- docker
- docker-compose
make dev-start
- starts development docker-compose with mounted microservices and nodemon, installs dependencies.
make dev-stop
- stops dev services
Test
-> Build
-> Tag
-> Deploy images
Commands:
make test
- runs e2e and unit tests for order and payment services, compiles src code to dist
make build
- builds production images, preserving test stage consistency (base images, dependencies)
make tag
- tags built prod images with appropriate tags
make push
- pushes images to docker hub
make clean
- removes containers and dangling images and volumes
- preserved base images and dependencies consistency
- easy managing via make
- probing postgres before e2e tests start to avoid race conditions
- move config to injectable service
- separate order service and payment service to own repos
- autobuild docker images on push to github repo