mirror of
https://github.com/immich-app/devtools.git
synced 2026-09-30 21:27:48 +08:00
feat: services repo (#931)
This commit is contained in:
@@ -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)
|
||||
# }
|
||||
# }
|
||||
|
||||
Reference in New Issue
Block a user