Using multispeed deployments
Achieve greater flexibility over your pipeline workflow through multiple deployments that queue in the same stage of a pipeline. With this functionality, developers can regularly merge their changes for selective testing and promotion of deployments without blocking the pipeline. This approach introduces the concept of a transition between stages requiring user input to proceed.
In the example above, there is a manual transition configured when going from Quality Assurance (QA) to Staging. New deployments queue chronologically, waiting for promotion to the next stage. The user with the appropriate privilege is able to select and promote a specific deployment. In this example, Deployment #3 is selected for promotion. This automatically resolves the previous deployments, Deployment #1 and Deployment #2 (superseded). Deployment #3 is promoted to Staging and the pipeline resumes running through all of the tasks configured in the QA stage.
Configuring a stage for multispeed deploymentIn multispeed deployments, the pipeline queues multiple deployments after the completion of a stage, which you can use to selectively promote deployments to the next stage. This functionality relies on the underlying pipeline model, with available configuration from Deployment Manager. When all tasks within a stage are complete, the stage progresses forward by using a configuration called Transition. You can configure the transition setting to automatically move to the next stage, or wait for a user action.
- From the Deployment Manager portal, click Pipelines.
- Select the pipeline that you want to configure for multispeed deployment.
- On the Actions menu, select Edit pipeline.
- Click Pipeline model.
- Click the heading for the stage that requires manual transition, where you want deployments to queue after stage completion until selected for promotion.
- In the stage details section, in the When all tasks in this stage are complete field, select the Wait for user action switch.
- Click Save.
Promoting pending deployments
The pipeline modeling landing page provides a dashboard of all pending deployments within your application pipeline. From here, deployments can be selectively promoted for progression through the workflow.
- Click Pipelines.
- Open the pipeline that contains the deployment that you want to promote.
The overview section shows a dashed line between stages that indicate that a manual transition is required. The Deployment History section shows this deployment with a Waiting status.
- In the overview section, choose the action that you want to run on the deployment.
Multiple pipelines for an applicationIf you are maintaining multiple pipelines across an application for a release process and leverage the deploy with an existing artifact feature, Deployment Manager 5.1 offers multispeed deployment. Simply reconfigure your pipeline with a manual transition between stages to utilize this feature. Now, you do not need to carry forward deployments with an existing artifact, as the pipeline will do this for you.
Customers migrating from 4.x versions can now leverage multispeed deployments if maintaining multiple pipelines targeting different stages for an application.