Github Repos and GitBranches and Environments - exam105/backend GitHub Wiki

We have 3 Repos

  • Frontend-Production
  • Frontend
  • Backend

The process

  • For every feature, developer create a branch
  • Test the code in Dev environment
  • Once feature is complete and all tests are done, developer pushes the branch to main branch
  • There is a trigger set on the main which pushes the image to docker hub
  • To deploy this new image, we have to execute docker-compose command to deploy the instance to the Docker Swarm cluster.