Skip to content

Commit 902edf7

Browse files
authored
Merge pull request #117 from maddevsio/semver
feat: Starting semver
2 parents 8bfc982 + ed5ea2c commit 902edf7

File tree

7 files changed

+273
-0
lines changed

7 files changed

+273
-0
lines changed

.chglog/CHANGELOG.tpl.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
6+
project adheres to [Semantic Versioning](http://semver.org/).
7+
8+
{{ if .Versions -}}
9+
<a name="unreleased"></a>
10+
## [Unreleased]
11+
{{ if .Unreleased.CommitGroups -}}
12+
{{ range .Unreleased.CommitGroups -}}
13+
{{ .Title }}:
14+
{{ range .Commits -}}
15+
{{- if .Subject -}}
16+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst }}
17+
{{ end -}}
18+
{{ end }}
19+
{{ end -}}
20+
{{ else }}
21+
{{ range .Unreleased.Commits -}}
22+
{{- if .Subject -}}
23+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst}}
24+
{{ end -}}
25+
{{ end }}
26+
{{ end -}}
27+
28+
{{- if .Unreleased.NoteGroups -}}
29+
{{ range .Unreleased.NoteGroups -}}
30+
{{ .Title }}:
31+
{{ range .Notes -}}
32+
- {{ .Body }}
33+
{{ end }}
34+
{{ end -}}
35+
{{ end -}}
36+
{{ end -}}
37+
38+
{{ range .Versions }}
39+
<a name="{{ .Tag.Name }}"></a>
40+
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
41+
{{ if .CommitGroups -}}
42+
{{ range .CommitGroups -}}
43+
{{ .Title }}:
44+
{{ range .Commits -}}
45+
{{- if .Subject -}}
46+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst }}
47+
{{ end -}}
48+
{{ end }}
49+
{{ end -}}
50+
{{ else }}
51+
{{ range .Commits -}}
52+
{{- if .Subject -}}
53+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject | upperFirst }}
54+
{{ end -}}
55+
{{ end }}
56+
{{ end -}}
57+
58+
{{- if .NoteGroups -}}
59+
{{ range .NoteGroups -}}
60+
{{ .Title }}:
61+
{{ range .Notes -}}
62+
- {{ .Body }}
63+
{{ end }}
64+
{{ end -}}
65+
{{ end -}}
66+
{{ end -}}
67+
68+
{{- if .Versions }}
69+
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
70+
{{ range .Versions -}}
71+
{{ if .Tag.Previous -}}
72+
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
73+
{{ end -}}
74+
{{ end -}}
75+
{{ end -}}

.chglog/config.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
style: github
2+
template: CHANGELOG.tpl.md
3+
info:
4+
title: CHANGELOG
5+
repository_url: https://github.com/maddevsio/aws-eks-base
6+
options:
7+
commits:
8+
sort_by: Type
9+
filters:
10+
Type:
11+
- feat
12+
- fix
13+
- improvement
14+
- docs
15+
- refactor
16+
- test
17+
- ci
18+
19+
commit_groups:
20+
group_by: Type
21+
sort_by: Custom
22+
title_order:
23+
- feat
24+
- improvement
25+
- refactor
26+
- fix
27+
- docs
28+
- test
29+
- ci
30+
title_maps:
31+
feat: FEATURES
32+
fix: BUG FIXES
33+
improvement: ENHANCEMENTS
34+
docs: DOCS
35+
refactor: REFACTORS
36+
test: TESTS
37+
ci: CI
38+
39+
header:
40+
pattern: "^(.+)\\s*:\\s*(.+)$"
41+
pattern_maps:
42+
- Type
43+
- Subject
44+
45+
notes:
46+
keywords:
47+
- BREAKING CHANGES
48+
- NOTES
49+
50+
refs:
51+
actions:
52+
- Closes
53+
- Fixes
54+
- Resolves

.github/CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish to make via issue,
4+
email, or any other method with the owners of this repository before making a change.
5+
6+
Please note we have a code of conduct, please follow it in all your interactions with the project.
7+
8+
## Pull Request Process
9+
10+
1. Ensure any install or build dependencies are removed before the end of the layer when doing a build.
11+
2. Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations, and container parameters.
12+
3. Once all outstanding comments and checklist items have been addressed, your contribution will be merged! Merged PRs will be included in the next release. The aws-eks-base maintainers take care of updating the CHANGELOG as they merge.
13+
14+
## Checklists for contributions
15+
16+
- [ ] Add [semantics prefix](#semantic-pull-requests) to your PR or Commits (at least one of your commit groups)
17+
- [ ] CI tests are passing
18+
19+
## Semantic Pull Requests
20+
21+
To generate changelog, Pull Requests or Commits must have semantic and must follow conventional specs below:
22+
23+
- `feat:` for new features
24+
- `fix:` for bug fixes
25+
- `improvement:` for enhancements
26+
- `docs:` for documentation and examples
27+
- `refactor:` for code refactoring
28+
- `test:` for tests
29+
- `ci:` for CI purpose
30+
- `chore:` for chores stuff
31+
32+
The `chore` prefix skipped during changelog generation. It can be used for `chore: update changelog` commit message by example.
33+

.github/ISSUE_TEMPLATE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# I have issues
2+
3+
## I'm submitting a...
4+
5+
* [ ] bug report
6+
* [ ] feature request
7+
* [ ] improvement request
8+
9+
## What is the current behavior?
10+
11+
12+
13+
## If this is a bug, how to reproduce? Please include a code sample if relevant.
14+
15+
16+
17+
## What's the expected behavior?
18+
19+
20+
21+
## Are you able to fix this problem and submit a PR? Link here if you have already.
22+
23+
## Environment details
24+
25+
* Affected module version:
26+
* OS:
27+
* Terraform version:
28+
29+
## Any other relevant info

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# PR o'clock
2+
3+
## Description
4+
5+
Please explain the changes you made here and link to any relevant issues.
6+
7+
### Checklist
8+
9+
- [ ] Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations, and container parameters.

.github/semantic.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Always validate the PR title, and ignore the commits
2+
titleOnly: true
3+
4+
# Always validate all commits, and ignore the PR title
5+
commitsOnly: false
6+
7+
# Always validate the PR title AND all the commits
8+
titleAndCommits: false
9+
10+
# Require at least one commit to be valid
11+
# this is only relevant when using commitsOnly: true or titleAndCommits: true,
12+
# which validate all commits by default
13+
anyCommit: false
14+
15+
# By default types specified in commitizen/conventional-commit-types is used.
16+
# See: https://github.com/commitizen/conventional-commit-types/blob/v2.3.0/index.json
17+
# You can override the valid types
18+
types:
19+
- feat
20+
- fix
21+
- improvement
22+
- docs
23+
- refactor
24+
- test
25+
- ci
26+
- chore
27+
28+
# Allow use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns")
29+
# this is only relevant when using commitsOnly: true (or titleAndCommits: true)
30+
allowMergeCommits: false

CHANGELOG.previous.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<a name="unreleased"></a>
2+
## [Unreleased]
3+
4+
5+
<a name="1.0.0"></a>
6+
## 1.0.0 - 2021-10-14
7+
### HotFix
8+
- add allowed_account_ids varialbe to layer2
9+
10+
### Pull Requests
11+
- Merge pull request [#116](https://github.com/maddevsio/aws-eks-base/issues/116) from maddevsio/Feature/add_depends_on_eks_modify_readme
12+
- Merge pull request [#115](https://github.com/maddevsio/aws-eks-base/issues/115) from maddevsio/Feature/aws_eks_addon_depends_on
13+
- Merge pull request [#111](https://github.com/maddevsio/aws-eks-base/issues/111) from maddevsio/Feature/eks_depends_on_vpc
14+
- Merge pull request [#110](https://github.com/maddevsio/aws-eks-base/issues/110) from maddevsio/eks-addons
15+
- Merge pull request [#104](https://github.com/maddevsio/aws-eks-base/issues/104) from maddevsio/tfsec
16+
- Merge pull request [#93](https://github.com/maddevsio/aws-eks-base/issues/93) from maddevsio/feature/k8s-secrets-encryption
17+
- Merge pull request [#58](https://github.com/maddevsio/aws-eks-base/issues/58) from maddevsio/feature/pinned-terragrunt-version
18+
- Merge pull request [#59](https://github.com/maddevsio/aws-eks-base/issues/59) from maddevsio/feature/terraform-utils
19+
- Merge pull request [#55](https://github.com/maddevsio/aws-eks-base/issues/55) from maddevsio/fix/filebeat-configuration
20+
- Merge pull request [#56](https://github.com/maddevsio/aws-eks-base/issues/56) from maddevsio/fix/aws-iam-s3
21+
- Merge pull request [#53](https://github.com/maddevsio/aws-eks-base/issues/53) from maddevsio/feature/add-depends-on
22+
- Merge pull request [#51](https://github.com/maddevsio/aws-eks-base/issues/51) from maddevsio/feature/update-terraform-and-terraform-providers
23+
- Merge pull request [#50](https://github.com/maddevsio/aws-eks-base/issues/50) from maddevsio/feature/change-log-level
24+
- Merge pull request [#47](https://github.com/maddevsio/aws-eks-base/issues/47) from maddevsio/ebs_encryption
25+
- Merge pull request [#46](https://github.com/maddevsio/aws-eks-base/issues/46) from maddevsio/ebs_encryption
26+
- Merge pull request [#44](https://github.com/maddevsio/aws-eks-base/issues/44) from maddevsio/count_of_helm_releases
27+
- Merge pull request [#38](https://github.com/maddevsio/aws-eks-base/issues/38) from maddevsio/fix/prometheus-stack
28+
- Merge pull request [#29](https://github.com/maddevsio/aws-eks-base/issues/29) from maddevsio/feature/Add-github-actions-ci
29+
- Merge pull request [#33](https://github.com/maddevsio/aws-eks-base/issues/33) from AntonGrushkin/antongrushkin
30+
- Merge pull request [#31](https://github.com/maddevsio/aws-eks-base/issues/31) from maddevsio/feature/variables-cleanup
31+
- Merge pull request [#24](https://github.com/maddevsio/aws-eks-base/issues/24) from maddevsio/feature/license-badge
32+
- Merge pull request [#23](https://github.com/maddevsio/aws-eks-base/issues/23) from maddevsio/fix/ru-readme
33+
- Merge pull request [#21](https://github.com/maddevsio/aws-eks-base/issues/21) from maddevsio/fix/prom-template-error
34+
- Merge pull request [#20](https://github.com/maddevsio/aws-eks-base/issues/20) from maddevsio/feature/adv-of-the-boiler
35+
- Merge pull request [#17](https://github.com/maddevsio/aws-eks-base/issues/17) from maddevsio/fix/digram-fix
36+
- Merge pull request [#16](https://github.com/maddevsio/aws-eks-base/issues/16) from maddevsio/fix/analytics
37+
- Merge pull request [#15](https://github.com/maddevsio/aws-eks-base/issues/15) from maddevsio/feature/analytics
38+
- Merge pull request [#13](https://github.com/maddevsio/aws-eks-base/issues/13) from maddevsio/pritunl_efs
39+
- Merge pull request [#11](https://github.com/maddevsio/aws-eks-base/issues/11) from maddevsio/fix_variable_for_aws_iam_policy_document
40+
- Merge pull request [#12](https://github.com/maddevsio/aws-eks-base/issues/12) from maddevsio/Tools_for_cubectl
41+
42+
43+
[Unreleased]: https://github.com/maddevsio/aws-eks-base/compare/1.0.0...HEAD

0 commit comments

Comments
 (0)