chore: tune runner defaults and pin renovate to 8gb
Some checks failed
CICD / Build and Publish CICD Base Image (push) Successful in 33s
CICD / Build and Push CICD Image (push) Successful in 14m57s
CICD / Build CICD Image Failure Postmortem (push) Has been skipped
CICD / Backend Tests (push) Failing after 32s
CICD / Frontend Tests (push) Successful in 22s
CICD / Backend Doctests (push) Successful in 20s
CICD / Frontend Dependency Audit (push) Failing after 4m51s
CICD / Backend Dependency Audit (push) Failing after 54s
CICD / Pre-commit Checks (push) Successful in 15m25s
CICD / Source Lanes Failure Postmortem (push) Failing after 13m41s
CICD / CICD Tests Complete (push) Failing after 13m52s
CICD / Build Backend Base Image (push) Has been cancelled
CICD / Build Frontend Base Image (push) Has been cancelled
CICD / Build Integration Tester Image (push) Has been cancelled
CICD / Build E2E Tester Image (push) Has been cancelled
CICD / Build Backend Main Image (push) Has been cancelled
CICD / Build Frontend Main Image (push) Has been cancelled
CICD / Production Images Complete (push) Has been cancelled
CICD / Production Image Failures Postmortem (push) Has been cancelled
CICD / Runtime Black-Box Integration Tests (push) Has been cancelled
CICD / Integration Tests Failure Postmortem (push) Has been cancelled
CICD / End-to-End Tests (push) Has been cancelled
CICD / E2E Tests Failure Postmortem (push) Has been cancelled

This commit is contained in:
copilotcoder
2026-07-14 10:12:57 -04:00
parent 484bfbf74f
commit a2d7013dd4
2 changed files with 12 additions and 15 deletions

View File

@@ -27,11 +27,11 @@ WARMUP_IMAGES = [
"ghcr.io/renovatebot/renovate:41",
]
DEFAULT_MEM_FRACTION = 0.75
DEFAULT_MEM_FRACTION = 0.5
DEFAULT_JOB_MEM_FRACTION = 0.9
DEFAULT_HOST_MEM_SHARE = 0.25
DEFAULT_HOST_CPU_SHARE = 0.25
DEFAULT_CPU_FRACTION = 1.0
DEFAULT_HOST_MEM_SHARE = 1.0
DEFAULT_HOST_CPU_SHARE = 1.0
DEFAULT_CPU_FRACTION = 0.5
DEFAULT_JOB_CPU_FRACTION = 0.9
DEFAULT_RUNNER_MEM_SWAP_FACTOR = 1.0
DEFAULT_JOB_MEM_SWAP_FACTOR = 1.0
@@ -268,16 +268,13 @@ def scp(local_path, host, remote_path):
def warm_runner_images(host):
pulls = "\n".join([f"docker pull {image}" for image in WARMUP_IMAGES])
rc, out = ssh(
host,
(
"set -e\n"
"echo 'warming_runner_images_start'\n"
f"{pulls}\n"
"echo 'warming_runner_images_done'\n"
),
pulls = " && ".join([f"docker pull {image}" for image in WARMUP_IMAGES])
remote_cmd = (
"echo warming_runner_images_start && "
f"{pulls} && "
"echo warming_runner_images_done"
)
rc, out = ssh(host, remote_cmd)
return rc, out