feat: services repo (#931)

This commit is contained in:
Zack Pollard
2025-09-03 16:22:54 +01:00
committed by GitHub
parent df233f6c3b
commit b0c2bf7948
@@ -91,6 +91,10 @@ variable "repositories" {
name = "ml-models",
description = "Tools for exporting and benchmarking the ML models used by Immich."
},
{
name = "services",
description = "Assortment of services, apis, webhooks, and other misc things."
},
{
name = "one-click",
description = "One-Click deployment for Immich on various platforms.",
@@ -264,28 +268,3 @@ resource "github_repository_file" "license_files" {
]
}
}
import {
to = github_repository_file.license_files["${each.value.name}"]
id = "${each.value.name}/LICENSE"
for_each = {
for repo in var.repositories : repo.name => repo
if !coalesce(repo.fork, false) && !coalesce(repo.archived, false) && repo.name != "one-click"
}
}
import {
to = github_repository.repositories["native_video_player"]
id = "native_video_player"
}
# import {
# to = github_repository_file.default_files["static-pages/${each.value}"]
# id = "static-pages/${each.value}"
# for_each = {
# for file in fileset("${path.module}/repo-files", "**") : file => file
# # FIXME find a better solution
# if !contains([".terragrunt-source-manifest", ".terragrunt-module-manifest", ".github/.terragrunt-source-manifest", ".github/.terragrunt-module-manifest"], file)
# }
# }