Updating a Blue Deployment with a Green Deployment

If you’re ready to update the current deployment (blue) with the preview deployment (green), you can choose to either approve the deployment decision or reject the green deployment.

Prerequisites

  • You have a valid blue deployment on your environment.
  • You have a valid green deployment on your environment.

Context

You can navigate through the various stages of the deployment decision using the Back and Next buttons. You can also select the stage numbers at the top of the page.

Procedure

  1. From the navigation menu, click Environments, then select the environment to modify.

    The environment details page appears.

  2. Click History from the Last deployment area at the top of the page.

    A list of deployments on this environment appears.

  3. Select a blue/green deployment to update.

    You can identify blue/green deployments from the Deployment Mode column.

    The Green Deployment details page appears with the last deployment stage selected.

  4. Review the status of the green deployment or the blue deployment using the following status panels.
    • Blue Deployment: Displays the status of the currently active deployment that may be serving live traffic.
    • Green Deployment: Displays the status of the next deployment under evaluation.
  5. Click Deployment Preview.

    The Deployment Preview page appears.

  6. To view the green deployment, click any of the endpoints in the Preview Endpoints panel.
  7. Click Deployment Decision.

    The Deployment Decision page appears.

    • If a deployment decision has already been made, the results appear on this page.
    • If a deployment decision hasn't been taken, the Accept and Reject buttons appear.
  8. Decide if you want to use the green deployment, or if you want to reject it.
    • Accept: Replaces the current blue deployment with the green deployment.

      In the pop-up window, enter a reason why you accepted the green deployment and click Confirm. The Blue Deployment page appears and displays the results of the update process to the blue deployment.

      After you update the blue deployment, the system purges the latest green deployment from the server immediately.

    • Reject: Deletes the green deployment from the environment, leaving the current blue deployment unchanged.

      In the pop-up window, enter a reason why you’re rejecting the green deployment and click Confirm.