From 71ba2be9ea8721f74ca9b45c658a9f92edf03d5c Mon Sep 17 00:00:00 2001 From: David Leadbeater Date: Thu, 11 Jan 2024 15:12:00 +1100 Subject: [PATCH] Reduce VM resources for cgroups v2 CI jobs This may make this less flakey --- hack/ci/Vagrantfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hack/ci/Vagrantfile b/hack/ci/Vagrantfile index a1b83b0c63..3b004cb8c2 100644 --- a/hack/ci/Vagrantfile +++ b/hack/ci/Vagrantfile @@ -11,8 +11,11 @@ Vagrant.configure("2") do |config| # macOS github actions runners have 3 cores and 14 GB of ram # assume some ram is needed for the host environment but very little CPU # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners - memory = 10240 - cpus = 3 + # however per + # https://github.com/actions/runner-images/issues/8730#issuecomment-1872615814 + # reducing the requirements may make this more reliable. + memory = 6*1024 + cpus = 2 config.vm.provider :virtualbox do |v| v.memory = memory v.cpus = cpus