From 97bc3928665fb32ea5e6f415e1860f5bcf10cda4 Mon Sep 17 00:00:00 2001
From: Levente Polyak <anthraxx@archlinux.org>
Date: Thu, 15 Feb 2024 20:56:54 +0100
Subject: [PATCH] gitlab_runner: raise max memory to 2GB

This is required f.e. for the dbscripts pipeline where kcov coverage
requires quite a bit more memory and fails to run in parallel with 1GB
limit.
---
 roles/gitlab_runner/files/domain_template.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/gitlab_runner/files/domain_template.xml b/roles/gitlab_runner/files/domain_template.xml
index 7c359a10c..80ca49828 100644
--- a/roles/gitlab_runner/files/domain_template.xml
+++ b/roles/gitlab_runner/files/domain_template.xml
@@ -1,6 +1,6 @@
 <domain type='kvm'>
   <name>$vm_name</name>
-  <memory unit='MiB'>1024</memory>
+  <memory unit='MiB'>2048</memory>
   <vcpu>4</vcpu>
   <os>
     <type arch='x86_64' machine='q35'>hvm</type>
-- 
GitLab