Skip to content

Commit 18eb96d

Browse files
committed
docs(README): #354 update versioning heading in README
docs(what-to-expect-next): #354 update the section docs(what-to-expect-next): #354 add generic issue template
1 parent 64fd911 commit 18eb96d

File tree

6 files changed

+66
-19
lines changed

6 files changed

+66
-19
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "Bug Report"
33
about: "Report a bug or unexpected behavior in the Spring Boot microservice"
4-
title: "bug(scope) - Short description of the issue"
4+
title: "bug(scope) - short description of the issue"
55
labels: "bug"
66
assignees: ""
77

.github/ISSUE_TEMPLATE/document_improvement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "Documentation Improvement"
33
about: "Suggest an improvement or correction to the project's documentation"
4-
title: "docs(scope) - Short description of the documentation issue"
4+
title: "docs(scope) - short description of the documentation issue"
55
labels: "documentation"
66
assignees: ""
77

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This can be anything from CI tool integration, Security feature (use Security-De
2222
## Benefits
2323
<!-- Describe the benefits of this feature and why it should be prioritized. -->
2424

25-
### Example
25+
## Example
2626
<!-- - Provide examples of how the feature will work or how it will be used, if possible. -->
2727

2828
## Additional Information
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: "Generic Report"
3+
about: "Request a change that does not classify with other issue types"
4+
title: "chore(scope) - brief description of the requested change"
5+
labels: "vulnerabilities"
6+
assignees: "good first issue"
7+
8+
---
9+
10+
## Description
11+
<!--
12+
A clear and concise description of the request in this repository.
13+
This request template should only be used in case when the request type do not match other issue types.
14+
-->
15+
16+
## Use Case
17+
<!-- Describe the problem or use case you're trying to solve with this feature. -->
18+
19+
## Additional Information
20+
<!-- Any other details, mockups, or context that may help in understanding the request. -->

.github/ISSUE_TEMPLATE/security_vulnerability_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "Security Vulnerability Report"
33
about: "Report a potential security vulnerability in the Spring Boot microservice repository"
4-
title: "security(scope) - Brief description of the vulnerability"
4+
title: "security(scope) - brief description of the vulnerability"
55
labels: "vulnerabilities"
66
assignees: ""
77

@@ -23,7 +23,7 @@ assignees: ""
2323
## Suggested Mitigation or Fix
2424
<!-- If known, provide any suggestions for mitigating the vulnerability or fixing the issue. -->
2525

26-
### CVSS Score (Optional)
26+
## CVSS Score (Optional)
2727
<!-- If you are aware of the Common Vulnerability Scoring System (CVSS) score, please include it to help assess the severity. -->
2828

2929
## Additional Information

README.md

Lines changed: 41 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,8 @@ In this section we are going to explore [OWASP ZAP](https://www.zaproxy.org/docs
552552
-t [TARGET_REST_API] -g gen.conf -r pentest-report.html
553553
```
554554
555-
| Parameter | Description |
556-
|-----------------|:---------------------------------------- |
555+
| Parameter | Description |
556+
|-----------------|:-----------------------------------------|
557557
| $(pwd) | Directory where report will be generated |
558558
| zap-baseline.py | Zap's python script |
559559
| -t [TARGET_URL] | URL to be Pen Tested |
@@ -1061,22 +1061,49 @@ Cloud Run is available in below two flavours:
10611061
10621062
### What to Expect Next!
10631063
1064-
As the world of software engineering is evolving so we do.<br/>
1065-
Listing down some of the exciting features am going to work on and update the GitHub in coming days, they are:
1064+
As software engineering continues to evolve, we do too.
10661065
1067-
- GitHub Actions
1068-
- Chaos Monkey
1069-
- Hystrix
1070-
- CORS (Cross-Origin)
1066+
All planned tasks for this repository are tracked in the [GitHub Issues](https://github.com/abhisheksr01/spring-boot-microservice-best-practices/issues) section.
1067+
1068+
If you'd like to propose new work or enhancements for this repository, please create a **New Issue** using the appropriate issue type.
10711069
10721070
### Versioning
10731071
1074-
We use [SemVer](http://semver.org/) for versioning. For the versions
1075-
available, see the
1076-
[tags on this repository](https://github.com/your/project/tags).
1072+
We use [Cocogitto](https://github.com/cocogitto/cocogitto) for releasing [Semantic SemVer](http://semver.org/) versioned GitHub releases in this repository.
10771073
1078-
### License
1074+
Check the [Releases](https://github.com/abhisheksr01/spring-boot-microservice-best-practices/releases) section in repository to know the latest releases.
1075+
1076+
The GitHub releases are automated in the GHA CI based on [Cocogitto's conventional commit types](https://docs.cocogitto.io/guide/commit.html).
1077+
1078+
<details>
1079+
1080+
<summary>Clicks here for details on this repository automated the releases.</summary>
1081+
1082+
#### GHA CI release flow
10791083
1080-
This project is licensed under the MIT License - see the
1081-
[LICENSE.md](LICENSE.md) file for details
1084+
- When a change is committed to the repository with conventional commit type the GHA CI pipeline is triggered
1085+
- The `docker-build-push` job `cog-bump` step validates whether a version bump is required or not and if required then calculates the new version based on conventional commit type
1086+
- In the `docker-build-push` job we pass an dryrun argument to `cog-bump` step which only provides the version to be bumped.
1087+
- Then we build the image with this new version and test the changes.
1088+
- Once all the changes are verified in the CI we publish the latest version tags and publish a GitHub release with all the relevant changes.
1089+
1090+
</details>
1091+
1092+
- We utilize [Cocogitto](https://github.com/cocogitto/cocogitto) to automate the process of creating [Semantic SemVer](http://semver.org/) GitHub releases for this repository.
1093+
- For information on the latest [releases](https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases), please visit the Releases section of the repository.
1094+
- The release process is automated through GitHub Actions (GHA CI), following [Cocogitto's conventional commit types](https://docs.cocogitto.io/guide/commit.html)..
1095+
1096+
<details>
1097+
<summary>Click here for details on how the releases are automated in this repository.</summary>
1098+
1099+
#### GHA CI Release Process
1100+
- When a commit is made with a conventional commit type, the GHA CI pipeline is triggered.
1101+
- After all the validations the **docker-build-push** job runs the cog-bump step, which checks whether a version bump is necessary. If a bump is needed, it calculates the new version based on the conventional commit type.
1102+
- During this process, we pass a `dry-run: true` argument to the **cog-bump** step to only calculate (but not apply) the version bump.
1103+
- The CI pipeline then builds the Docker image with the new version and tests the changes.
1104+
- Once the changes are verified, the **create-release** job publishes new tags with bumped current version and a GitHub release is created.
1105+
</details>
1106+
1107+
### License
10821108
1109+
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

0 commit comments

Comments
 (0)