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
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:
@@ -15,8 +15,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
renovate:
|
renovate:
|
||||||
name: Renovate Dependencies
|
name: Renovate Dependencies
|
||||||
# Non-heavy workflow: allow any host exposing the generic ubuntu-act label.
|
# Renovate is npm/registry heavy; restrict to 8GB-capacity runners.
|
||||||
runs-on: ubuntu-act
|
runs-on: ubuntu-act-8gb
|
||||||
timeout-minutes: 90
|
timeout-minutes: 90
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -27,11 +27,11 @@ WARMUP_IMAGES = [
|
|||||||
"ghcr.io/renovatebot/renovate:41",
|
"ghcr.io/renovatebot/renovate:41",
|
||||||
]
|
]
|
||||||
|
|
||||||
DEFAULT_MEM_FRACTION = 0.75
|
DEFAULT_MEM_FRACTION = 0.5
|
||||||
DEFAULT_JOB_MEM_FRACTION = 0.9
|
DEFAULT_JOB_MEM_FRACTION = 0.9
|
||||||
DEFAULT_HOST_MEM_SHARE = 0.25
|
DEFAULT_HOST_MEM_SHARE = 1.0
|
||||||
DEFAULT_HOST_CPU_SHARE = 0.25
|
DEFAULT_HOST_CPU_SHARE = 1.0
|
||||||
DEFAULT_CPU_FRACTION = 1.0
|
DEFAULT_CPU_FRACTION = 0.5
|
||||||
DEFAULT_JOB_CPU_FRACTION = 0.9
|
DEFAULT_JOB_CPU_FRACTION = 0.9
|
||||||
DEFAULT_RUNNER_MEM_SWAP_FACTOR = 1.0
|
DEFAULT_RUNNER_MEM_SWAP_FACTOR = 1.0
|
||||||
DEFAULT_JOB_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):
|
def warm_runner_images(host):
|
||||||
pulls = "\n".join([f"docker pull {image}" for image in WARMUP_IMAGES])
|
pulls = " && ".join([f"docker pull {image}" for image in WARMUP_IMAGES])
|
||||||
rc, out = ssh(
|
remote_cmd = (
|
||||||
host,
|
"echo warming_runner_images_start && "
|
||||||
(
|
f"{pulls} && "
|
||||||
"set -e\n"
|
"echo warming_runner_images_done"
|
||||||
"echo 'warming_runner_images_start'\n"
|
|
||||||
f"{pulls}\n"
|
|
||||||
"echo 'warming_runner_images_done'\n"
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
|
rc, out = ssh(host, remote_cmd)
|
||||||
return rc, out
|
return rc, out
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user