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 \ && mkdir -p /root/ssh \
&& ssh-keyscan -H github.com > /root/ssh/known_hosts && ssh-keyscan -H github.com > /root/ssh/known_hosts
ENV PYTHON=python3
RUN yarn cache clean \ 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 \ && apt-get autoremove --purge -y python git build-essential \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& yarn cache clean \ && yarn cache clean \

View File

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