ci: 6 GB to install, 4 GB to test, 2 vCPUs: lean with headroom

This commit is contained in:
theupriser committed 2026-09-30 08:25:53 +02:00
1 parent d002c7d332
commit cfacfb2493
1 file changed
+3 -3
+3 -3
View File
@@ -93,7 +93,7 @@ jobs:
options: --privileged options: --privileged
strategy: strategy:
fail-fast: false fail-fast: false
# The runner has ~20 GB of RAM for this: an install VM takes 4 GB (4 GB once installed too), so two at a time (needs the # The runner has ~20 GB of RAM for this: an install VM takes 6 GB (4 GB once installed), so two at a time (needs the
# runner's `capacity: 2`; with 1 they run one after the other). # runner's `capacity: 2`; with 1 they run one after the other).
max-parallel: 2 max-parallel: 2
matrix: matrix:
@@ -134,8 +134,8 @@ jobs:
VM_TIMEZONE: UTC VM_TIMEZONE: UTC
# The runner is 4 cores / 8 threads: two VMs with 2 vCPUs leave 4 threads for the host and the runner. # The runner is 4 cores / 8 threads: two VMs with 2 vCPUs leave 4 threads for the host and the runner.
VM_CPUS: "2" VM_CPUS: "2"
# RAM of the live installer VM (the ISO is read from its cdrom, only the overlay and the installer use RAM); 8 GB is the local default, this is the lean end: raise it if an install dies out of memory # RAM of the live installer VM (the ISO is read from its cdrom, only the overlay and the installer use RAM); 8 GB is the local default, lean with headroom: lower it only after a run shows the install stays well under
VM_INSTALL_MEM: 4G VM_INSTALL_MEM: 6G
VM_ISO_DIR: ${{ github.workspace }}/iso VM_ISO_DIR: ${{ github.workspace }}/iso
run: | run: |
mkdir -p ~/.ssh ~/vms/pkg-cache mkdir -p ~/.ssh ~/vms/pkg-cache