From a1f651235fb7ac2b3dd244c9649176e874bc51c4 Mon Sep 17 00:00:00 2001
From: Stefan Haun <tux@netz39.de>
Date: Thu, 24 Oct 2024 10:31:13 +0200
Subject: [PATCH 1/4] Upgrade forgejo to v7

---
 host_vars/pottwal.n39.eu/vars.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/host_vars/pottwal.n39.eu/vars.yml b/host_vars/pottwal.n39.eu/vars.yml
index a612d01..650a8df 100644
--- a/host_vars/pottwal.n39.eu/vars.yml
+++ b/host_vars/pottwal.n39.eu/vars.yml
@@ -12,7 +12,7 @@ cleanuri_amqp_vhost: "/cleanuri"
 forgejo_host_port: 9091
 forgejo_ssh_port: 2222
 forgejo_domain_name: git.n39.eu
-forgejo_image: codeberg.org/forgejo/forgejo:1.21.11-0
+forgejo_image: codeberg.org/forgejo/forgejo:7
 
 shlink_host_port: 8083
 shlink_domain_name: sl.n39.eu

From 1bdf8068d75643a8de261cc24b7addd6f4ba90c9 Mon Sep 17 00:00:00 2001
From: Stefan Haun <tux@netz39.de>
Date: Thu, 24 Oct 2024 10:33:02 +0200
Subject: [PATCH 2/4] Upgrade forgejo to v8

---
 host_vars/pottwal.n39.eu/vars.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/host_vars/pottwal.n39.eu/vars.yml b/host_vars/pottwal.n39.eu/vars.yml
index 650a8df..7ce6407 100644
--- a/host_vars/pottwal.n39.eu/vars.yml
+++ b/host_vars/pottwal.n39.eu/vars.yml
@@ -12,7 +12,7 @@ cleanuri_amqp_vhost: "/cleanuri"
 forgejo_host_port: 9091
 forgejo_ssh_port: 2222
 forgejo_domain_name: git.n39.eu
-forgejo_image: codeberg.org/forgejo/forgejo:7
+forgejo_image: codeberg.org/forgejo/forgejo:8
 
 shlink_host_port: 8083
 shlink_domain_name: sl.n39.eu

From fd2445361d71fdf6c23637cf41eb576772032f71 Mon Sep 17 00:00:00 2001
From: Stefan Haun <tux@netz39.de>
Date: Thu, 24 Oct 2024 10:37:44 +0200
Subject: [PATCH 3/4] Upgrade forgejo to v9

---
 host_vars/pottwal.n39.eu/vars.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/host_vars/pottwal.n39.eu/vars.yml b/host_vars/pottwal.n39.eu/vars.yml
index 7ce6407..bd61cd2 100644
--- a/host_vars/pottwal.n39.eu/vars.yml
+++ b/host_vars/pottwal.n39.eu/vars.yml
@@ -12,7 +12,7 @@ cleanuri_amqp_vhost: "/cleanuri"
 forgejo_host_port: 9091
 forgejo_ssh_port: 2222
 forgejo_domain_name: git.n39.eu
-forgejo_image: codeberg.org/forgejo/forgejo:8
+forgejo_image: codeberg.org/forgejo/forgejo:9
 
 shlink_host_port: 8083
 shlink_domain_name: sl.n39.eu

From 131920f29e40762f240e399b1d9146db0b6666e1 Mon Sep 17 00:00:00 2001
From: Stefan Haun <tux@netz39.de>
Date: Thu, 24 Oct 2024 10:40:18 +0200
Subject: [PATCH 4/4] After upgrading, pin to 9.0.0

---
 host_vars/pottwal.n39.eu/vars.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/host_vars/pottwal.n39.eu/vars.yml b/host_vars/pottwal.n39.eu/vars.yml
index bd61cd2..c663808 100644
--- a/host_vars/pottwal.n39.eu/vars.yml
+++ b/host_vars/pottwal.n39.eu/vars.yml
@@ -12,7 +12,7 @@ cleanuri_amqp_vhost: "/cleanuri"
 forgejo_host_port: 9091
 forgejo_ssh_port: 2222
 forgejo_domain_name: git.n39.eu
-forgejo_image: codeberg.org/forgejo/forgejo:9
+forgejo_image: codeberg.org/forgejo/forgejo:9.0.0
 
 shlink_host_port: 8083
 shlink_domain_name: sl.n39.eu