fix(build): now respects core limitations

This commit is contained in:
2026-04-27 21:49:46 +02:00
parent 761b48f535
commit 18e834b08c
+2
View File
@@ -60,6 +60,8 @@ echo "[entrypoint] Starting polling loop, interval: ${POLL_INTERVAL_SECONDS}s"
exec sudo -u builduser --preserve-env HOME=/home/builduser bash -c '
set -euo pipefail
POLL_INTERVAL_SECONDS="'"${POLL_INTERVAL_SECONDS}"'"
NPROC="'"${NPROC:-}"'"
[[ -n "${NPROC}" ]] && export NPROC
while true; do
/workspace/scripts/check-update.sh
echo "[entrypoint] Sleeping for ${POLL_INTERVAL_SECONDS}s"