Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the purpose of master branch? #695

Open
CiucurDaniel opened this issue Jun 26, 2023 · 0 comments
Open

What is the purpose of master branch? #695

CiucurDaniel opened this issue Jun 26, 2023 · 0 comments

Comments

@CiucurDaniel
Copy link

CiucurDaniel commented Jun 26, 2023

Currently in this repository I see the following branches:

  • dev (as default)
  • master
  • prod

To my understanding on a strategy where we have on env per branch, we make a change on dev, if everything if fine we then create a PR promoting changes to next env, in this case prod.

  1. In this case why we have master ? What purpose does it serve in the workflow?

  2. Besides that I'm curious in this approach:
    How we update a value in terraform.tfvars for prod?
    Because if we need to keep branches in sync to promoted changes I guess we cannot directly commit to prod. Instead my assumption is that even if we change just a value to prod we have to actually submit it to dev and "promote" it with a PR to prod so the branches remain in sync. Is my assumption correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant