-
Notifications
You must be signed in to change notification settings - Fork 0
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 #6 from globis-org/feat/hcp
feat: HCP Terraform 用の renovate config を追加する
- Loading branch information
Showing
4 changed files
with
70 additions
and
5 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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# renovate-config | ||
|
||
| File | Description | | ||
| :------------------------- | :------------------------------------------------------------ | | ||
| pinGitHubActions.json | GitHub Actionsの推奨設定 | | ||
| sre.json | SREチームの利用推奨設定 (pinGitHubActionsを内包) | | ||
| terraformWithAtlantis.json | Atlantisで実行するTerraformの推奨設定、auto merge有効化を前提 | | ||
| File | Description | | ||
|:----------------------|:-------------------------------------------------------------| | ||
| pinGitHubActions.json | GitHub Actionsの推奨設定 | | ||
| sre.json | SREチームの利用推奨設定 (pinGitHubActionsを内包) | | ||
| terraform.json | Terraform用のpackageRulesの推奨設定 | | ||
| atlantis.json | Atlantisで実行するTerraformの推奨設定、auto merge有効化を前提 | | ||
| hcp.json | HCP Terraformで実行するTerraformの推奨設定、auto merge無効化を前提 | |
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 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>globis-org/renovate-config:terraform" | ||
], | ||
"prHourlyLimit": 1, | ||
"rebaseWhen": "never" | ||
} |
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,14 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>globis-org/renovate-config:terraform" | ||
], | ||
"prHourlyLimit": 0, | ||
"rebaseWhen": "never", | ||
"packageRules": [ | ||
{ | ||
"matchPackageNames": ["*"], | ||
"automerge": false | ||
} | ||
] | ||
} |
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,41 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"matchManagers": ["terraform"], | ||
"matchPackagePatterns": ["^app.terraform.io/gdp-sre"], | ||
"enabled": false | ||
}, | ||
{ | ||
"matchManagers": ["terraform"], | ||
"matchDepTypes": ["helm_release"], | ||
"enabled": false | ||
}, | ||
{ | ||
"matchManagers": ["terraform"], | ||
"additionalBranchPrefix": "{{packageFileDir}}-", | ||
"commitMessageSuffix": "({{packageFileDir}})", | ||
"groupName": "terraform state", | ||
"groupSlug": "tfstate", | ||
"automerge": true, | ||
"major": { | ||
"automerge": false | ||
}, | ||
"rangeStrategy": "pin" | ||
}, | ||
{ | ||
"matchManagers": ["terraform"], | ||
"additionalBranchPrefix": "{{packageFileDir}}-", | ||
"commitMessageSuffix": "({{packageFileDir}})", | ||
"description": "terraform local modules", | ||
"groupName": "terraform modules", | ||
"groupSlug": "tfmodules", | ||
"matchFileNames": ["**/modules/**"], | ||
"automerge": true, | ||
"major": { | ||
"automerge": false | ||
}, | ||
"rangeStrategy": "auto" | ||
} | ||
] | ||
} |