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