Skip to content

Commit 32a6b65

Browse files
authored
Merge pull request #1 from terraform-do-modules/internal-501
fix: add resources and update github action
2 parents dc45382 + 1eb0b7c commit 32a6b65

40 files changed

+2019
-67
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# These owners will be the default owners for everything in the repo.
2-
* @anmolnagpal @clouddrove/approvers @clouddrove-ci
2+
@terraform-do-modules/approvers @clouddrove-ci @anmolnagpal

.github/dependabot.yml

Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ updates:
99
- package-ecosystem: "github-actions"
1010
directory: "/"
1111
schedule:
12-
interval: "daily"
12+
interval: "weekly"
1313
open-pull-requests-limit: 3
1414
assignees:
1515
- "clouddrove-ci"
@@ -30,7 +30,7 @@ updates:
3030
open-pull-requests-limit: 3
3131

3232
- package-ecosystem: "terraform" # See documentation for possible values
33-
directory: "/_example/basic" # Location of package manifests
33+
directory: "/_examples/basic" # Location of package manifests
3434
schedule:
3535
interval: "weekly"
3636
# Add assignees
@@ -43,7 +43,7 @@ updates:
4343
open-pull-requests-limit: 3
4444

4545
- package-ecosystem: "terraform" # See documentation for possible values
46-
directory: "/_example/complete" # Location of package manifests
46+
directory: "/_examples/complete" # Location of package manifests
4747
schedule:
4848
interval: "weekly"
4949
# Add assignees
@@ -54,3 +54,68 @@ updates:
5454
- "approvers"
5555
# Allow up to 3 open pull requests for pip dependencies
5656
open-pull-requests-limit: 3
57+
58+
- package-ecosystem: "terraform" # See documentation for possible values
59+
directory: "/_examples/mongodb" # Location of package manifests
60+
schedule:
61+
interval: "weekly"
62+
# Add assignees
63+
assignees:
64+
- "clouddrove-ci"
65+
# Add reviewer
66+
reviewers:
67+
- "approvers"
68+
# Allow up to 3 open pull requests for pip dependencies
69+
open-pull-requests-limit: 3
70+
71+
- package-ecosystem: "terraform" # See documentation for possible values
72+
directory: "/_examples/mysql" # Location of package manifests
73+
schedule:
74+
interval: "weekly"
75+
# Add assignees
76+
assignees:
77+
- "clouddrove-ci"
78+
# Add reviewer
79+
reviewers:
80+
- "approvers"
81+
# Allow up to 3 open pull requests for pip dependencies
82+
open-pull-requests-limit: 3
83+
84+
- package-ecosystem: "terraform" # See documentation for possible values
85+
directory: "/_examples/postgresql" # Location of package manifests
86+
schedule:
87+
interval: "weekly"
88+
# Add assignees
89+
assignees:
90+
- "clouddrove-ci"
91+
# Add reviewer
92+
reviewers:
93+
- "approvers"
94+
# Allow up to 3 open pull requests for pip dependencies
95+
open-pull-requests-limit: 3
96+
97+
- package-ecosystem: "terraform" # See documentation for possible values
98+
directory: "/_examples/redis" # Location of package manifests
99+
schedule:
100+
interval: "weekly"
101+
# Add assignees
102+
assignees:
103+
- "clouddrove-ci"
104+
# Add reviewer
105+
reviewers:
106+
- "approvers"
107+
# Allow up to 3 open pull requests for pip dependencies
108+
open-pull-requests-limit: 3
109+
110+
- package-ecosystem: "terraform" # See documentation for possible values
111+
directory: "/_examples/replica-db" # Location of package manifests
112+
schedule:
113+
interval: "weekly"
114+
# Add assignees
115+
assignees:
116+
- "clouddrove-ci"
117+
# Add reviewer
118+
reviewers:
119+
- "approvers"
120+
# Allow up to 3 open pull requests for pip dependencies
121+
open-pull-requests-limit: 3

.github/workflows/auto_assignee.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ name: Auto Assign PRs
33
on:
44
pull_request:
55
types: [opened, reopened]
6-
76
workflow_dispatch:
87
jobs:
98
assign-pr:
109
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master
1110
secrets:
1211
GITHUB: ${{ secrets.GITHUB }}
1312
with:
14-
assignees: 'clouddrove-ci'
13+
assignees: 'clouddrove-ci'

.github/workflows/changelog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
call-workflow-changelog:
1010
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
11-
secrets: inherit
11+
secrets:
12+
GITHUB: ${{ secrets.GITHUB }}
1213
with:
1314
branch: 'master'

.github/workflows/readme.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727

28-
2928
- name: 'pre-commit check errors'
3029
uses: pre-commit/[email protected]
3130
continue-on-error: true

.github/workflows/tf-checks.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,23 @@ jobs:
1313
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
1414
with:
1515
working_directory: './_examples/basic/'
16+
tf-checks-mongodb-example:
17+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
18+
with:
19+
working_directory: './_examples/mongodb/'
20+
tf-checks-mysql-example:
21+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
22+
with:
23+
working_directory: './_examples/mysql/'
24+
tf-checks-postgresql-example:
25+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
26+
with:
27+
working_directory: './_examples/postgresql/'
28+
tf-checks-redis-example:
29+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
30+
with:
31+
working_directory: './_examples/redis/'
32+
tf-checks-replica-db-example:
33+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
34+
with:
35+
working_directory: './_examples/replica-db/'

.github/workflows/tflint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ on:
66
workflow_dispatch:
77
jobs:
88
tf-lint:
9-
uses: clouddrove/test-tfsec/.github/workflows/tflint.yaml@master
9+
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@master
1010
secrets:
11-
GITHUB: ${{ secrets.GITHUB }}
11+
GITHUB: ${{ secrets.GITHUB }}

.github/workflows/tfsec.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
jobs:
77
tfsec:
88
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
9-
secrets: inherit
9+
secrets:
10+
GITHUB: ${{ secrets.GITHUB }}
1011
with:
1112
working_directory: '.'

0 commit comments

Comments
 (0)