Move NODE_OPTIONS before npm ci and bump pod memory to 4Gi
npm ci can also OOM during dependency installation. Move the heap limit before npm ci so it applies to all Node processes. Bump Drone pod limits to 4Gi (requests 2Gi) to cover Docker-in-Docker overhead.
This commit is contained in:
parent
fd4864fd03
commit
25c87da1cf
2 changed files with 7 additions and 7 deletions
|
|
@ -25,9 +25,9 @@ steps:
|
|||
image: plugins/docker
|
||||
resources:
|
||||
requests:
|
||||
memory: 1610612736
|
||||
memory: 2147483648
|
||||
limits:
|
||||
memory: 3221225472
|
||||
memory: 4294967296
|
||||
settings:
|
||||
username: viktorbarzin
|
||||
password:
|
||||
|
|
@ -45,9 +45,9 @@ steps:
|
|||
image: plugins/docker
|
||||
resources:
|
||||
requests:
|
||||
memory: 1610612736
|
||||
memory: 2147483648
|
||||
limits:
|
||||
memory: 3221225472
|
||||
memory: 4294967296
|
||||
settings:
|
||||
username: viktorbarzin
|
||||
password:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue