Hotfix Pipelines

Photo by ismail mohamed - SoviLe on Unsplash , content source
Sample hotfix pipeline

Model1:

Model1 CI/CD model
Hotfix pipeline for Model1
  • Create a branch, say hotfix_xxx from master(master branch has always code that can build identical to the latest production build)
  • Once a PR is raised against master, an ephemeral environment can be provisioned identically to production environment. An ephemeral environment means a transient/temporary environment which can be destroyed post hotfix deployment
  • Deploy the hotfix_xxx branch based build onto the ephemeral environment created in the previous step
  • Run the smoke test or if any pre-defined hotfix regression test
  • If all goes well , promote the build in ephemeral environment to production
  • Once hotfix is deployed to production, merge the hotfix code to master branch and delete the ephemeral environment
  • (Optional step) Before promoting to production, manual test the hotfix.

Example2:

Model2 CI/CD model
Hotfix pipeline for Model2
  • Create a branch say hotfix_xxx from the latest production release tag in master. Eg:- git checkout -b newbranch v3.0 (v3.0 tag has always code that can build identical to the current production build)
  • Once a PR is raised against master, an ephemeral environment can be provisioned identical to production environment.
  • Deploy the hotfix_xxx branch based build onto the ephemeral environment created in the previous step
  • Run the smoke test or if any pre-defined hotfix regression test
  • If all goes well, promote the build in ephemeral environment to production
  • Once hotfix is deployed to production, delete the ephemeral environment
  • (Optional step) Before promoting to production, manual test the hotfix.

--

--

--

Software Engineering Leader. I’m passionate about leadership, building products, platforms, teams, investing, learning new things.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Google App Engine

Combining best practices is not always a best practice

Calculating the Total Value ($) of Services Delivered

When the mantra “Do what you love, and you’ll never work another day in your life.” does not work.

The API Economy

Easily compare data using Pandas

String — An array of characters with ‘\0’

Develop your first python app for decentralized Stellar network

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vinay Kanamarlapudi

Vinay Kanamarlapudi

Software Engineering Leader. I’m passionate about leadership, building products, platforms, teams, investing, learning new things.

More from Medium

Configuration As Code and How to Use It Successfully

What a Developer Should Know About DevOps?

9 DevOps Best Practices — What You Should Do and NOT Do

What Is DevOps? — An Introduction To DevOps