Skip to content

Commit

Permalink
chore: onboard java app repo (#1424)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathkkb committed Mar 7, 2023
1 parent 2b4701a commit a7dcc74
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion infra/terraform/modules/repositories/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resource "github_repository" "repo" {
for_each = var.repos_map
name = each.value.name
description = try(each.value.description, null)
homepage_url = try(each.value.url, "https://registry.terraform.io/modules/${each.value.org}/${trimprefix(each.value.name, "terraform-google-")}/google")
homepage_url = try(each.value.homepage_url, "https://registry.terraform.io/modules/${each.value.org}/${trimprefix(each.value.name, "terraform-google-")}/google")
topics = setunion(["cft-terraform"], try(split(",", trimspace(each.value.topics)), []))

allow_merge_commit = false
Expand Down
1 change: 1 addition & 0 deletions infra/terraform/test-org/ci-triggers/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ locals {
"anthos-samples" = "anthos-samples"
"docs-samples" = "terraform-docs-samples"
"dynamic-python-webapp" = "terraform-dynamic-python-webapp"
"deploy-java-multizone" = "terraform-example-deploy-java-multizone"
}
# example foundation has custom test modes
example_foundation = { "terraform-example-foundation" = data.terraform_remote_state.org.outputs.ci_repos_folders["example-foundation"] }
Expand Down
7 changes: 7 additions & 0 deletions infra/terraform/test-org/org/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -521,5 +521,12 @@ locals {
owners = "@glasnt @donmccasland"
homepage_url = "avocano.dev"
},
{
name = "terraform-example-deploy-java-multizone"
short_name = "deploy-java-multizone"
org = "GoogleCloudPlatform"
description = "Deploy a multizone Java application"
owners = "@donmccasland"
},
]
}

0 comments on commit a7dcc74

Please sign in to comment.