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
This commit is contained in:
parent
98bd487ff8
commit
7ce68ee36d
1 changed files with 5 additions and 8 deletions
|
|
@ -44,14 +44,11 @@ jobs:
|
||||||
--dns=8.8.4.4
|
--dns=8.8.4.4
|
||||||
--add-host=git.raines.xyz:host-gateway
|
--add-host=git.raines.xyz:host-gateway
|
||||||
--add-host=forgejo:host-gateway
|
--add-host=forgejo:host-gateway
|
||||||
# Memory and resource constraints to prevent SIGSEGV
|
# Memory and resource constraints to prevent SIGSEGV
|
||||||
--memory=8g
|
--memory=8g
|
||||||
--memory-swap=8g
|
--memory-swap=8g
|
||||||
--memory-reservation=6g
|
--memory-reservation=6g
|
||||||
--cpus=2.0
|
--cpus=2.0
|
||||||
--cpu-shares=1024
|
|
||||||
--cpu-period=100000
|
|
||||||
--cpu-quota=200000
|
|
||||||
# Shared memory and tmpfs for better performance
|
# Shared memory and tmpfs for better performance
|
||||||
--shm-size=2g
|
--shm-size=2g
|
||||||
--tmpfs=/tmp:size=4g,exec
|
--tmpfs=/tmp:size=4g,exec
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue