From 5f3fc4a9490c71f7a5711a13429cd997cefa7e56 Mon Sep 17 00:00:00 2001 From: Esteban Ricardo Mirizio Date: Thu, 7 Dec 2023 13:49:27 -0300 Subject: [PATCH] enforce api-test v2 checks (#753) --- repo-policy/historical-branches.auto.tfvars | 10 +++---- repo-policy/main.tf | 32 ++++++++++----------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/repo-policy/historical-branches.auto.tfvars b/repo-policy/historical-branches.auto.tfvars index 786bc9d56..d7fecac6d 100644 --- a/repo-policy/historical-branches.auto.tfvars +++ b/repo-policy/historical-branches.auto.tfvars @@ -2,9 +2,9 @@ # Branches here are required for the gpac bundle to work but it is not necessary to clutter the gromit # config file or main.tf with these. historical_branches = [ -{ branch = "release-1.7", - reviewers = "0", - convos = "false", - source_branch = "master", - required_tests = ["1.15","Go 1.16 tests"]} + { branch = "release-1.7", + reviewers = "0", + convos = "false", + source_branch = "master", + required_tests = ["1.15", "Go 1.16 tests"] } ] diff --git a/repo-policy/main.tf b/repo-policy/main.tf index 737861a4b..e4987879a 100644 --- a/repo-policy/main.tf +++ b/repo-policy/main.tf @@ -11,7 +11,7 @@ terraform { required_providers { github = { - source = "integrations/github" + source = "integrations/github" } } } @@ -35,25 +35,25 @@ variable "historical_branches" { } module "tyk-pump" { - source = "./modules/github-repos" - repo = "tyk-pump" - description = "Tyk Analytics Pump to move analytics data from Redis to any supported back end (multiple back ends can be written to at once)." - default_branch = "master" + source = "./modules/github-repos" + repo = "tyk-pump" + description = "Tyk Analytics Pump to move analytics data from Redis to any supported back end (multiple back ends can be written to at once)." + default_branch = "master" topics = [] visibility = "public" wiki = false vulnerability_alerts = true squash_merge_commit_message = "COMMIT_MESSAGES" squash_merge_commit_title = "COMMIT_OR_PR_TITLE" - release_branches = concat(var.historical_branches, [ -{ branch = "master", - reviewers = "1", - convos = "false", - required_tests = ["1.19-bullseye","Go 1.19 tests"]}, -{ branch = "release-1.8", - reviewers = "0", - convos = "false", - source_branch = "master", - required_tests = ["1.19-bullseye","Go 1.19 tests"]}, -]) + release_branches = concat(var.historical_branches, [ + { branch = "master", + reviewers = "1", + convos = "false", + required_tests = ["1.19-bullseye", "Go 1.19 tests", "api-tests (sha256, mongo44)", "api-tests (sha256, postgres15)", "api-tests (murmur64, mongo44)", "api-tests (murmur64, postgres15)"] }, + { branch = "release-1.8", + reviewers = "0", + convos = "false", + source_branch = "master", + required_tests = ["1.19-bullseye", "Go 1.19 tests"] }, + ]) }