スキップしてコンテンツを表示

Rollback using CodePipeline

0

We can see the history now in CodePipeline. But what is the best way to rollback to or re-execute a pipeline from the history?

質問済み 9年前5560ビュー

6回答
0

Hello,

At this time there is no way to perform a rollback or re-execution from the CodePipeline History. While this is an active feature request for this, we recommend watch the What's New Blog[1] or announcements about CodePipeline Feature Releases.
[1] https://aws.amazon.com/new/#dev-tools

Regards,
Mohsin

AWS

回答済み 8年前

0

Two years on, still no sign of a rollback feature on the horizon. I mean, I would have thought being able to rollback is a fundamental part any pipeline tool; at least, any pipeline tool that wants to be taken seriously. Frankly the absence of this fundamental feature in 2020 still baffles me. What exactly is the thinking behind this?
My team was considering switching to CodePipeline and this is a very serious downside for us, and I don’t think we’ll be going ahead with CodePipeline because of the lack of this essential feature.

回答済み 7年前

0

I totally agree. It's a crucial functionality and it shouldn't be complex to implement by the pipeline team.

回答済み 6年前

0

This is a really surprising gap to run into with CodePipelines. CodeDeploy rollbacks are insufficient, as infra changes like IAM policy updates can cause issues sometimes and need rolling back. We really need to be able to rollback CFN updates. Even if the implementation is a roll-forward of a historical pipeline build artifact, that's fine.

回答済み 5年前

0

This is a bit of a ugly workaround, but what we do the following.

CodeCommit repo - used by the CodePipeline BitBucket repo - used by all developers daily

For deployment, we push all changes from the BitBucket repo into the CodeCommit repo (git mirror). This triggers the CI/CD and deployment goes on as expected.

Rollback: we reset the AWS CodeCommit repo (BitBucket repo remains untouched and developers can focus on fixing the cause which lead to the rollback in the first place) to a prev commit which does a new build and deploy but to a previous version of the code

回答済み 4年前

0

A long time but the AWS code pipeline allows now to override a revision, means you can re-run your pipeline using a previous revision

This functionality is available on code pipeline V2 and not V1

Reference documentation: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html

Unfortunately the v2 is not available via cdk but Cloudformation, you can use a CF resource to use v2 in cdk

回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ