In order to support this workflow, we need a CI tool and a configuration management tool. For illustration purposes, we have taken the Visual Studio Team Services (VSTS) build service as CI and VSTS release management for continuous delivery. The workflow would remain the same for any other tools or modes of deployment. The following is one of the flavors of microservice deployment with Docker:
- The code is checked into the Visual Studio team service repository. If this is the project's first check-in, it is done along with Dockerfile for the project.
- The preceding check-in triggers VSTS to build the service from the source code and run unit/integration tests.
- If tests are successful, VSTS builds ...