Skip to content

Commit

Permalink
feat: geoshenanigans and cleanup (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackpollard authored Jul 25, 2024
1 parent 173ddcd commit ce08871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 56 deletions.
44 changes: 0 additions & 44 deletions deployment/modules/github/org/repositories-temp-rename.tf

This file was deleted.

14 changes: 2 additions & 12 deletions deployment/modules/github/org/repositories.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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..." }
]
}

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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([
Expand Down

0 comments on commit ce08871

Please sign in to comment.