Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 8f95d2e

Browse files
committed
Migration test
1 parent 96f0ac1 commit 8f95d2e

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.hashibot.hcl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,27 @@ poll "label_issue_migrater" "provider_migrater" {
2626
}
2727
*/
2828

29+
poll "label_issue_migrater" "provider_migrater_test" {
30+
schedule = "@every 2m"
31+
new_owner = env.PROVIDERS_OWNER
32+
repo_prefix = "terraform-provider-"
33+
label_prefix = "migrationtest/"
34+
excluded_label_prefixes = ["backend/", "provisioner/"]
35+
excluded_labels = ["build", "cli", "config", "core", "new-provider", "new-provisioner", "new-remote-state", "provider/terraform"]
36+
aliases = {
37+
"provider/google-cloud" = "provider/google"
38+
"provider/influx" = "provider/influxdb"
39+
"provider/vcloud" = "provider/vcd"
40+
}
41+
issue_header = <<-EOF
42+
_This issue was originally opened by @${var.user} as ${var.repository}#${var.issue_number}. It was migrated here as a result of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._
43+
44+
<hr>
45+
46+
EOF
47+
migrated_comment = "This issue has been automatically migrated to ${var.repository}#${var.issue_number} because it looks like an issue with that provider. If you believe this is _not_ an issue with the provider, please reply to ${var.repository}#${var.issue_number}."
48+
}
49+
2950
poll "closed_issue_locker" "locker" {
3051
schedule = "0 50 1 * * *"
3152
closed_for = "720h" # 30 days

0 commit comments

Comments
 (0)