The Twelve-Factor method
First, let us get familiar with the Twelve-Factor method. Along with the twelve core factors for this methodology, we have also described some additional fundamental factors in Table 4.1:
Table 4.1 – Extended Twelve-Factor methodology for cloud-native development
In the following subsections, we will describe different cloud-native application development methodology factors.
Code base
A single code base is used as the single source of truth. There are different patterns for using a single code base. In this section, we describe a relatively conservative approach. Instead of making the master the parent branch for development, a second branch is created for development. Pushing to both the development and master branch must be peer-reviewed. Any developer in the application development team can branch out from a dedicated branch for development, as shown Figure 4.1.
Figure 4. 1 ...