Manual Approval before deployment

A Manual Judgment 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 judgment stage before deployment.

To add a manual Judgment stage:

  1. Go to Application Dashboard: When you log in to ISD the application dashboard is displayed with the list of applications. You can create a new application also as given in create a new application.

  2. Click on the application for which you want to build this pipeline.

  1. Pipelines: Once you click on an application, it will redirect you to the Pipelines page. Click +Create button to create a new pipeline. Users can also view the existing pipelines displayed on the left.

  2. Click on Add stage: The add stage button is displayed below the diagrammatic representation of the created pipeline. When you click this button, you can select the different types of stages that ISD supports.

  1. Add manual Judgment stage: Select Manual Judgment stage from the Type drop down. You should add each stage and configure them in a logical sequence as ISD does not permit downstream dependencies.

  1. Configure Manual Judgment: Configuring the manual judgment stage allows you to define input options a user can give and how they might give them. Update the required details in the below screen and click Save Changes.

  • Instructions (Optional): Provide any instructional text that would assist in making a manual judgment (can contain HTML). These Instructions are shown to the user when making a manual judgment.

  • Propagate Authentication:

    • If Checked - The pipeline will continue with the permissions of the approver.

    • If Unchecked - The pipeline will continue with its current permissions.

  • Judgment Inputs (Optional): Entries populate a dropdown displayed when performing a manual judgment. The selected value can be used in a subsequent Check Preconditions stage to determine to branch. For example, if the user selects "rollback" from this list of options, that branch can be activated by using the expression: execution.stages[n].context.judgmentInput=="rollback"

  • Send Notifications (Optional): If you need an instant alert, check this box.

  1. Add your deployment stage: Much like our steps to create a Kubernetes deployment guide, you can either add it as text or as an artifact.

  1. Run your pipeline: Verify to make sure that it works.

Last updated