📄
Spinnaker
  • Home
  • Introduction
    • Spinnaker
    • Kubernetes Concept
    • First deployment
  • Pipeline
    • Basics
    • Configuration
    • Highlander deployment
  • Blue/Green Deployment
    • Concepts
    • Built-in Strategy
    • Rollback pipeline
    • Merge pipelines
Powered by GitBook
On this page

Was this helpful?

  1. Blue/Green Deployment

Merge pipelines

PreviousRollback pipeline

Last updated 5 years ago

Was this helpful?

In the Previous exercice, we created separate pipelines for deploy and rollback. Now you have enough experience with spinnaker to create an unifed Pipeline.

This some tips to help you to achieve this exercice:

  • Create a new step. the type of this step is Manual judgement

  • You can name it Choose Action

  • In the judgement input section add two options: deploy and rollback

  • Add new step. the type of this step is Check Preconditions. This stage depend on The manual judgement.

    • Add Precondition:

      • Check: Expression

      • Expression: ${#judgment(<YOUR_MANUAL_JUGEMENT_STAGE>). equals('deploy')}

  • Add new step. the type of this step is Check Preconditions. This stage depend on The manual judgement.

    • Add Precondition:

      • Check: Expression

      • Expression: ${#judgment(<YOUR_MANUAL_JUGEMENT_STAGE>). equals('rollback')}

  • You can recreate your previous stage (Deploy and Rollback) after each precondition.