ci: use desktop resources; parallel shop/admin
Drop Pi memory knobs and build shop + admin in parallel after api. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d1eae094bb
commit
b494cde365
1 file changed
+1
-9
+1
-9
@@ -1,9 +1,4 @@
|
||||
# Drone CI/CD for iLED shop
|
||||
# Repo secrets (Drone UI → Settings → Secrets):
|
||||
# ssh_host, ssh_user, ssh_key — deploy host
|
||||
# ssh_port — optional, default 22
|
||||
# deploy_path — absolute path on host (e.g. /opt/iled-shop)
|
||||
#
|
||||
# Builds run on the Windows desktop agent (linux/amd64). Pi only hosts Drone.
|
||||
|
||||
kind: pipeline
|
||||
@@ -30,7 +25,6 @@ steps:
|
||||
environment:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: "1"
|
||||
DOTNET_NOLOGO: "1"
|
||||
MSBUILDDISABLENODEREUSE: "1"
|
||||
NUGET_PACKAGES: /drone-cache/nuget
|
||||
NUGET_HTTP_CACHE_PATH: /drone-cache/nuget-http
|
||||
DOTNET_CLI_HOME: /drone-cache/dotnet
|
||||
@@ -44,7 +38,6 @@ steps:
|
||||
image: node:22-bookworm
|
||||
pull: false
|
||||
environment:
|
||||
NODE_OPTIONS: "--max-old-space-size=3072"
|
||||
npm_config_cache: /drone-cache/npm
|
||||
commands:
|
||||
- cd src/shop
|
||||
@@ -57,14 +50,13 @@ steps:
|
||||
image: node:22-bookworm
|
||||
pull: false
|
||||
environment:
|
||||
NODE_OPTIONS: "--max-old-space-size=3072"
|
||||
npm_config_cache: /drone-cache/npm
|
||||
commands:
|
||||
- cd src/admin
|
||||
- npm ci --prefer-offline
|
||||
- npm run build -- --configuration=production
|
||||
depends_on:
|
||||
- shop
|
||||
- api
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
||||
Reference in new issue
Block a user