Manual Approval before deployment
Last updated
Last updated
A Manual Judgement is a stage you can add to a Spinnaker Pipeline whenever you require Human intervention in the process. If you want to have a human verify the deployment before it takes place, then a user can add a manual judgement stage before deployment.
To add a manual Judgement stage:
Go to Continuous Delivery: When you log in to ISD you would start at the application dashboard, Click "Continuous Delivery" and then click "Spinnaker". ISD primarily supports spinnaker applications and allows you to access your spinnaker instance directly from ISD’s UI to help save your team time.
2. Click on the application where you want to build this pipeline: On the spinnaker dashboard, you will see a list of recently opened applications and options to see all your applications or create a new application entirely. For the purposes of this tutorial, we are using the application “Fresh tutorial”.
3. Once you click on an application, Click "Pipelines" navigate to the pipelines screen and then click "Create" button to create a new pipeline as shown in the image below.
4. Create pipeline: After clicking the "Create" button, you can create a new pipeline. You must name your pipeline. If you have an existing pipeline, you can copy it using the “copy from” feature and click "Create".
5. Once you created the pipeline, below screen will appear and click "Configure" button to add stage into your pipeline.
6. Click on “add stage”: The add stage button is just under the diagrammatic representation of your pipeline. When you click this button, you can select many different types of stages that Spinnaker natively supports.
7. Add manual Judgement stage: Select “Manual Judgement” stage from the drop down menu. You should add each stage and configure them in a logical sequence as Spinnaker does not permit downstream dependencies.
8. Configure Manual Judgement: Configuring the manual judgement stage allows you to define input options a user can give and how they might give them.
9. Add your deployment stage: Much like our steps to create a Kubernetes deployment guide, you can either add it as a text or as an artifact.
10. Run your pipeline: Verify to make sure that it works.