From 0da8e4b6d25f2965edf5f6c025424dc8ac0e183b Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 26 Jan 2021 21:57:40 -0500 Subject: [PATCH] Rename git-jeremydormitzer-com -> gitea --- mgmt/do-jeremydormitzer-com/terraform/data.tf | 2 +- mgmt/do-project-jeremydormitzer/terraform/data.tf | 2 +- mgmt/do-project-jeremydormitzer/terraform/main.tf | 5 +++-- prod/{git-jeremydormitzer-com => gitea}/packer/.envrc | 0 prod/{git-jeremydormitzer-com => gitea}/packer/.gitignore | 0 prod/{git-jeremydormitzer-com => gitea}/packer/Makefile | 0 .../packer/files/gitea-nginx.conf | 0 .../packer/files/gitea.service | 0 prod/{git-jeremydormitzer-com => gitea}/packer/gitea.json | 0 .../packer/packer-manifest.json | 0 .../packer/scripts/dependencies.sh | 0 .../packer/scripts/gitea.sh | 0 .../packer/scripts/nginx.sh | 0 .../packer/scripts/volume.sh | 0 .../packer/templates/app.ini.template | 0 .../packer/templates/do.ini.template | 0 .../terraform/.terraform.lock.hcl | 0 prod/{git-jeremydormitzer-com => gitea}/terraform/main.tf | 0 prod/{git-jeremydormitzer-com => gitea}/terraform/outputs.tf | 0 .../terraform/terraform.tf | 2 +- .../terraform/variables.tf | 0 21 files changed, 6 insertions(+), 5 deletions(-) rename prod/{git-jeremydormitzer-com => gitea}/packer/.envrc (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/.gitignore (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/Makefile (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/files/gitea-nginx.conf (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/files/gitea.service (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/gitea.json (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/packer-manifest.json (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/scripts/dependencies.sh (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/scripts/gitea.sh (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/scripts/nginx.sh (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/scripts/volume.sh (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/templates/app.ini.template (100%) rename prod/{git-jeremydormitzer-com => gitea}/packer/templates/do.ini.template (100%) rename prod/{git-jeremydormitzer-com => gitea}/terraform/.terraform.lock.hcl (100%) rename prod/{git-jeremydormitzer-com => gitea}/terraform/main.tf (100%) rename prod/{git-jeremydormitzer-com => gitea}/terraform/outputs.tf (100%) rename prod/{git-jeremydormitzer-com => gitea}/terraform/terraform.tf (86%) rename prod/{git-jeremydormitzer-com => gitea}/terraform/variables.tf (100%) diff --git a/mgmt/do-jeremydormitzer-com/terraform/data.tf b/mgmt/do-jeremydormitzer-com/terraform/data.tf index f503fc1..8d58a05 100644 --- a/mgmt/do-jeremydormitzer-com/terraform/data.tf +++ b/mgmt/do-jeremydormitzer-com/terraform/data.tf @@ -9,7 +9,7 @@ data "terraform_remote_state" "git_jeremydormitzer_com" { region = "us-east-1" endpoint = "nyc3.digitaloceanspaces.com" bucket = "jdormit-tf-state" - key = "prod/git-jeremydormitzer-com.tfstate" + key = "prod/gitea.tfstate" } } diff --git a/mgmt/do-project-jeremydormitzer/terraform/data.tf b/mgmt/do-project-jeremydormitzer/terraform/data.tf index 9c59f0e..6da504f 100644 --- a/mgmt/do-project-jeremydormitzer/terraform/data.tf +++ b/mgmt/do-project-jeremydormitzer/terraform/data.tf @@ -24,7 +24,7 @@ data "terraform_remote_state" "git_jeremydormitzer_com" { region = "us-east-1" endpoint = "nyc3.digitaloceanspaces.com" bucket = "jdormit-tf-state" - key = "prod/git-jeremydormitzer-com.tfstate" + key = "prod/gitea.tfstate" } } diff --git a/mgmt/do-project-jeremydormitzer/terraform/main.tf b/mgmt/do-project-jeremydormitzer/terraform/main.tf index 44c5af1..64130d2 100644 --- a/mgmt/do-project-jeremydormitzer/terraform/main.tf +++ b/mgmt/do-project-jeremydormitzer/terraform/main.tf @@ -12,8 +12,9 @@ resource "digitalocean_project" "jeremy_dormitzer" { resources = [ data.terraform_remote_state.jdormit_website.outputs.jdormit_website_urn, data.terraform_remote_state.git_jeremydormitzer_com.outputs.git_urn, - data.terraform_remote_state.syncthing.outputs.syncthing_urn, - data.terraform_remote_state.syncthing.outputs.syncthing_volume_urn, + data.terraform_remote_state.git_jeremydormitzer_com.outputs.gitea_urn, + data.terraform_remote_state.syncthing.outputs.urn, + data.terraform_remote_state.syncthing.outputs.volume_urn, data.terraform_remote_state.justin_ghost_site.outputs.justin_ghost_site_urn, data.terraform_remote_state.jeremydormitzer_com.outputs.jeremydormitzer_com_urn ] diff --git a/prod/git-jeremydormitzer-com/packer/.envrc b/prod/gitea/packer/.envrc similarity index 100% rename from prod/git-jeremydormitzer-com/packer/.envrc rename to prod/gitea/packer/.envrc diff --git a/prod/git-jeremydormitzer-com/packer/.gitignore b/prod/gitea/packer/.gitignore similarity index 100% rename from prod/git-jeremydormitzer-com/packer/.gitignore rename to prod/gitea/packer/.gitignore diff --git a/prod/git-jeremydormitzer-com/packer/Makefile b/prod/gitea/packer/Makefile similarity index 100% rename from prod/git-jeremydormitzer-com/packer/Makefile rename to prod/gitea/packer/Makefile diff --git a/prod/git-jeremydormitzer-com/packer/files/gitea-nginx.conf b/prod/gitea/packer/files/gitea-nginx.conf similarity index 100% rename from prod/git-jeremydormitzer-com/packer/files/gitea-nginx.conf rename to prod/gitea/packer/files/gitea-nginx.conf diff --git a/prod/git-jeremydormitzer-com/packer/files/gitea.service b/prod/gitea/packer/files/gitea.service similarity index 100% rename from prod/git-jeremydormitzer-com/packer/files/gitea.service rename to prod/gitea/packer/files/gitea.service diff --git a/prod/git-jeremydormitzer-com/packer/gitea.json b/prod/gitea/packer/gitea.json similarity index 100% rename from prod/git-jeremydormitzer-com/packer/gitea.json rename to prod/gitea/packer/gitea.json diff --git a/prod/git-jeremydormitzer-com/packer/packer-manifest.json b/prod/gitea/packer/packer-manifest.json similarity index 100% rename from prod/git-jeremydormitzer-com/packer/packer-manifest.json rename to prod/gitea/packer/packer-manifest.json diff --git a/prod/git-jeremydormitzer-com/packer/scripts/dependencies.sh b/prod/gitea/packer/scripts/dependencies.sh similarity index 100% rename from prod/git-jeremydormitzer-com/packer/scripts/dependencies.sh rename to prod/gitea/packer/scripts/dependencies.sh diff --git a/prod/git-jeremydormitzer-com/packer/scripts/gitea.sh b/prod/gitea/packer/scripts/gitea.sh similarity index 100% rename from prod/git-jeremydormitzer-com/packer/scripts/gitea.sh rename to prod/gitea/packer/scripts/gitea.sh diff --git a/prod/git-jeremydormitzer-com/packer/scripts/nginx.sh b/prod/gitea/packer/scripts/nginx.sh similarity index 100% rename from prod/git-jeremydormitzer-com/packer/scripts/nginx.sh rename to prod/gitea/packer/scripts/nginx.sh diff --git a/prod/git-jeremydormitzer-com/packer/scripts/volume.sh b/prod/gitea/packer/scripts/volume.sh similarity index 100% rename from prod/git-jeremydormitzer-com/packer/scripts/volume.sh rename to prod/gitea/packer/scripts/volume.sh diff --git a/prod/git-jeremydormitzer-com/packer/templates/app.ini.template b/prod/gitea/packer/templates/app.ini.template similarity index 100% rename from prod/git-jeremydormitzer-com/packer/templates/app.ini.template rename to prod/gitea/packer/templates/app.ini.template diff --git a/prod/git-jeremydormitzer-com/packer/templates/do.ini.template b/prod/gitea/packer/templates/do.ini.template similarity index 100% rename from prod/git-jeremydormitzer-com/packer/templates/do.ini.template rename to prod/gitea/packer/templates/do.ini.template diff --git a/prod/git-jeremydormitzer-com/terraform/.terraform.lock.hcl b/prod/gitea/terraform/.terraform.lock.hcl similarity index 100% rename from prod/git-jeremydormitzer-com/terraform/.terraform.lock.hcl rename to prod/gitea/terraform/.terraform.lock.hcl diff --git a/prod/git-jeremydormitzer-com/terraform/main.tf b/prod/gitea/terraform/main.tf similarity index 100% rename from prod/git-jeremydormitzer-com/terraform/main.tf rename to prod/gitea/terraform/main.tf diff --git a/prod/git-jeremydormitzer-com/terraform/outputs.tf b/prod/gitea/terraform/outputs.tf similarity index 100% rename from prod/git-jeremydormitzer-com/terraform/outputs.tf rename to prod/gitea/terraform/outputs.tf diff --git a/prod/git-jeremydormitzer-com/terraform/terraform.tf b/prod/gitea/terraform/terraform.tf similarity index 86% rename from prod/git-jeremydormitzer-com/terraform/terraform.tf rename to prod/gitea/terraform/terraform.tf index 5a46fa2..4db9a04 100644 --- a/prod/git-jeremydormitzer-com/terraform/terraform.tf +++ b/prod/gitea/terraform/terraform.tf @@ -13,6 +13,6 @@ terraform { region = "us-east-1" endpoint = "nyc3.digitaloceanspaces.com" bucket = "jdormit-tf-state" - key = "prod/git-jeremydormitzer-com.tfstate" + key = "prod/gitea.tfstate" } } diff --git a/prod/git-jeremydormitzer-com/terraform/variables.tf b/prod/gitea/terraform/variables.tf similarity index 100% rename from prod/git-jeremydormitzer-com/terraform/variables.tf rename to prod/gitea/terraform/variables.tf