Source code-centric approach
The source code-centric approach is the second one we would like to introduce. As the name suggests, the source code (or repository) is your single source of truth in this approach.
An implementation would export the solution from development and unpack it to the repository. When the solution should be deployed to the downstream environment, the solution ZIP file is packed from the repository and deployed to the target environment.
This approach does require some kind of automation through pipelines. It is not really possible to do this manually. However, it is possible to introduce it after the environment-centric approach has been used earlier.
The following figure explains this approach. There is no direct relation between the environments. Everything moves through the repository.
Figure 7.2 – Environment structure and flow of the source code-centric approach
Advantages and disadvantages
This approach...