Skip to content

Commit

Permalink
feat: set repo specific urls
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 committed Dec 17, 2024
1 parent 5624b0a commit 8f78efb
Showing 1 changed file with 54 additions and 13 deletions.
67 changes: 54 additions & 13 deletions tf/deployment/modules/github/org/repositories.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ variable "repositories" {
type = list(object({
name = string
description = string
url = optional(string)
discussions = optional(bool)
projects = optional(bool)
issues = optional(bool)
Expand All @@ -13,20 +14,60 @@ variable "repositories" {
name = "immich", description = "High performance self-hosted photo and video management solution.",
discussions = true, projects = true
},
{ name = "devtools", description = "Various tooling used by the Immich maintainer team" },
{
name = "static-pages", description = "Redirect urls to personal, hosted, instances of Immich.",
name = "devtools",
description = "Various tooling used by the Immich maintainer team"
},
{ name = "base-images", description = "Base images for Immich containers" },
{ name = "immich-charts", description = "Helm chart implementation of Immich" },
{ name = "discord-bot", description = "A Discord bot for the official @immich-app Discord" },
{ name = "demo", description = "This repo contains the setup for the demo instance at https://demo.immich.app/" },
{ name = "test-assets", description = "Test assets used for testing Immich. Contains various formats and codecs" },
{ name = ".github", description = ".github folder for the organisation level", issues = false },
{ name = "geoshenanigans", description = "Geospatial shenanigans, reverse geocoding, map tiling, and maybe more..." },
{ name = "data.immich.app", description = "Graphs and charts for Immich data" },
{ name = "ui", description = "Svelte web components for Immich" },
{ name = "native_video_player", description = "A Flutter widget to play videos on iOS and Android using a native implementation.", fork = true }
{
name = "static-pages",
description = "Redirect urls to personal, hosted, instances of Immich.",
url = "https://buy.immich.app",
},
{
name = "base-images",
description = "Base images for Immich containers"
},
{
name = "immich-charts",
description = "Helm chart implementation of Immich"
},
{
name = "discord-bot",
description = "A Discord bot for the official @immich-app Discord"
},
{
name = "demo",
description = "This repo contains the setup for the demo instance at https://demo.immich.app/"
url = "https://demo.immich.app",
},
{
name = "test-assets",
description = "Test assets used for testing Immich. Contains various formats and codecs"
},
{
name = ".github",
description = ".github folder for the organisation level",
issues = false
},
{
name = "geoshenanigans",
description = "Geospatial shenanigans, reverse geocoding, map tiling, and maybe more..."
},
{
name = "data.immich.app",
description = "Graphs and charts for Immich data"
url = "https://data.immich.app",
},
{
name = "ui",
description = "Svelte components for Immich"
url = "https://ui.immich.app",
},
{
name = "native_video_player",
description = "A Flutter widget to play videos on iOS and Android using a native implementation.",
fork = true
}
]
}

Expand All @@ -48,7 +89,7 @@ resource "github_repository" "repositories" {
has_projects = coalesce(each.value.projects, false)
has_wiki = false
vulnerability_alerts = true
homepage_url = "https://immich.app"
homepage_url = coalesce(each.value.url, "https://immich.app")
squash_merge_commit_title = "PR_TITLE"

lifecycle {
Expand Down

0 comments on commit 8f78efb

Please sign in to comment.