Switch platform to amd64 for the Windows Docker runner and drop Pi-only single-worker / tiny-heap limits. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
4e2756eee5
commit
d1eae094bb
1 file changed
+6
-9
+6
-9
@@ -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
|
||||
|
||||
Reference in new issue
Block a user