diff --git a/admin/cipipeline/phase1.drawio.png b/admin/cipipeline/phase1.drawio.png index 345eda1..6989a35 100644 Binary files a/admin/cipipeline/phase1.drawio.png and b/admin/cipipeline/phase1.drawio.png differ diff --git a/admin/cipipeline/phase1.md b/admin/cipipeline/phase1.md index d8d900b..046ee84 100644 --- a/admin/cipipeline/phase1.md +++ b/admin/cipipeline/phase1.md @@ -1,8 +1,12 @@ # CI/CD Phase 1 +## Overall Pipeline Architecture + +Rather than create one large pipeline with many steps which increases complexity, we decided to create many small independent pipelines which work in parallel to conduct code quality checking. Using this strategy, if any one pipeline has issues, we can still continue development without delay, and the quality of code is likely to remain high. + ## Overview of Pipeline Features -We've identified 4 major features which we definitely want to implement in the CI/CD pipeline. +We've identified 5 major features which we definitely want to implement in the CI/CD pipeline. - Deployment - Unit Testing @@ -10,6 +14,23 @@ We've identified 4 major features which we definitely want to implement in the C - End To End Validation - Manual Validation +We created this diagram to demonstrate our strategy of multiple simple pipelines. + +![Pipeline Diagram](phase1.drawio.png) + ## Finished Features and Implementation +So far the features listed below have been completed to some degree: + +- Deployment + - Implemented: action triggered on any push to main, uses the github pages action to publish the app + - ToDo: Add minifications ste between trigger and github pages action +- Unit Testing + - Implemented: action triggers on any PR, uses mocha to perform unit testing on core components + - ToDo: trigger workflow only on certain PRs which relate to JS code +- Linting (JS) + - Implemented: ction triggers on any PR, uses eslint to perform style enforcement on all JS components + - ToDo: trigger workflow only on certain PRs which relate to JS code + + ## Planned Features and Timeline \ No newline at end of file