Skip to content

aws-samples/dynamic_hotfix_codepipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dynamic Pipeline Management for Hot-fix Solution Deployment

This pattern describes how to deploy a hot-fix to a production environment securely using dynamic pipelines. A hot-fix is typically deployed to address critical or security issues reported in a live environment, such as Production.

This pattern helps address a scenario of managing a dynamic hot-fix AWS CodePipeline dedicated solely to deploying hot-fixes. The hot-fix pipeline is automatically created when a hotfix branch is created and deleted when the hotfix branch is deleted. The solution is implemented using an AWS Service Catalog Product, which is launched or terminated based on an Amazon EventBridge rule. The AWS CodePipeline can deploy the application only once. This restriction is enforced within the AWS CodePipeline stage using a custom AWS Lambda function (Pull Request Setup).

This pattern is designed for environments with the following setup:

A Gitflow setup is adopted for the development workflow in the CI/CD process. The pipelines follow the deployment cycle starting from development → QA → stage → production environments. There are two long-lived git branches in the CI/CD setup with promotional deployments to environments as follows:

develop → Development Environment

main → QA → Stage(Pre-Production) → Production environments 

Note: Please follow the AWS Prescriptive Guidance for further instructions on how to use the code sample

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •