Deploying a sample application using a Spinnaker pipeline
The Continuous Deployment pipeline will start after delivering a change to the Docker Hub registry through the CI process.
But as we're going to do continuous delivery, we require a manual check that will ensure that someone approves it prior to deployment.
In this case, we'll deploy the code directly to the staging
namespace as soon as a new version of the container is available in the Docker Hub registry. We will then add a Manual Check to ensure that we do our tests and only approve the production deployment once we're satisfied. Once we've approved the manual deployment, Spinnaker will deploy the code to the production
namespace.
The application is a simple Flask application that will respond with the current version it's running. It will also contain unit tests to ensure that we don't break anything. They are all part of the CI process, so we will not cover the tooling aspects. They...