Skip to content

Oxyaction/slate-casestudy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slate-casestudy

Requirements

  • docker
  • docker-compose

Development

make dev-start - starts development docker-compose with mounted microservices and nodemon, installs dependencies.
make dev-stop - stops dev services

CI Flow

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

Features

  • preserved base images and dependencies consistency
  • easy managing via make
  • probing postgres before e2e tests start to avoid race conditions

Future improvements

  • move config to injectable service
  • separate order service and payment service to own repos
  • autobuild docker images on push to github repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published