Tuesday, January 18, 2022

12 factors: Build - release - run

 Summary: 

Build: Application code gets converted into an artifact such as a war file. 

Release: the artifact now understands the environment - QA, Dev, Prod

Run: the app gets released in the specific environment. 



Characteristics

  • Strict separation between the build, release and run stages of the application. 
  • Every release must have a release id such as a timestamp or a incrementing number
  • 1-click release - using CI/CD tool. 


What should you do: 

  • Use a CI/CD tool, Jenkins, Concourse etc.,


Best Practices:

  • Create smoke tests to ensure the app is running fine after deployment. 

No comments:

Post a Comment