How to organize deployment and tests?

Hello!

Situation:
- Developed several web projects in php/mysql/vue/js repository in Bitbacket, deploy via teamcity
Practically there is no distinction between the branches
- No auto tests
- Docker is not being used
- the team is small, dedicated qa no

Task:
- To translate the development branch
- Each branch automatically create a separate web environment in a test environment for visual testing
- Implement automated tests and run them for each commit

Solution:
To deploy TeamCity to do that every time you commit:
- Determines in which branch the commit was
I love everything about this branch from the repository
- Runs the test Suite using docker for this thread on a domain: branch-name.test.domain.com (if entourage is already running, kill the old and starts new)
- Performs tests and, accordingly, signals the success of their performance (or separate commands via teamsite, or script tokenfile)

Optimal this decision?
April 3rd 20 at 18:29
0 answer

Find more questions by tags GitDeploymentTeamCityDocker