In this project, the main idea is to develop a modern CI/CD concept. The idea will starts by a developer who tries to go through the CI/CD steps.
- The developer and the boss are the same the person.
- The boss has two branches : {main, Dev}.
- The developer has access to both branches.
- Before
sourcestage -
Sourcestage -
Buildstage -
Teststage -
Releasestage
This is the first phase where the developer in the Dev branches tries to push his code to the boss repo. However he must follow some steps.
Please refer to Before-Source-Branch-Documentation for more information.
- Create
Readmefile or any file. - Install
Pre-commitscheck within the IDE. - Push your code to
Devbranch. - Create Branch protection rule
- Merge your code with the
mainbranch.
This is the step where the actual code resides for development following best practices. Moreover, during this phase these were the actions implemented and linked to the new branch source.
Please refer to Source-Branch-Documentation for more information.
- Create new branch for code development.
- Initialize a file structure for the code.
- Include the project code following OOP best practices.
- Implement GitHub Actions
- Implement new linting mechanisms
- Implement new branch protection rules
- Document the actions token for this branch in a
Source-Stage.md - Merge the
sourcebranch with themainbranch