From 7b87837f1e026b458d0227c387f8e9252821d10a Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Wed, 24 Feb 2021 18:40:22 -0500 Subject: [PATCH 1/4] github: Add labels, colors --- infrastructure/repository/labels-partition.tf | 2 +- infrastructure/repository/labels-service.tf | 2 +- infrastructure/repository/labels-workflow.tf | 55 +++++++++++++++---- 3 files changed, 47 insertions(+), 12 deletions(-) diff --git a/infrastructure/repository/labels-partition.tf b/infrastructure/repository/labels-partition.tf index 30fa3d006b3..2f31d3436fc 100644 --- a/infrastructure/repository/labels-partition.tf +++ b/infrastructure/repository/labels-partition.tf @@ -14,5 +14,5 @@ resource "github_issue_label" "partition" { repository = "terraform-provider-aws" name = "partition/${each.value}" - color = "bfd4f2" + color = "491dd7" } diff --git a/infrastructure/repository/labels-service.tf b/infrastructure/repository/labels-service.tf index b63fdee1ee2..2874cbf526c 100644 --- a/infrastructure/repository/labels-service.tf +++ b/infrastructure/repository/labels-service.tf @@ -220,5 +220,5 @@ resource "github_issue_label" "service" { repository = "terraform-provider-aws" name = "service/${each.value}" - color = "bfd4f2" + color = "623ce4" } diff --git a/infrastructure/repository/labels-workflow.tf b/infrastructure/repository/labels-workflow.tf index 3c62ae2a6b5..0df19037191 100644 --- a/infrastructure/repository/labels-workflow.tf +++ b/infrastructure/repository/labels-workflow.tf @@ -1,15 +1,50 @@ variable "workflow_labels" { default = { - "examples" = "fef2c0", - "hacktoberfest" = "2c0fad", - "linter" = "cccccc", - "needs-triage" = "e236d7", - "terraform-plugin-sdk-migration" = "fad8c7", - "terraform-plugin-sdk-v1" = "fad8c7", - "terraform-0.11" = "cccccc", - "terraform-0.12" = "cccccc", - "terraform-0.13" = "cccccc", - "terraform-0.14" = "cccccc", + "provider" = "623ce4", + "needs-triage" = "ca2171", + "enhancement" = "962fab", + "new-resource" = "962fab", + "new-data-source" = "962fab", + "bug" = "f04e54", + "crash" = "f04e54", + "breaking-change" = "f04e54", + "regression" = "f04e54", + "waiting-response" = "ef4349", + "tests" = "00bc7f", + "terraform-0.11" = "00bc7f", + "terraform-0.12" = "00bc7f", + "terraform-0.13" = "00bc7f", + "terraform-0.14" = "00bc7f", + "terraform-0.15" = "00bc7f", + "alpha-testing" = "00bc7f", + "documentation" = "b0288e", + "technical-debt" = "b0288e", + "proposal" = "b0288e", + "thinking" = "b0288e", + "question" = "b0288e", + "linter" = "b0288e", + "size/XS" = "14c6cb", + "size/S" = "12b4ba", + "size/M" = "11a2a7", + "size/L" = "0f9095", + "size/XL" = "0d7e82", + "size/XXL" = "0b6c6f", + "upstream-terraform" = "1563ff", + "upstream" = "1563ff", + "go" = "1563ff", + "dependencies" = "1563ff", + "good first issue" = "00acff", + "help wanted" = "00acff", + "examples" = "00acff", + "hacktoberfest" = "828a90", + "stale" = "828a90", + "hashibot/ignore" = "828a90", + "new" = "828a90", + "windows" = "828a90", + "reinvent" = "828a90", + "github_actions" = "828a90", + "terraform-plugin-sdk-migration" = "828a90", + "terraform-plugin-sdk-v1" = "828a90", } description = "Name-color mapping of workflow issues" type = map(string) From 444c6570735d517659961cbb89e4e0df2e84b51b Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Wed, 23 Jun 2021 17:35:38 -0400 Subject: [PATCH 2/4] infra: Update colors for current HashiCorp --- infrastructure/repository/labels-partition.tf | 2 +- infrastructure/repository/labels-service.tf | 2 +- infrastructure/repository/labels-workflow.tf | 90 +++++++++---------- 3 files changed, 47 insertions(+), 47 deletions(-) diff --git a/infrastructure/repository/labels-partition.tf b/infrastructure/repository/labels-partition.tf index 2f31d3436fc..e05db93f9b5 100644 --- a/infrastructure/repository/labels-partition.tf +++ b/infrastructure/repository/labels-partition.tf @@ -14,5 +14,5 @@ resource "github_issue_label" "partition" { repository = "terraform-provider-aws" name = "partition/${each.value}" - color = "491dd7" + color = "844fba" } diff --git a/infrastructure/repository/labels-service.tf b/infrastructure/repository/labels-service.tf index 2874cbf526c..7e91d3a1297 100644 --- a/infrastructure/repository/labels-service.tf +++ b/infrastructure/repository/labels-service.tf @@ -220,5 +220,5 @@ resource "github_issue_label" "service" { repository = "terraform-provider-aws" name = "service/${each.value}" - color = "623ce4" + color = "7b42bc" } diff --git a/infrastructure/repository/labels-workflow.tf b/infrastructure/repository/labels-workflow.tf index 0df19037191..9824f161d49 100644 --- a/infrastructure/repository/labels-workflow.tf +++ b/infrastructure/repository/labels-workflow.tf @@ -1,50 +1,50 @@ variable "workflow_labels" { default = { - "provider" = "623ce4", - "needs-triage" = "ca2171", - "enhancement" = "962fab", - "new-resource" = "962fab", - "new-data-source" = "962fab", - "bug" = "f04e54", - "crash" = "f04e54", - "breaking-change" = "f04e54", - "regression" = "f04e54", - "waiting-response" = "ef4349", - "tests" = "00bc7f", - "terraform-0.11" = "00bc7f", - "terraform-0.12" = "00bc7f", - "terraform-0.13" = "00bc7f", - "terraform-0.14" = "00bc7f", - "terraform-0.15" = "00bc7f", - "alpha-testing" = "00bc7f", - "documentation" = "b0288e", - "technical-debt" = "b0288e", - "proposal" = "b0288e", - "thinking" = "b0288e", - "question" = "b0288e", - "linter" = "b0288e", - "size/XS" = "14c6cb", - "size/S" = "12b4ba", - "size/M" = "11a2a7", - "size/L" = "0f9095", - "size/XL" = "0d7e82", - "size/XXL" = "0b6c6f", - "upstream-terraform" = "1563ff", - "upstream" = "1563ff", - "go" = "1563ff", - "dependencies" = "1563ff", - "good first issue" = "00acff", - "help wanted" = "00acff", - "examples" = "00acff", - "hacktoberfest" = "828a90", - "stale" = "828a90", - "hashibot/ignore" = "828a90", - "new" = "828a90", - "windows" = "828a90", - "reinvent" = "828a90", - "github_actions" = "828a90", - "terraform-plugin-sdk-migration" = "828a90", - "terraform-plugin-sdk-v1" = "828a90", + "provider" = "844fba", # color:terraform (main) + "needs-triage" = "dc477d", # color:consul + "enhancement" = "844fba", # color:terraform (main) + "new-resource" = "8040c9", # color:terraform (link on white) + "new-data-source" = "ac72f0", # color:terraform (link on black) + "bug" = "ec585d", # color:boundary + "crash" = "ec585d", # color:boundary + "breaking-change" = "ec585d", # color:boundary + "regression" = "ec585d", # color:boundary + "waiting-response" = "d3353f", # color:darker boundary + "tests" = "60dea9", # color:nomad + "terraform-0.11" = "60dea9", # color:nomad + "terraform-0.12" = "60dea9", # color:nomad + "terraform-0.13" = "60dea9", # color:nomad + "terraform-0.14" = "60dea9", # color:nomad + "terraform-0.15" = "60dea9", # color:nomad + "alpha-testing" = "60dea9", # color:nomad + "documentation" = "f4ecff", # color:terraform secondary + "technical-debt" = "d1ebff", # color:terraform accent + "proposal" = "d1ebff", # color:terraform accent + "thinking" = "f4ecff", # color:terraform secondary + "question" = "f4ecff", # color:terraform secondary + "linter" = "f4ecff", # color:terraform secondary + "size/XS" = "62d4dc", # color:lightest-darkest waypoint gradient + "size/S" = "4ec3ce", # color:lightest-darkest waypoint gradient + "size/M" = "3bb3c0", # color:lightest-darkest waypoint gradient + "size/L" = "27a2b2", # color:lightest-darkest waypoint gradient + "size/XL" = "1492a4", # color:lightest-darkest waypoint gradient + "size/XXL" = "008196", # color:lightest-darkest waypoint gradient + "upstream-terraform" = "1c7ada", # color:vagrant + "upstream" = "1c7ada", # color:vagrant + "go" = "1c7ada", # color:vagrant + "dependencies" = "1c7ada", # color:vagrant + "good first issue" = "63d0ff", # color:packer + "help wanted" = "63d0ff", # color:packer + "examples" = "63d0ff", # color:packer + "hacktoberfest" = "828a90", # color:stale grey + "stale" = "828a90", # color:stale grey + "hashibot/ignore" = "828a90", # color:stale grey + "new" = "828a90", # color:stale grey + "windows" = "828a90", # color:stale grey + "reinvent" = "828a90", # color:stale grey + "github_actions" = "828a90", # color:stale grey + "terraform-plugin-sdk-migration" = "828a90", # color:stale grey + "terraform-plugin-sdk-v1" = "828a90", # color:stale grey } description = "Name-color mapping of workflow issues" type = map(string) From 73f33aa85875a9a364418413e9ceb86851213c40 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Wed, 23 Jun 2021 17:38:34 -0400 Subject: [PATCH 3/4] infra: Add comments for colors --- infrastructure/repository/labels-partition.tf | 2 +- infrastructure/repository/labels-service.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/repository/labels-partition.tf b/infrastructure/repository/labels-partition.tf index e05db93f9b5..740e4c1edf3 100644 --- a/infrastructure/repository/labels-partition.tf +++ b/infrastructure/repository/labels-partition.tf @@ -14,5 +14,5 @@ resource "github_issue_label" "partition" { repository = "terraform-provider-aws" name = "partition/${each.value}" - color = "844fba" + color = "844fba" # color:terraform (main) } diff --git a/infrastructure/repository/labels-service.tf b/infrastructure/repository/labels-service.tf index 7e91d3a1297..787d22da82f 100644 --- a/infrastructure/repository/labels-service.tf +++ b/infrastructure/repository/labels-service.tf @@ -220,5 +220,5 @@ resource "github_issue_label" "service" { repository = "terraform-provider-aws" name = "service/${each.value}" - color = "7b42bc" + color = "7b42bc" # color:terraform (logomark) } From 970f6891fefdcd839d2faaa0c027c0256e57d6c1 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Wed, 23 Jun 2021 17:42:24 -0400 Subject: [PATCH 4/4] infra: Fix alpha-testing label --- infrastructure/repository/labels-workflow.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/repository/labels-workflow.tf b/infrastructure/repository/labels-workflow.tf index 9824f161d49..59f161cd5db 100644 --- a/infrastructure/repository/labels-workflow.tf +++ b/infrastructure/repository/labels-workflow.tf @@ -16,7 +16,7 @@ variable "workflow_labels" { "terraform-0.13" = "60dea9", # color:nomad "terraform-0.14" = "60dea9", # color:nomad "terraform-0.15" = "60dea9", # color:nomad - "alpha-testing" = "60dea9", # color:nomad + "prerelease-tf-testing" = "60dea9", # color:nomad "documentation" = "f4ecff", # color:terraform secondary "technical-debt" = "d1ebff", # color:terraform accent "proposal" = "d1ebff", # color:terraform accent