-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from binbashar/BBL-275-repo-std-structure
BBL-275 | repo std structure
- Loading branch information
Showing
685 changed files
with
867,349 additions
and
729,031 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
{{ if .Versions -}} | ||
<a name="unreleased"></a> | ||
## [Unreleased] | ||
{{ if .Unreleased.CommitGroups -}} | ||
{{ range .Unreleased.CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
{{/* SKIPPING RULES - START */ -}} | ||
{{- if not (hasPrefix .Subject "Updated CHANGELOG") -}} | ||
{{- if not (contains .Subject "[ci skip]") -}} | ||
{{- if not (contains .Subject "[skip ci]") -}} | ||
{{- if not (hasPrefix .Subject "Merge pull request ") -}} | ||
{{- if not (hasPrefix .Subject "Added CHANGELOG") -}} | ||
{{- /* SKIPPING RULES - END */ -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{/* SKIPPING RULES - START */ -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{/* SKIPPING RULES - END */ -}} | ||
{{ end }} | ||
{{ end -}} | ||
{{ else }} | ||
{{ range .Unreleased.Commits -}} | ||
{{/* SKIPPING RULES - START */ -}} | ||
{{- if not (hasPrefix .Subject "Updated CHANGELOG") -}} | ||
{{- if not (contains .Subject "[ci skip]") -}} | ||
{{- if not (contains .Subject "[skip ci]") -}} | ||
{{- if not (hasPrefix .Subject "Merge pull request ") -}} | ||
{{- if not (hasPrefix .Subject "Added CHANGELOG") -}} | ||
{{- /* SKIPPING RULES - END */ -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{/* SKIPPING RULES - START */ -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{/* SKIPPING RULES - END */ -}} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{ range .Versions }} | ||
<a name="{{ .Tag.Name }}"></a> | ||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} | ||
{{ if .CommitGroups -}} | ||
{{ range .CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
{{/* SKIPPING RULES - START */ -}} | ||
{{- if not (hasPrefix .Subject "Updated CHANGELOG") -}} | ||
{{- if not (contains .Subject "[ci skip]") -}} | ||
{{- if not (contains .Subject "[skip ci]") -}} | ||
{{- if not (hasPrefix .Subject "Merge pull request ") -}} | ||
{{- if not (hasPrefix .Subject "Added CHANGELOG") -}} | ||
{{- /* SKIPPING RULES - END */ -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{/* SKIPPING RULES - START */ -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{/* SKIPPING RULES - END */ -}} | ||
{{ end }} | ||
{{ end -}} | ||
{{ else }} | ||
{{ range .Commits -}} | ||
{{/* SKIPPING RULES - START */ -}} | ||
{{- if not (hasPrefix .Subject "Updated CHANGELOG") -}} | ||
{{- if not (contains .Subject "[ci skip]") -}} | ||
{{- if not (contains .Subject "[skip ci]") -}} | ||
{{- if not (hasPrefix .Subject "Merge pull request ") -}} | ||
{{- if not (hasPrefix .Subject "Added CHANGELOG") -}} | ||
{{- /* SKIPPING RULES - END */ -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{/* SKIPPING RULES - START */ -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{/* SKIPPING RULES - END */ -}} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .NoteGroups -}} | ||
{{ range .NoteGroups -}} | ||
### {{ .Title }} | ||
{{ range .Notes }} | ||
{{ .Body }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{- if .Versions }} | ||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD | ||
{{ range .Versions -}} | ||
{{ if .Tag.Previous -}} | ||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
style: github | ||
template: CHANGELOG.tpl.md | ||
info: | ||
title: CHANGELOG | ||
repository_url: https://github.com/binbashar/terraform-aws-certbot-lambda | ||
options: | ||
header: | ||
pattern: "^(.*)$" | ||
pattern_maps: | ||
- Subject | ||
notes: | ||
keywords: | ||
- BREAKING CHANGE |
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 |
---|---|---|
@@ -0,0 +1,100 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
# | ||
# Test 1 & Test 2 | ||
# | ||
test-static-code-and-linting: | ||
machine: | ||
image: ubuntu-1604:201903-01 # Ubuntu 16.04, docker 18.09.3, docker-compose 1.23.1 | ||
|
||
# This job has been blocked because Docker Layer Caching is not available on your plan. | ||
# Should upgrade if necessary. | ||
docker_layer_caching: false | ||
|
||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Context Info Cmds | ||
command: pwd && ls -ltra && git branch | ||
|
||
- run: | ||
name: test1-terraform-format | ||
command: make format-check | ||
|
||
- run: | ||
name: Configure awscli | ||
command: | | ||
echo "AWS_ACCESS_KEY_ID - $AWS_ACCESS_KEY_ID" | ||
echo "AWS_PROFILE_NAME - $AWS_PROFILE_NAME" | ||
# AWS defautl awscli profile | ||
aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID | ||
aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY | ||
aws configure set region us-east-1 | ||
aws configure set output json | ||
# AWS dev awscli profile | ||
aws configure set role_arn arn:aws:iam::$AWS_ACCOUNT_ID_SHARED:role/DeployMaster --profile $AWS_PROFILE_NAME | ||
aws configure set source_profile default --profile $AWS_PROFILE_NAME | ||
- run: | ||
name: test2-terraform-linting | ||
command: make tflint-deep | ||
|
||
# | ||
# Release | ||
# | ||
release-version-with-changelog: | ||
machine: | ||
image: ubuntu-1604:201903-01 | ||
docker_layer_caching: false | ||
|
||
environment: | ||
VERSION_NUMBER: patch # opts: patch, minor or major. | ||
|
||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Context Info Cmds | ||
command: pwd && ls -ltra && git branch | ||
|
||
- run: | ||
name: Release New Version | ||
command: | | ||
if git status | grep 'nothing to commit, working tree clean'; then | ||
echo "===============================================================================================" | ||
echo "release-$VERSION_NUMBER-with-changelog-circleci" | ||
echo "===============================================================================================" | ||
git config --global user.email "$GIT_USER_EMAIL" | ||
git config --global user.name "$GIT_USER_NAME" | ||
make -f Makefile.release release-$VERSION_NUMBER-with-changelog-circleci | ||
else | ||
echo "===============================================================================================" | ||
echo "Changes in working directory pending to be pushed - please check 'git status' cmd output below " | ||
echo "===============================================================================================" | ||
echo "$(git status)" | ||
echo "===============================================================================================" | ||
fi | ||
# | ||
# Jobs workflow | ||
# | ||
workflows: | ||
version: 2 | ||
test_and_release: | ||
jobs: | ||
- test-static-code-and-linting: | ||
context: binbashar-org-global-context | ||
filters: | ||
branches: | ||
ignore: # only branches matching the below regex filters will run | ||
- master | ||
- release-version-with-changelog: | ||
context: binbashar-org-global-context | ||
filters: | ||
branches: | ||
only: # only branches matching the below regex filters will run | ||
- master |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://github.com/awslabs/git-secrets | ||
README.md | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Use this file to define individuals or teams that are responsible for code in a repository. | ||
# Read more: <https://help.github.com/articles/about-codeowners/> | ||
|
||
* @binbashar/leverage-project-terraform-admin | ||
* @binbashar/leverage-project-terraform-dev |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: 'bug' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Describe the Bug | ||
A clear and concise description of what the bug is. | ||
|
||
## Expected Behavior | ||
A clear and concise description of what you expected to happen. | ||
|
||
## Steps to Reproduce | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Run '....' | ||
3. Enter '....' | ||
4. See error | ||
|
||
## Screenshots | ||
If applicable, add screenshots or logs to help explain your problem. | ||
|
||
## Environment (please complete the following information): | ||
|
||
Anything that will help us triage the bug will help. Here are some ideas: | ||
- OS: [e.g. Linux, OSX, WSL, etc] | ||
- Version [e.g. 10.15] | ||
|
||
## Additional Context | ||
Add any other context about the problem here. |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
|
||
contact_links: | ||
|
||
- name: DevOps Cloud Services Program | ||
url: https://www.binbash.com.ar | ||
about: |- | ||
At Binbash Leverage, our focus is on creating reusable, high quality infrastructure code, such as our Reference AWS Cloud Solutions Architecture backed by our DevOps Automation Code Library. |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: 'feature request' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Describe the Feature | ||
|
||
A clear and concise description of what the bug is. | ||
|
||
## Expected Behavior | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
## Use Case | ||
|
||
Is your feature request related to a problem/challenge you are trying to solve? Please provide some additional context of why this feature or capability will be valuable. | ||
|
||
## Describe Ideal Solution | ||
|
||
A clear and concise description of what you want to happen. If you don't know, that's okay. | ||
|
||
## Alternatives Considered | ||
|
||
Explain what alternative solutions or features you've considered. | ||
|
||
## Additional Context | ||
|
||
Add any other context or screenshots about the feature request here. |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## what | ||
* Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?) | ||
* Use bullet points to be concise and to the point. | ||
|
||
## why | ||
* Provide the justifications for the changes (e.g. business case). | ||
* Describe why these changes were made (e.g. why do these commits fix the problem?) | ||
* Use bullet points to be concise and to the point. | ||
|
||
## references | ||
* Link to any supporting github issues or helpful documentation to add some context (e.g. stackoverflow). | ||
* Use `closes #123`, if this PR closes a GitHub issue `#123` | ||
|
Oops, something went wrong.