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
|
# ssh_port — optional, default 22
|
||||||
# deploy_path — absolute path on host (e.g. /opt/iled-shop)
|
# deploy_path — absolute path on host (e.g. /opt/iled-shop)
|
||||||
#
|
#
|
||||||
# Homelab runner: Pi-hole DNS → Traefik LAN; /drone-cache for npm/nuget.
|
# Builds run on the Windows desktop agent (linux/amd64). Pi only hosts Drone.
|
||||||
# Steps stay serial + single-worker so builds fit under DRONE_MEMORY_LIMIT (~2GiB).
|
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
@@ -13,7 +12,7 @@ name: ci
|
|||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: amd64
|
||||||
|
|
||||||
dns:
|
dns:
|
||||||
- 192.168.0.64
|
- 192.168.0.64
|
||||||
@@ -39,14 +38,13 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- cd src/backend
|
- cd src/backend
|
||||||
- dotnet restore iLED.slnx
|
- dotnet restore iLED.slnx
|
||||||
- dotnet build iLED.slnx -c Release --no-restore -m:1
|
- dotnet build iLED.slnx -c Release --no-restore
|
||||||
|
|
||||||
- name: shop
|
- name: shop
|
||||||
image: node:22-bookworm
|
image: node:22-bookworm
|
||||||
pull: false
|
pull: false
|
||||||
environment:
|
environment:
|
||||||
NG_BUILD_MAX_WORKERS: "1"
|
NODE_OPTIONS: "--max-old-space-size=3072"
|
||||||
NODE_OPTIONS: "--max-old-space-size=1536"
|
|
||||||
npm_config_cache: /drone-cache/npm
|
npm_config_cache: /drone-cache/npm
|
||||||
commands:
|
commands:
|
||||||
- cd src/shop
|
- cd src/shop
|
||||||
@@ -59,8 +57,7 @@ steps:
|
|||||||
image: node:22-bookworm
|
image: node:22-bookworm
|
||||||
pull: false
|
pull: false
|
||||||
environment:
|
environment:
|
||||||
NG_BUILD_MAX_WORKERS: "1"
|
NODE_OPTIONS: "--max-old-space-size=3072"
|
||||||
NODE_OPTIONS: "--max-old-space-size=1536"
|
|
||||||
npm_config_cache: /drone-cache/npm
|
npm_config_cache: /drone-cache/npm
|
||||||
commands:
|
commands:
|
||||||
- cd src/admin
|
- cd src/admin
|
||||||
@@ -82,7 +79,7 @@ name: deploy
|
|||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: amd64
|
||||||
|
|
||||||
dns:
|
dns:
|
||||||
- 192.168.0.64
|
- 192.168.0.64
|
||||||
|
|||||||
Reference in new issue
Block a user