From ee58f11546a29307a3ced9715400187c7c4ca263 Mon Sep 17 00:00:00 2001 From: Yaya Date: Tue, 20 May 2025 13:17:10 +0200 Subject: [PATCH] nixos/gitlab: update minimum PostgreSQL version assertion GitLab 18.0.0 requires at least PostgreSQL 16. https://docs.gitlab.com/18.0/install/requirements/#postgresql --- nixos/modules/services/misc/gitlab.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index 646846c781ef..09dafdda600a 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -1237,8 +1237,8 @@ in message = "services.gitlab.secrets.activeRecordSaltFile must be set!"; } { - assertion = versionAtLeast postgresqlPackage.version "14.9"; - message = "PostgreSQL >= 14.9 is required to run GitLab 17. Follow the instructions in the manual section for upgrading PostgreSQL here: https://nixos.org/manual/nixos/stable/index.html#module-services-postgres-upgrading"; + assertion = versionAtLeast postgresqlPackage.version "16"; + message = "PostgreSQL >= 16 is required to run GitLab 18. Follow the instructions in the manual section for upgrading PostgreSQL here: https://nixos.org/manual/nixos/stable/index.html#module-services-postgres-upgrading"; } ];