How to test independent branches online

description

first, let"s briefly introduce our current situation. When the project is deployed on heroku, there is a prod branch, a staging branch, and a local next branch. The next branch is mainly used to merge everyone"s code and deploy it to staging and prod. We usually deploy it to staging for testing first, but now there is a problem, that is, when there are many tasks, there will be several branches in the team. How can only a few branches be deployed separately to staging for testing without affecting each other?

Jul.11,2021

it is understood that prod is already the version of release, while staging is testing and preparing the version of release. It is not very clear how your project process is planned, generally speaking, just deploy the development version to the test server, merge it into staging, after the development test, and let the testers continue. After the staging has passed, just wait for the cycle to go online and deploy the prod. Testing which version is deployed on the server is just a matter of switching branches, and it doesn't affect each other.

Menu