-
Notifications
You must be signed in to change notification settings - Fork 0
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
add: TerraformをAtlantisで動かす場合のルール追加 #5
Conversation
terraform-with-atlantis.json
Outdated
@@ -0,0 +1,56 @@ | |||
{ | |||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | |||
"platformAutomerge": true, |
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.
sre.json と組み合わせるなら不要な気がします!
terraform-with-atlantis.json
Outdated
"matchPackagePatterns": [ | ||
"^app.terraform.io/gdp-sre", | ||
"terraform-aws-modules/eks/aws" | ||
], |
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.
"matchPackagePatterns": [ | |
"^app.terraform.io/gdp-sre", | |
"terraform-aws-modules/eks/aws" | |
], | |
"matchManagers": [ | |
"terraform" | |
], | |
"matchPackagePatterns": [ | |
"^app.terraform.io/gdp-sre" | |
], |
汎用的にしても良いのかなと!
terraform-with-atlantis.json
Outdated
"enabledManagers": [ | ||
"terraform" | ||
], |
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.
デフォルトではほとんどの manger が有効になっていて、この設定値は「terraform 以外の manager を無効にする」という意図なのでここではなく各リポジトリで定義するべきかなと思います!
参考: https://docs.renovatebot.com/modules/manager/#enabling-experimental-managers
README.md
Outdated
| pinGitHubActions.json | GitHub Actionsの推奨設定 | | ||
| sre.json | SREチームの利用推奨設定 (pinGitHubActionsを内包) | | ||
| terraform-with-atlantis.json | Atlantisで実行するTerraformの推奨設定、auto merge有効化を前提 | |
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.
↑の pinGitHubActions.json は公式の presets がキャメルケースなのを踏襲しているので、こちらもキャメルケースが良いかなと思います!
| terraform-with-atlantis.json | Atlantisで実行するTerraformの推奨設定、auto merge有効化を前提 | | |
| atlantisAutomerge.json | Atlantisで実行するTerraformの推奨設定、auto merge有効化を前提 | |
TerraformをAtlantisで動かしている場合の推奨設定ファイルを追加。
auto mergeを有効活用するための設定としています。
sre.json
と組み合わせて使うことを想定しているため、extends
していません。