Bradltr95 / spring-boot

Spring boot project for writing APIs and connecting to a DB using Docker.
MIT License
2 stars 0 forks source link

Add Automation and CI/CD to the Project #5

Open Bradltr95 opened 1 month ago

Bradltr95 commented 1 month ago

Current Situation

Currently, the project does not have any automated testing or CI/CD setup.

Plan for Automation

Plan for CI/CD

Goal

To establish a basic but extendable automation and CI/CD pipeline, ensuring code quality and early bug detection for all future development.

Trello Board

https://trello.com/b/ZrYOMyaI/engineer-crud-service

Bradltr95 commented 1 month ago

Some unit testing has been implemented for the SoftwareEngineer and SoftwareEngineerController classes as per the following PR:https://github.com/Bradltr95/spring-boot/pull/11

Bradltr95 commented 1 month ago

Additional work has been completed to do initial integration of RestAssured and TestNG through the following pr:https://github.com/Bradltr95/spring-boot/pull/13

Bradltr95 commented 1 month ago

The following PR:https://github.com/Bradltr95/spring-boot/pull/14 addresses the final issue which is implementing a workflow pipeline for CI/CD which will run our tests to verify deployments.

Bradltr95 commented 1 month ago

For visibility, I'll leave this open.

Bradltr95 commented 1 month ago

Some final changes that completed the RestAssured and TestNG integration can be found here: https://github.com/Bradltr95/spring-boot/pull/19

The pipeline is now running for all merges and PRs to develop or main. This means all tests will be run and linting will be applied.