Compare commits

...

4 Commits

Author SHA1 Message Date
Jordi Bertran de Balanda 0b653f9da5 old space size in shellcommand step 2022-07-13 17:13:00 +02:00
Jordi Bertran de Balanda 81185b0af0 check available memory 2022-07-13 12:01:59 +02:00
Jordi Bertran de Balanda f3837d9e43 bump old space size to 8Gi just in case 2022-07-13 11:27:41 +02:00
Will Toozs 12c9efbbd6
improvement/CLDSRV-234: increase build memeory 2022-07-12 16:03:17 +02:00
2 changed files with 10 additions and 6 deletions

View File

@ -35,9 +35,9 @@ RUN apt-get update \
&& mkdir -p /root/ssh \
&& ssh-keyscan -H github.com > /root/ssh/known_hosts
ENV PYTHON=python3
RUN yarn cache clean \
&& yarn install --production --ignore-optional --ignore-engines --network-concurrency 1 \
&& NODE_OPTIONS="--max-old-space-size=8192" \
yarn install --production --ignore-optional --ignore-engines --network-concurrency 1 \
&& apt-get autoremove --purge -y python git build-essential \
&& rm -rf /var/lib/apt/lists/* \
&& yarn cache clean \

View File

@ -94,6 +94,8 @@ models:
name: install modules
command: yarn install --ignore-engines --frozen-lockfile --network-concurrency 1
haltOnFailure: true
env:
NODE_OPTIONS: --max-old-space-size=8192
- ShellCommand: &check-s3-action-logs
name: Check s3 action logs
command: |
@ -351,7 +353,7 @@ stages:
s3: "."
vars:
aggressorMem: "2Gi"
s3Mem: "1664Mi"
s3Mem: "6Gi"
redis: enabled
env:
<<: *mongo-vars
@ -360,6 +362,8 @@ stages:
steps:
- Git: *clone
- ShellCommand: *credentials
- ShellCommand:
command: free -m
- ShellCommand: *yarn-install
- ShellCommand:
command: |
@ -384,7 +388,7 @@ stages:
s3: "."
vars:
aggressorMem: "2Gi"
s3Mem: "1664Mi"
s3Mem: "6Gi"
redis: enabled
env:
<<: *mongo-vars
@ -453,7 +457,7 @@ stages:
pykmip: eve/workers/pykmip
vars:
aggressorMem: "2Gi"
s3Mem: "1664Mi"
s3Mem: "6Gi"
redis: enabled
pykmip: enabled
env:
@ -492,7 +496,7 @@ stages:
s3: "."
vars:
aggressorMem: "2Gi"
s3Mem: "2Gi"
s3Mem: "6Gi"
env:
ENABLE_UTAPI_V2: t
S3BACKEND: mem