-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/BBL-440 | ci improvement #1
Merged
+144
−6
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
729f946
BBL-440 | adding .gitallow to for aws git-secrets to allow acount IDs…
exequielrafaela 49fc58e
BBL-440 | adding .gitallowed patterns
exequielrafaela f1124d0
BBL-440 | updating circleci config to run pre-commit format + tf-docs…
exequielrafaela 6678aaf
BBL-440 | fixing circleci/config.yaml
exequielrafaela 3f9b3a2
BBL-440 | fixing circleci/config.yaml
exequielrafaela 40ff4fe
BBL-440 | fixing circleci/config.yaml paths
exequielrafaela 9a3f292
BBL-440 | including makefile for tf-lint validation
exequielrafaela e317b4a
BBL-440 | testing slack orb int
exequielrafaela a0fee0e
BBL-440 | adding context to slack notify cmd
exequielrafaela 658cb1f
BBL-440 | removing not necessary context
exequielrafaela 0b84e52
BBL-440 | testing custom slack message
exequielrafaela aabebb6
BBL-440 | slack channel globally seted via context
exequielrafaela a75acfa
BBL-440 | explicitely setting tool-ci channel to circle slack notif
exequielrafaela b916380
BBL-440 | testing with single quotes
exequielrafaela add06df
BBL-440 | using default templates for notifications
exequielrafaela 1934bfc
BBL-440 | testing slack notif orbs
exequielrafaela e68b9d6
BBL-440 | removing heroku notif because of permission errors
exequielrafaela 62d725d
BBL-440 | rolling back to official circleci orb
exequielrafaela File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# we have to set line endings to LF for all bash scripts, otherwise, if you save | ||
# a script on Windows, it would have CRLF line breaks, which doesn’t work on | ||
# Linux. This is achieved by a combination of ‘.editorconfig’ defining how the | ||
# code is displayed in a text editor, and ‘.gitatttributes’, which controls how | ||
# the file is saved in source control. | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file && 2 space indentation | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 80 | ||
trim_trailing_whitespace = true | ||
|
||
# Unix-style newlines with a newline ending every file && 2 space indentation | ||
[*.sh] | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Unix-style newlines with a newline ending every file && 2 space indentation | ||
[*.py] | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{tf,tfvars}] | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
[*.md] | ||
max_line_length = 0 | ||
trim_trailing_whitespace = false | ||
|
||
# Tab indentation && 2 space indentation | ||
[Makefile] | ||
tab_width = 2 | ||
indent_style = tab | ||
|
||
[COMMIT_EDITMSG] | ||
max_line_length = 0 |
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 | ||
examples/configure-guardduty/main.tf |
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 |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
!/.github | ||
!*.gitkeep | ||
!*.editorconfig | ||
!*.pre-commit-config.yaml | ||
|
||
# SSH keys # | ||
############ | ||
|
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,24 @@ | ||
default_language_version: | ||
# force all unspecified python hooks to run python3 | ||
python: python3 | ||
|
||
repos: | ||
- repo: git://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: detect-private-key | ||
- id: pretty-format-json | ||
args: | ||
- --autofix | ||
- id: trailing-whitespace | ||
args: | ||
- --markdown-linebreak-ext=md | ||
|
||
- repo: git://github.com/antonbabenko/pre-commit-terraform | ||
rev: v1.43.0 | ||
hooks: | ||
- id: terraform_fmt | ||
- id: terraform_docs |
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 |
---|---|---|
|
@@ -26,4 +26,5 @@ No requirements. | |
## Outputs | ||
|
||
No output. | ||
|
||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
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,4 @@ | ||
MAKEFILES_DIR := ../../@bin/makefiles | ||
|
||
-include ${MAKEFILES_DIR}/terratest13/terratest13.mk | ||
-include ${MAKEFILES_DIR}/terraform13/terraform13.mk |
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 |
---|---|---|
|
@@ -27,4 +27,5 @@ No requirements. | |
## Outputs | ||
|
||
No output. | ||
|
||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
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,4 @@ | ||
MAKEFILES_DIR := ../../@bin/makefiles | ||
|
||
-include ${MAKEFILES_DIR}/terratest13/terratest13.mk | ||
-include ${MAKEFILES_DIR}/terraform13/terraform13.mk |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@exequielrafaela Just curious, are these templates defined in CircleCI's project configuration?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@diego-ojeda-binbash OJ you can find them here -> https://github.com/CircleCI-Public/slack-orb/tree/master/src/message_templates