Walking through Continuous Delivery steps
We already know all the steps required for the Continuous Delivery process. We did each of them at least once. We got introduced to some of them in the Chapter 1, Continuous Integration with Docker Containers. After all, Continuous Delivery is Continuous Integration "extended". It's what Continuous Integration would be if it would have a clear objective.
We ran the rest of the steps throughout the chapters that lead to this point. We know how to create, and, more importantly, update a service inside a Swarm cluster. Therefore, I won't go into many details. Consider this sub-chapter a refreshment of everything we did by now.
We'll start by checking out the code of a service we want to move through the CD flow:
git clone https://github.com/vfarcic/go-demo.git
cd go-demo
Next, we should run the unit
tests and compile the service binary:
eval $(docker-machine env swarm-test-1)
docker-compose \
-f docker-compose-test-local.yml \
run --rm unit
Figure...