Deployer

3 minute read

With CloudBees Release Orchestration SaaS, deploy your application or infrastructure with the deployment tool in Pipeline composer. You can also modify parameters during execution.

Adding an application deployment step

Configure the deployment tool and any associated job parameters in the Orchestration  Pipeline composer UI. You can also set a schedule and enable notifications.

To add an application deployment step:

  1. From the CloudBees Release Orchestration SaaS Home page, select Orchestration  Pipeline composer.

  2. Select an existing pipeline, or create a new pipeline. Refer to Working with pipelines for more information.

  3. Select Deployer from the icon options, which adds it to your pipeline.

    The deployer tool
    Figure 1. Adding the deployment step to a pipeline
  4. On the right pane:

    1. Select Application.

    2. Select Environment name from the options.

    3. Select Deployment tool name from the options.

    4. Enter any required job parameters, depending on the selected deployment tool.

      Spinnaker with parameters
      Figure 2. Adding a Spinnaker deployment step with job parameters
      Jenkins with parameters
      Figure 3. Adding a Jenkins deployment step with job parameters
    5. (Optional) Select Modify parameters during execution if you want to update deployment tool job parameters during the pipeline execution.

    6. (Optional) Select Deployment verification. Refer to Verifying deployment for more information.

    7. (Optional) Select Enable Rollback. Refer to Enabling rollback for more information.

    8. (Optional) Select Schedule. Refer to Scheduling for more information.

    9. (Optional) Select Notification. Refer to Notifications for more information.

  5. Select UPDATE.

You have added an application deployment step to your pipeline.

Adding an infrastructure deployment step

Configure the deployment tool and any associated job parameters in Pipeline composer. You can also set a schedule and enable notifications.

To add an infrastructure deployment step:

  1. From the CloudBees Release Orchestration SaaS Home page, select Orchestration  Pipeline composer.

  2. Select an existing pipeline, or create a new pipeline. Refer to Working with pipelines for more information.

  3. Select Deployer from the icon options, which adds it to your pipeline.

  4. On the right pane:

    1. Select Infrastructure.

    2. Select Environment Name from the options.

    3. Select Deployment Tool Name from the options.

      Terraform tool
      Figure 4. Adding an infrastructure deployment tool
    4. Enter any required job parameters, depending on the selected deployment tool. If available, select Add to display more configuration options.

      Terraform job parameters
      Figure 5. Configuring infrastructure job parameters
    5. (Optional) Select Schedule. Refer to Scheduling for more information.

    6. (Optional) Select Notification. Refer to Notifications for more information.

  5. Select UPDATE.

You have added an infrastructure deployment step to your pipeline.

Verifying deployment

CloudBees Release Orchestration SaaS has a deployment verification option, where you can set a timeframe for listening for critical problems during pipeline execution. You can also opt to allow the pipeline to proceed if verification fails.

To configure deployment verification:

  1. Configure the deployment tool according to Configuring deployment for an application or Configuring deployment for an infrastructure, as appropriate.

  2. Select Deployment verification.

  3. Select Hrs and Min from the options for the time duration in hours and minutes, respectively.

  4. Select the observability Tool name from the options.

  5. Select one or more policies from the options.

  6. Select one or more conditions from the options.

  7. (Optional) Select Allow Pipeline to proceed even if the verification fails, but CloudBees Release Orchestration SaaS does not recommend allowing the pipeline to proceed if verification fails.

  8. Select SAVE.

You have configured deployment verification.

Verification
Figure 6. Adding a timeframe and observability tool for verification

Enabling rollback

Enable the ability to roll back a commit during pipeline execution in CloudBees Release Orchestration SaaS.

To configure rollback:

  1. Configure the deployment tool according to Configuring deployment for an application or Configuring deployment for an infrastructure, as appropriate.

  2. Select Enable Rollback.

  3. Select Associated Job from the options, which is the job that can be rolled back.

  4. Select Assigned User from the options. You may select multiple users who have the ability to perform the rollback.

You have enabled the ability to roll back a commit during pipeline execution.

Rollback
Figure 7. Enabling rollback by adding a job and user
  • AWS ECS: CloudBees Release Orchestration SaaS supports Amazon Elastic container service to deploy your Docker application in the specified environment.

  • Kubernetes Deployment: CloudBees Release Orchestration SaaS supports Helm and Kubectl to deploy your Docker application in the specified Kubernetes environment.

To update a deployment, refer to Working with pipelines.