justAnotherProgrammmmer / springBoot.github.aws

Projects to take advantages of aws-github-springBoot integration
0 stars 0 forks source link

Finalize scope/function of different branches #12

Open secondincommanddeveloper opened 1 year ago

secondincommanddeveloper commented 1 year ago

This is what have in out mind as a function of our branches

  1. dev - default branch.

    • All developers should create branches from this branch and commit to this branch only. If a commit is done on other branches without it being passed on dev, it will rejected without any considerations.
    • All static code analyzers should pass on dev for it to be a valid pull request
    • dev will always has latest code no matter what
  2. qa - branch for testing

    • Application testing
    • ci/cd testing and/or changes in its config
    • if anything fails here, code will not be pushed to master
  3. master - branch for production deployment

    • This will have actual ci/cd pipeline. Code will go to aws directly once a pull request is done.
    • Ideally, everything works here and no testing is required.
secondincommanddeveloper commented 1 year ago

Lets review this and finalize.