Skip to content

Commit c945be7

Browse files
committed
refactor 🎨(core): task local to remote (#48)
Signed-off-by: Luis Mayta <[email protected]>
1 parent 27ac50e commit c945be7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2948
-4858
lines changed

.chglog/config.yml

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,51 @@ options:
1212
- fix
1313
- perf
1414
- refactor
15+
sort_by: Scope
16+
1517
commit_groups:
18+
group_by: Type
19+
sort_by: Title
20+
title_order:
21+
- feat
22+
- chore
23+
- fix
24+
- perf
25+
- refactor
26+
1627
title_maps:
17-
chore: Features
18-
feat: Features
19-
fix: Bug Fixes
20-
perf: Performance Improvements
21-
refactor: Code Refactoring
28+
feat: ✨ Features
29+
fix: 🐛 Bug Fixes
30+
fixed: 🐛 Bug Fixes
31+
perf: ⚡ Performance Improvements
32+
docs: 📝 Docs changes
33+
refactor: 🎨 Code Refactoring
34+
rename: 🚚 Renamed
35+
revert: ⏪ Reverted
36+
update: 🔄 Updates
37+
build: 👷 Building scripts changes
38+
chore: Other changes
39+
style: 💄 Code styling
40+
ci: 👷 CI changes
41+
2242
header:
23-
pattern: "^(\\w*)\\:\\s(.*)$"
43+
pattern: "^(\\w+)(?:\\s*.*)?(?:\\s*\\((.*?)\\))?:\\s*(.*)$"
2444
pattern_maps:
2545
- Type
46+
- Scope
2647
- Subject
48+
49+
merges:
50+
pattern: "^Merge branch '(\\w+)'$"
51+
pattern_maps:
52+
- Source
53+
54+
reverts:
55+
pattern: "^Revert \"([\\s\\S]*)\"$"
56+
pattern_maps:
57+
- Header
58+
2759
notes:
2860
keywords:
2961
- BREAKING CHANGE
62+
- 💥

.ci/config/.terraform-docs.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
formatter: "markdown" # this is required
2+
version: ""
3+
4+
header-from: main.tf
5+
footer-from: ""
6+
7+
recursive:
8+
enabled: false
9+
path: modules
10+
11+
sections:
12+
hide: []
13+
show: []
14+
15+
content: ""
16+
17+
output:
18+
file: "docs/include/terraform.md"
19+
mode: replace
20+
template: |-
21+
<!-- markdown-link-check-disable -->
22+
<!-- BEGIN_TF_DOCS -->
23+
{{ .Content }}
24+
<!-- END_TF_DOCS -->
25+
<!-- markdown-link-check-enable -->
26+
27+
output-values:
28+
enabled: false
29+
from: ""
30+
31+
sort:
32+
enabled: true
33+
by: name
34+
35+
settings:
36+
anchor: false
37+
color: true
38+
default: true
39+
description: false
40+
escape: true
41+
hide-empty: false
42+
html: true
43+
indent: 2
44+
lockfile: true
45+
read-comments: true
46+
required: true
47+
sensitive: true
48+
type: true

.ci/config/mockery.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
with-expecter: false
2+
outpkg: "mocks"

.ci/linters/.ansible-lint

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
warn_list:
2+
- '204' # Lines should be less than 160 characters
3+
- '701' # meta/main.yml should contain relevant info
4+
skip_list:
5+
- '106' # Role name must match ^[a-z][a-z0-9_]+$ pattern
6+
- 'yaml'
7+
- 'role-name'

.ci/linters/.codespell-ignores

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
cas
2+
wit
3+
NotIn
4+
notin

.ci/linters/.gitleaks.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ title = "gitleaks config"
162162
'''host=HOST''',
163163
'''--private-key={{.PRIVATE_KEY_FILE}}''',
164164
'''PASSWORD=XXXXXX''',
165+
'''password={password}''',
165166
]
166167

167-
168168
[[rules]]
169169
description = "High Entropy"
170170
regex = '''[0-9a-zA-Z-_!{}/=]{4,120}'''
@@ -236,6 +236,7 @@ title = "gitleaks config"
236236
'''^yarn.lock$''',
237237
'''^vendor/(.*?)$''',
238238
'''^sonar-project.properties$''',
239+
'''^test/fixtures/keys/.*-test.*$''',
239240
'''^node_modules/(.*?)$''',
240241
]
241242
commits = []
@@ -249,13 +250,15 @@ title = "gitleaks config"
249250
'''^node_modules/''',
250251
'''^theme/''',
251252
]
253+
252254
files = [
253255
'''(.*?)(jpg|gif|png|doc|pdf|bin|mp3|mp4|mov|ttf|woff|woff2|eot|lock)$''',
254256
'''^\.gitignore$''',
255257
'''^\.gitleaks.toml$''',
256258
'''^\.gitignore$''',
257259
'''^yarn.lock$''',
258260
'''^sonar-project.properties$''',
261+
'''^test/fixtures/keys/.*-test.*$''',
259262
]
260263

261264
commits = []

.ci/linters/.golangci.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@ run:
55
tests: true
66

77
output:
8-
format: tab
8+
formats: tab
99

1010
linters-settings:
11-
govet:
12-
# report about shadowed variables
13-
check-shadowing: true
14-
1511
gofmt:
1612
# simplify code: gofmt with `-s` option, true by default
1713
simplify: true
@@ -25,10 +21,6 @@ linters-settings:
2521
# minimal code complexity to report, 30 by default (but we recommend 10-20)
2622
min-complexity: 10
2723

28-
maligned:
29-
# print struct with more effective memory layout or not, false by default
30-
suggest-new: true
31-
3224
dupl:
3325
# tokens count to trigger issue, 150 by default
3426
threshold: 100
@@ -88,7 +80,6 @@ linters-settings:
8880

8981
linters:
9082
enable:
91-
- megacheck
9283
- govet
9384
- gocyclo
9485
- gocritic
@@ -106,24 +97,16 @@ linters:
10697
- unused
10798
fast: false
10899
disable:
109-
- gomnd
110100
- funlen
111-
- maligned
112101
- wsl
113102
- testpackage
114-
- goerr113
115-
- scopelint
116-
- golint
117103
- bodyclose
118104
- contextcheck
119105
- nilerr
120106
- noctx
121107
- rowserrcheck
122108
- sqlclosecheck
123-
- structcheck
124109
- unparam
125-
- deadcode
126-
- varcheck
127110
- asasalint
128111

129112
# Drives todos nuts
@@ -139,13 +122,10 @@ issues:
139122
- errcheck
140123
- dupl
141124
- gosec
142-
- scopelint
143125
- unparam
144-
- golint
145-
146-
# - text: "should have a package comment"
147-
# linters:
148-
# - golint
126+
- scopelint
127+
- goanalysis_metalinter
128+
- structcheck
149129

150130
# Independently from option `exclude` we use default exclude patterns,
151131
# it can be disabled by this option. To list all

.ci/linters/.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ changelog:
6464
exclude:
6565
- "^docs:"
6666
- "^test:"
67+
6768
release:
6869
github:
6970
owner: hadenlabs

.ci/linters/.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.serverless_nextjs
44
node_modules
55
dist
6+
build
67
package.json
78
package-lock.json
89
coverage
@@ -21,7 +22,9 @@ out
2122
.vscode-test
2223
.cache
2324
.venv
25+
.task
2426
contrib/
2527
site/
2628
.external_modules
2729
CHANGELOG.md
30+
charts

.ci/linters/.tflint.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugin "aws" {
22
enabled = true
3-
version = "0.26.0"
3+
version = "0.38.0"
44
source = "github.com/terraform-linters/tflint-ruleset-aws"
55
}
66
rule "terraform_deprecated_index" {

0 commit comments

Comments
 (0)