Skip to content

24ping/ProjectCDCI

Repository files navigation

CI/CD concept

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.

Assumption

  • The developer and the boss are the same the person.
  • The boss has two branches : {main, Dev}.
  • The developer has access to both branches.

Steps

  • Before source stage
  • Source stage
  • Build stage
  • Test stage
  • Release stage

Before-Source stage 💻

Main idea

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.

Steps

  • Create Readme file or any file.
  • Install Pre-commits check within the IDE.
  • Push your code to Dev branch.
  • Create Branch protection rule
  • Merge your code with the main branch.

Source-Stage:

Main idea

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.

Actions

  • 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 source branch with the main branch

About

This project represents the process of starting a CI/CD pipeline from a new developper perspective

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published