-
Notifications
You must be signed in to change notification settings - Fork 35
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
Re-define branching model #181
Comments
To lessen the risk to have unwanted code deployed to production, we should probably set it up on a tag push, either iterative release tags or simply a Let's imagine this branching model:
|
Quickly checking Netlify capacities, it seems that it's not possible to trigger deployments on tags (example discussion: mochajs/mocha#3206). The way the service reacts seems more close to the GitLab flow where branches are named per environments. Let's imagine this variant:
|
in your approach, this would make I would consider the following pattern:
|
@renestalder I am fine with your suggestion. I would have preferred to use tags (and drop the |
Is there anything else to be done? |
I think the way It currently is with simply just deploying master automatically does the job IMHO. |
Closing since there's nothing else to be done. |
Currently,
master
is deploying to production. @retoinniger now changed the default branch torelease/1.1
for the moment, so that it's less of a risk to accidentally make changes onmaster
. Also,master
is now protected, so only pull requests can make changes to it and at least one review is enforced for a merge to take place.For the next release, we should establish a branching default. Common patterns are develop/master/feature branches (Git flow), master/production/feature branches (GitLab flow).
The text was updated successfully, but these errors were encountered: