From 7555e7e8002159e6906c6084454fa2a46141a640 Mon Sep 17 00:00:00 2001 From: thanhnv Date: Wed, 1 Jul 2026 13:49:38 +0900 Subject: [PATCH] =?UTF-8?q?fix(ci):=20increase=20job=20container=20memory?= =?UTF-8?q?=20limit=20512m=E2=86=92768m=20for=20harness=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sequential jobs (security-gate needs frontend-tests) mean only one container runs at a time. 768MB + Gitea/Vault/OS ~300MB fits within 1GB+swap headroom. Co-Authored-By: Claude Sonnet 4.6 --- AINative_OKR_CASAN5/.gitea/act-runner-config.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/AINative_OKR_CASAN5/.gitea/act-runner-config.yaml b/AINative_OKR_CASAN5/.gitea/act-runner-config.yaml index dc11b5c..b15258f 100644 --- a/AINative_OKR_CASAN5/.gitea/act-runner-config.yaml +++ b/AINative_OKR_CASAN5/.gitea/act-runner-config.yaml @@ -27,10 +27,11 @@ runner: container: network: bridge - # --memory 512m: prevent OOM on 1 GB VPS (build runs in HOST daemon, not job container) + # --memory 768m: allow harness tests headroom while leaving ~300MB for Gitea/Vault/OS. + # Jobs run sequentially (capacity: 1) so two containers never compete. # NOTE: act_runner already passes /var/run/docker.sock from its own mounts to job # containers; do NOT add it here or Docker will reject the duplicate bind mount. - options: "--memory 512m --cpus 1.5" + options: "--memory 768m --cpus 1.5" valid_volumes: - "**"