Skip to content

Commit

Permalink
enforce api-test v2 checks (TykTechnologies#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
ermirizio authored Dec 7, 2023
1 parent 350ac73 commit 5f3fc4a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions repo-policy/historical-branches.auto.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
]
32 changes: 16 additions & 16 deletions repo-policy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ terraform {

required_providers {
github = {
source = "integrations/github"
source = "integrations/github"
}
}
}
Expand All @@ -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"] },
])
}

0 comments on commit 5f3fc4a

Please sign in to comment.