From 7ce68ee36dda835dbc42f7042b6b1a2b2eb85034 Mon Sep 17 00:00:00 2001 From: robojerk Date: Sun, 10 Aug 2025 12:04:57 -0700 Subject: [PATCH] Fix Docker resource constraints and remove conflicting workflow - Remove conflicting CPU options (Nano CPUs vs CPU Period) - Delete old simple-build.yml workflow to prevent conflicts - Keep memory and CPU limits that work together - Ensure build-artifacts.yml is the only active workflow --- .forgejo/workflows/build-artifacts.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/build-artifacts.yml b/.forgejo/workflows/build-artifacts.yml index 939c745..efd4667 100644 --- a/.forgejo/workflows/build-artifacts.yml +++ b/.forgejo/workflows/build-artifacts.yml @@ -44,14 +44,11 @@ jobs: --dns=8.8.4.4 --add-host=git.raines.xyz:host-gateway --add-host=forgejo:host-gateway - # Memory and resource constraints to prevent SIGSEGV - --memory=8g - --memory-swap=8g - --memory-reservation=6g - --cpus=2.0 - --cpu-shares=1024 - --cpu-period=100000 - --cpu-quota=200000 + # Memory and resource constraints to prevent SIGSEGV + --memory=8g + --memory-swap=8g + --memory-reservation=6g + --cpus=2.0 # Shared memory and tmpfs for better performance --shm-size=2g --tmpfs=/tmp:size=4g,exec