Trying to wrap my mind around a CI/CD workflow.
I know some of this is subjective but what I'm trying to gather is how some of these concepts fit together?
This is my current understanding. Please poke holes in it:
- Developer works off a feature branch
- Developer runs test locally and creates a Pull Request
- Reviewer pulls down feature branch and runs it manually
- Review approves PR and merges into develop
- Automated tests are ran
- Dev is deployed
- When ready to release, a PR is created for Prod
- dev is merged to master and automated tests are run again
- master is deployed to production env
So my questions are:
- Would you generally create a hook to run automated tests before the developer even pushes their feature branch to remote? Or is running automated tests at every step of the way overkill?
- On the initial pull request, would the reviewer generally review the changes locally or would you deploy it to a server first?
submitted by /u/benjamhawk
[link] [comments]
from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/3Fnu8xb