From d1eae094bb09570ce5448f7662e4df74f8b62a73 Mon Sep 17 00:00:00 2001 From: miczek Date: Thu, 15 Oct 2026 04:28:58 +0300 Subject: [PATCH] ci: run on desktop amd64 agent Switch platform to amd64 for the Windows Docker runner and drop Pi-only single-worker / tiny-heap limits. Co-authored-by: Cursor --- .drone.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index dc1a35f..d790c2b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,8 +4,7 @@ # ssh_port — optional, default 22 # deploy_path — absolute path on host (e.g. /opt/iled-shop) # -# Homelab runner: Pi-hole DNS → Traefik LAN; /drone-cache for npm/nuget. -# Steps stay serial + single-worker so builds fit under DRONE_MEMORY_LIMIT (~2GiB). +# Builds run on the Windows desktop agent (linux/amd64). Pi only hosts Drone. kind: pipeline type: docker @@ -13,7 +12,7 @@ name: ci platform: os: linux - arch: arm64 + arch: amd64 dns: - 192.168.0.64 @@ -39,14 +38,13 @@ steps: commands: - cd src/backend - dotnet restore iLED.slnx - - dotnet build iLED.slnx -c Release --no-restore -m:1 + - dotnet build iLED.slnx -c Release --no-restore - name: shop image: node:22-bookworm pull: false environment: - NG_BUILD_MAX_WORKERS: "1" - NODE_OPTIONS: "--max-old-space-size=1536" + NODE_OPTIONS: "--max-old-space-size=3072" npm_config_cache: /drone-cache/npm commands: - cd src/shop @@ -59,8 +57,7 @@ steps: image: node:22-bookworm pull: false environment: - NG_BUILD_MAX_WORKERS: "1" - NODE_OPTIONS: "--max-old-space-size=1536" + NODE_OPTIONS: "--max-old-space-size=3072" npm_config_cache: /drone-cache/npm commands: - cd src/admin @@ -82,7 +79,7 @@ name: deploy platform: os: linux - arch: arm64 + arch: amd64 dns: - 192.168.0.64