-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail tests when code coverage is reduced. Start documentation.
- Loading branch information
Showing
4 changed files
with
66 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,47 @@ | ||
# Branch deploy | ||
|
||
This repository holds two code bases: | ||
- Application, developed by a software team | ||
- Control plane, that allows easy deployments of the application | ||
|
||
## Application | ||
|
||
Main focus is to provide the development team strong CI: | ||
- Secure | ||
- Flexible | ||
- Highly automated | ||
- Fast | ||
|
||
| | Push to main | Push on other branches | Pull requests | | ||
|--------------------------------------------------------------------------------------------------------------|--------------|------------------------|---------------| | ||
| [Gitleaks](https://github.com/DvDty/branch-deploy/blob/main/.github/workflows/main-branch-build.yaml#L8-L26) | ✅ | ✅ | ✅ | | ||
| [Code linter](https://github.com/DvDty/branch-deploy/blob/main/.github/workflows/main-branch-build.yaml#L28-L64) | | | ✅ | | ||
| Build docker image | ✅ | ✅ | ✅ | | ||
| Push image to Docker Hub | ✅ | ✅ | | | ||
| Scan image before pushing | ✅ | | ✅ | | ||
| Unit tests | ✅ | | ✅ | | ||
| Feature tests | ✅ | | ✅ | | ||
| Static code analysis | ✅ | | ✅ | | ||
| Sonar Cloud analysis | ✅ | | ✅ | | ||
| Database migrations | ✅ | | ✅ | | ||
| Check code coverage | ✅ | | ✅ | | ||
| Store code coverage report | ✅ | | | | ||
| Deploy to minikube | ✅ | | ✅ | | ||
|
||
|
||
### Gitleaks | ||
Example with leaked api key: | ||
|
||
 | ||
|
||
Notification in slack: | ||
|
||
 | ||
|
||
### Code linter | ||
 | ||
|
||
 | ||
|
||
 | ||
|
||
 |