From aec13ec3ab447bfea20cea3c0c115f19a3c3f58f Mon Sep 17 00:00:00 2001
From: Kristian Klausen <kristian@klausen.dk>
Date: Wed, 10 Aug 2022 21:53:08 +0200
Subject: [PATCH] Provision server for repos-git POC

anthraxx wants some infra for a repos-git POC, so let's give it to him!

The server has been configured with the common and firewalld role, but
is unmanaged.
---
 tf-stage1/archlinux.tf | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tf-stage1/archlinux.tf b/tf-stage1/archlinux.tf
index 0b74ad590..21c537ffa 100644
--- a/tf-stage1/archlinux.tf
+++ b/tf-stage1/archlinux.tf
@@ -141,6 +141,10 @@ locals {
       server_type = "cx11"
       domain      = "redirect"
     }
+    "repos-git.archlinux.org" = {
+      server_type = "cpx11"
+      domain      = "repos-git"
+    }
     "reproducible.archlinux.org" = {
       server_type = "cx11"
       domain      = "reproducible"
@@ -623,3 +627,10 @@ resource "hcloud_volume" "debuginfod" {
   server_id         = hcloud_server.machine["debuginfod.archlinux.org"].id
   delete_protection = true
 }
+
+resource "hcloud_volume" "repos-git" {
+  name              = "repos-git"
+  size              = 100
+  server_id         = hcloud_server.machine["repos-git.archlinux.org"].id
+  delete_protection = true
+}
-- 
GitLab