From 8f95d2e6e0d63f6289334e16bcbef2e3f91714fb Mon Sep 17 00:00:00 2001 From: Alex Pilon Date: Fri, 9 Oct 2020 13:59:38 -0400 Subject: [PATCH] Migration test --- .hashibot.hcl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.hashibot.hcl b/.hashibot.hcl index f1a89efeae..e9bc5f96ba 100644 --- a/.hashibot.hcl +++ b/.hashibot.hcl @@ -26,6 +26,27 @@ poll "label_issue_migrater" "provider_migrater" { } */ +poll "label_issue_migrater" "provider_migrater_test" { + schedule = "@every 2m" + new_owner = env.PROVIDERS_OWNER + repo_prefix = "terraform-provider-" + label_prefix = "migrationtest/" + excluded_label_prefixes = ["backend/", "provisioner/"] + excluded_labels = ["build", "cli", "config", "core", "new-provider", "new-provisioner", "new-remote-state", "provider/terraform"] + aliases = { + "provider/google-cloud" = "provider/google" + "provider/influx" = "provider/influxdb" + "provider/vcloud" = "provider/vcd" + } + issue_header = <<-EOF + _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._ + +
+ + EOF + 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}." +} + poll "closed_issue_locker" "locker" { schedule = "0 50 1 * * *" closed_for = "720h" # 30 days