From e25bb66c403345ce4bb242a36eeb0e57c30aeb70 Mon Sep 17 00:00:00 2001 From: NimRegev Date: Wed, 15 Feb 2023 08:36:21 +0200 Subject: [PATCH 1/2] Update applications-dashboard.md Added manual rollback for rollout --- _docs/deployment/applications-dashboard.md | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/_docs/deployment/applications-dashboard.md b/_docs/deployment/applications-dashboard.md index 219400709..241d9b810 100644 --- a/_docs/deployment/applications-dashboard.md +++ b/_docs/deployment/applications-dashboard.md @@ -583,6 +583,9 @@ You can: * [Monitor CI details by deployments](#monitor-ci-details-by-deployment) * [Monitor updated resources by deployment](#monitor-updated-resources-by-deployment) * [Monitor rollouts by deployment](#monitor-rollouts-by-deployment) +* [Manually rollback completed rollout to previous revision](#manually-rollback-completed-rollout-to-previous-revision) + + **How to monitor deployments** @@ -718,7 +721,41 @@ The table lists the controls in the Rollout Player to manage an ongoing rollout. | **Skip step** {::nomarkdown} {:/} | Skip execution of current step. Such steps are marked as Skipped in the rollout visualization. | | **Promote full rollout** {::nomarkdown} {:/} | Skip remaining pause, traffic routing, and analysis steps, and deploy the current release. | +#### Manually rollback completed rollout to previous revision + +Manually rollback a completed rollout to a previous revision when and if needed. If after a successful analysis run and rollout, your application is not functioning as it should, you can rollback to a prior revision from the Rollout’s revision history. The revision depth is determined by the `spec.revisionHistoryLimit` parameter in the [Rollout Specification](https://argoproj.github.io/argo-rollouts/features/specification/#rollout-specification){:target="\_blank"}. +Manual rollback changes the live state of the rollout resource to the state in the previous commit that you select. + +1. In the Codefresh UI, select [Applications](https://g.codefresh.io/2.0/applications-dashboard/list){:target="\_blank"}. +1. Select the application and select the **Timeline** tab. +1. Click the name of the rollout to rollback. + +{% include + image.html + lightbox="true" + file="/images/whats-new/rel-notes-jan23-rollout-rollback.png" + url="/images/whats-new/rel-notes-jan23-rollout-rollback.png" + alt="Completed Rollout in Timeline" + caption="Completed Rollout in Timeline" + max-width="60%" +%} + +{:start="4"} +1. From the **Choose version to Rollabck** dropdown, select the revision to rollback to. + +{% include + image.html + lightbox="true" + file="/images/whats-new/rel-notes-jan23-rollout-rev-select.png" + url="/images/whats-new/rel-notes-jan23-rollout-rev-select.png" + alt="Select rollout revision for rollback" + caption="Select rollout revision for rollback" + max-width="60%" +%} +{:start="5"} +1. Review the changes in the revision. +1. In the Rollout Player, click **Rollback to**. ##### View analysis run If you have defined an analysis template for the rollout, you can check the run results and the manifest. From 65c36f74e2b59415cbec58fcc53aaae29b3a745a Mon Sep 17 00:00:00 2001 From: NimRegev Date: Wed, 15 Feb 2023 08:41:17 +0200 Subject: [PATCH 2/2] Update applications-dashboard.md --- _docs/deployment/applications-dashboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/deployment/applications-dashboard.md b/_docs/deployment/applications-dashboard.md index 241d9b810..6a943ed5d 100644 --- a/_docs/deployment/applications-dashboard.md +++ b/_docs/deployment/applications-dashboard.md @@ -741,7 +741,7 @@ Manual rollback changes the live state of the rollout resource to the state in t %} {:start="4"} -1. From the **Choose version to Rollabck** dropdown, select the revision to rollback to. +1. From the **Choose version to Rollback** dropdown, select the revision to rollback to. {% include image.html