mirror of
https://github.com/immich-app/devtools.git
synced 2026-09-30 21:27:48 +08:00
feat: geoshenanigans and cleanup (#114)
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
moved {
|
||||
from = github_repository.repositories["my.immich.app"]
|
||||
to = github_repository.myimmichapp
|
||||
}
|
||||
|
||||
removed {
|
||||
from = github_repository.myimmichapp
|
||||
}
|
||||
|
||||
moved {
|
||||
from = github_repository_file.default_files["my.immich.app/.editorconfig"]
|
||||
to = github_repository_file.myimmichappeditor
|
||||
}
|
||||
|
||||
removed {
|
||||
from = github_repository_file.myimmichappeditor
|
||||
}
|
||||
|
||||
moved {
|
||||
from = github_repository_file.default_files["my.immich.app/LICENSE"]
|
||||
to = github_repository_file.myimmichapplicense
|
||||
}
|
||||
|
||||
removed {
|
||||
from = github_repository_file.myimmichapplicense
|
||||
}
|
||||
|
||||
moved {
|
||||
from = github_repository_file.default_files["my.immich.app/CODE_OF_CONDUCT.md"]
|
||||
to = github_repository_file.myimmichappcodeofconduct
|
||||
}
|
||||
|
||||
removed {
|
||||
from = github_repository_file.myimmichappcodeofconduct
|
||||
}
|
||||
|
||||
moved {
|
||||
from = github_repository_file.default_files["my.immich.app/SECURITY.md"]
|
||||
to = github_repository_file.myimmichappsecurity
|
||||
}
|
||||
|
||||
removed {
|
||||
from = github_repository_file.myimmichappsecurity
|
||||
}
|
||||
@@ -21,7 +21,8 @@ variable "repositories" {
|
||||
{ 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 = ".github", description = ".github folder for the organisation level", issues = false },
|
||||
{ name = "geoshenanigans", description = "Geospatial shenanigans, reverse geocoding, map tiling, and maybe more..." }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -57,12 +58,6 @@ resource "github_repository" "repositories" {
|
||||
}
|
||||
}
|
||||
|
||||
import {
|
||||
to = github_repository.repositories[each.value.name]
|
||||
id = each.value.name
|
||||
for_each = { for repo in var.repositories : repo.name => repo }
|
||||
}
|
||||
|
||||
resource "github_repository_ruleset" "main_ruleset" {
|
||||
for_each = { for repo in var.repositories : repo.name => repo }
|
||||
repository = each.value.name
|
||||
@@ -100,11 +95,6 @@ resource "github_repository_ruleset" "main_ruleset" {
|
||||
}
|
||||
}
|
||||
|
||||
moved {
|
||||
from = github_repository_ruleset.main_ruleset["my.immich.app"]
|
||||
to = github_repository_ruleset.main_ruleset["static-pages"]
|
||||
}
|
||||
|
||||
resource "github_repository_file" "default_files" {
|
||||
for_each = {
|
||||
for combination in flatten([
|
||||
|
||||
Reference in New Issue
Block a user