diff --git a/gitea/env.example b/gitea/env.example new file mode 100644 index 0000000..9db5d83 --- /dev/null +++ b/gitea/env.example @@ -0,0 +1 @@ +GITEA_TOKEN="" diff --git a/gitea/gitea-orgs.tf b/gitea/gitea-orgs.tf new file mode 100644 index 0000000..c080dce --- /dev/null +++ b/gitea/gitea-orgs.tf @@ -0,0 +1,6 @@ +// Generated by gitea-terraforming (OpenTofu compatible) + +# source id=52 +resource "gitea_organization" "org_trez" { + name = "Trez" +} diff --git a/gitea/gitea-repos.tf b/gitea/gitea-repos.tf new file mode 100644 index 0000000..51b0cdc --- /dev/null +++ b/gitea/gitea-repos.tf @@ -0,0 +1,121 @@ +// Generated by gitea-terraforming (OpenTofu compatible) + +# source id=5 +resource "gitea_repository" "repo_trez_rinoa-docker" { + owner = "Trez" + name = "rinoa-docker" + private = false + description = "" +} + +# source id=9 +resource "gitea_repository" "repo_trez_meraki-naemon" { + owner = "Trez" + name = "meraki-naemon" + private = false + description = "" +} + +# source id=13 +resource "gitea_repository" "repo_trez_benedikta-ovos" { + owner = "Trez" + name = "benedikta-ovos" + private = false + description = "" +} + +# source id=16 +resource "gitea_repository" "repo_trez_rikku-home-assistant" { + owner = "Trez" + name = "rikku-home-assistant" + private = false + description = "" +} + +# source id=17 +resource "gitea_repository" "repo_trez_tar-valon-terraform" { + owner = "Trez" + name = "tar-valon-terraform" + private = true + description = "" +} + +# source id=18 +resource "gitea_repository" "repo_trez_hugo_it-services" { + owner = "Trez" + name = "hugo_it-services" + private = false + description = "" +} + +# source id=19 +resource "gitea_repository" "repo_trez_docker-mods-uptime-kuma-timeout-fix" { + owner = "Trez" + name = "docker-mods-uptime-kuma-timeout-fix" + private = false + description = "Documentation and Examples of base container modifications" +} + +# source id=21 +resource "gitea_repository" "repo_trez_tar-valon-ansible" { + owner = "Trez" + name = "tar-valon-ansible" + private = false + description = "" +} + +# source id=22 +resource "gitea_repository" "repo_trez_congo-hindi-gujarati" { + owner = "Trez" + name = "congo-hindi-gujarati" + private = false + description = "A powerful, lightweight theme for Hugo built with Tailwind CSS." +} + +# source id=26 +resource "gitea_repository" "repo_trez_action-home-assistant" { + owner = "Trez" + name = "action-home-assistant" + private = false + description = "🚀 Frenck's GitHub Action for running a Home Assistant Core configuration check" +} + +# source id=27 +resource "gitea_repository" "repo_trez_renovate-config" { + owner = "Trez" + name = "renovate-config" + private = false + description = "" +} + +# source id=31 +resource "gitea_repository" "repo_trez_hc-vault-env" { + owner = "Trez" + name = "hc-vault-env" + private = false + description = "" +} + +# source id=32 +resource "gitea_repository" "repo_trez_docker-select-image-pull" { + owner = "Trez" + name = "docker-select-image-pull" + private = false + description = "" +} + +# source id=33 +resource "gitea_repository" "repo_trez_gitea-auto-pr" { + owner = "Trez" + name = "gitea-auto-pr" + private = false + description = "" +} + +# source id=34 +resource "gitea_repository" "repo_trez_ultima-ai" { + owner = "Trez" + name = "ultima-ai" + private = true + description = "" +} diff --git a/gitea/gitea-users.tf b/gitea/gitea-users.tf new file mode 100644 index 0000000..94be204 --- /dev/null +++ b/gitea/gitea-users.tf @@ -0,0 +1,33 @@ +// Generated by gitea-terraforming (OpenTofu compatible) + +# source id=3 +resource "gitea_user" "user_gitea-sonarqube-bot" { + username = "gitea-sonarqube-bot" + email = "trezone@vivaldi.net" + full_name = "" + is_admin = false +} + +# source id=51 +resource "gitea_user" "user_renovate-bot" { + username = "renovate-bot" + email = "charish2k1@gmail.com" + full_name = "" + is_admin = false +} + +# source id=1 +resource "gitea_user" "user_root" { + username = "root" + email = "noreply@trez.wtf" + full_name = "" + is_admin = true +} + +# source id=2 +resource "gitea_user" "user_trez_one" { + username = "Trez.One" + email = "charish.patel@trez.wtf" + full_name = "" + is_admin = false +} diff --git a/gitea/imports.tf b/gitea/imports.tf new file mode 100644 index 0000000..62be673 --- /dev/null +++ b/gitea/imports.tf @@ -0,0 +1,101 @@ +// Import blocks + +import { + to = gitea_organization.org_trez + id = "Trez" +} + +import { + to = gitea_user.user_gitea-sonarqube-bot + id = "gitea-sonarqube-bot" +} + +import { + to = gitea_user.user_renovate-bot + id = "renovate-bot" +} + +import { + to = gitea_user.user_root + id = "root" +} + +import { + to = gitea_user.user_trez_one + id = "Trez.One" +} + +import { + to = gitea_repository.repo_trez_rinoa-docker + id = "Trez/rinoa-docker" +} + +import { + to = gitea_repository.repo_trez_meraki-naemon + id = "Trez/meraki-naemon" +} + +import { + to = gitea_repository.repo_trez_benedikta-ovos + id = "Trez/benedikta-ovos" +} + +import { + to = gitea_repository.repo_trez_rikku-home-assistant + id = "Trez/rikku-home-assistant" +} + +import { + to = gitea_repository.repo_trez_tar-valon-terraform + id = "Trez/tar-valon-terraform" +} + +import { + to = gitea_repository.repo_trez_hugo_it-services + id = "Trez/hugo_it-services" +} + +import { + to = gitea_repository.repo_trez_docker-mods-uptime-kuma-timeout-fix + id = "Trez/docker-mods-uptime-kuma-timeout-fix" +} + +import { + to = gitea_repository.repo_trez_tar-valon-ansible + id = "Trez/tar-valon-ansible" +} + +import { + to = gitea_repository.repo_trez_congo-hindi-gujarati + id = "Trez/congo-hindi-gujarati" +} + +import { + to = gitea_repository.repo_trez_action-home-assistant + id = "Trez/action-home-assistant" +} + +import { + to = gitea_repository.repo_trez_renovate-config + id = "Trez/renovate-config" +} + +import { + to = gitea_repository.repo_trez_hc-vault-env + id = "Trez/hc-vault-env" +} + +import { + to = gitea_repository.repo_trez_docker-select-image-pull + id = "Trez/docker-select-image-pull" +} + +import { + to = gitea_repository.repo_trez_gitea-auto-pr + id = "Trez/gitea-auto-pr" +} + +import { + to = gitea_repository.repo_trez_ultima-ai + id = "Trez/ultima-ai" +}