Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

522
Visualizações
Deploy previous version in AWS Codepipeline

I am new to AWS and trying to create a pipeline for CICD. Stages involved in my pipeline are:

  1. Source -> Codecommit
  2. Build -> Codebuild project
  3. Deploy using Cloudformation

I am able to complete the pipeline and deployment is successful. But I am struggling to implement a rollback procedure with this. How to deploy previous version without making a code revert in the repository? Any help regarding this?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

I changed the pipeline configuration a bit and now I am able to deploy any version from history. Below is the solution:

  1. Source -> Codecommit
  2. Build -> Codebuild project
  3. Deploy using CodeDeploy instead of Cloudformation

Now, deployment history can be triggered at any time. Pick the version from the history in the deployments under code deploy and retry deployment.

over 4 years ago · Santiago Trujillo Relatório

0

Unfortunately there is currently no rollback step for CodePipeline, traditionally people would rollback by reverting the change from their master branch (which is meant to represent the state of live).

If you're unable to do this revert, then you will need to manage the rollback either from a different service or different pipeline.

As you're using CloudFormation you could take a look at implementing Rollback Triggers which would monitor the status of an alarm. If the alarm fails then it could rollback and fail the pipeline.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda