Skip to content

Commit 18ee342

Browse files
committed
refactor 🎨(core): delete unnecessary tasks (#46)
Signed-off-by: Luis Mayta <[email protected]>
1 parent e3059d4 commit 18ee342

20 files changed

+11
-1298
lines changed

β€Ž.pre-commit-config.yamlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ repos:
103103
- --config=.ci/linters/.golangci.yml
104104
- id: terraform-docs
105105
args:
106-
- '--output-file=docs/include/terraform.md'
107-
- '--output-mode=replace'
106+
- "--output-file=docs/include/terraform.md"
107+
- "--output-mode=replace"
108108

109109
- id: terraform-tflint
110110
args:
111-
- '--config=.ci/linters/.tflint.hcl'
111+
- "--config=.ci/linters/.tflint.hcl"
112112
- id: terragrunt-fmt
113113
- id: terraform-fmt
114114
- id: terraform-tfsec
@@ -123,7 +123,7 @@ repos:
123123
args:
124124
- --config=.ci/linters/.hadolint.yaml
125125
- repo: https://github.com/bridgecrewio/checkov.git
126-
rev: '2.0.1088'
126+
rev: "2.0.1088"
127127
hooks:
128128
- id: checkov
129129
args:

β€ŽTaskfile.ymlβ€Ž

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ vars:
7171
PROJECT_NAME: terraform-aws-openvpn
7272
ORGANIZATION: hadenlabs
7373
DOCKER_PLATFORM: linux/amd64
74+
REVIEWERS: lmayta
7475
USER: ubuntu
75-
REVIEWERS: luismayta
76-
PYTHON_VERSION: 3.11.5
7776
TERRAFORM_DIR: provision/terraform
77+
PYTHON_VERSION: 3.11.5
7878
NODE_VERSION: v18.20.4
7979
GIT_IGNORES: python,go,zsh,sonar,java,maven,intellij+all,node,helm,terraform
8080
GOLANGCI_VERSION: 1.42.0
81-
TERRAFORM_VERSION: 1.10.2
81+
TERRAFORM_VERSION: 1.10.5
8282
README_FILE: README.md
8383
GIT_IGNORES_CUSTOM: |
8484
bin
@@ -135,6 +135,7 @@ tasks:
135135
--out {{.README_FILE}}
136136
--datasource config={{.README_YAML}}
137137
--datasource includes={{.README_INCLUDES}}
138+
- task: terraform:docs:all
138139
- task: prettier
139140

140141
prettier:
@@ -148,6 +149,7 @@ tasks:
148149
cmds:
149150
- poetry update
150151
- poetry run pre-commit autoupdate
152+
- yarn ncu:patch
151153

152154
setup:
153155
desc: Setup dependences of project
@@ -156,6 +158,7 @@ tasks:
156158
[ -e ".env" ] || cp -rf .env.example .env
157159
- task: python:setup
158160
- task: python:precommit
161+
- task: yarn:setup
159162
- task: git:setup
160163

161164
test:
@@ -167,3 +170,4 @@ tasks:
167170
desc: Setup environment of project
168171
cmds:
169172
- task: python:environment
173+
- task: terraform:environment

β€Žprovision/task/changelog.ymlβ€Ž

Lines changed: 0 additions & 58 deletions
This file was deleted.

β€Žprovision/task/confluence.ymlβ€Ž

Lines changed: 0 additions & 150 deletions
This file was deleted.

β€Žprovision/task/docker.ymlβ€Ž

Lines changed: 0 additions & 64 deletions
This file was deleted.

β€Žprovision/task/git.ymlβ€Ž

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
Β (0)