test ram utilization
Some checks failed
Deploy / CreateImage (push) Failing after 4m17s
Deploy / DeployService (push) Has been skipped

This commit is contained in:
skeris 2025-03-30 01:41:17 +03:00
parent 353d03bfcc
commit c044c66876
4 changed files with 6 additions and 3 deletions

@ -1,10 +1,10 @@
FROM gitea.pena/penadevops/container-images/node:main as build FROM gitea.pena/penadevops/container-images/node:v20.14.0 as build
WORKDIR /usr/app WORKDIR /usr/app
COPY . . COPY . .
RUN npm install --force && yarn cache clean RUN npm install --force && yarn cache clean
RUN npm run build RUN psstat.sh "npm run build"
FROM gitea.pena/penadevops/container-images/nginx:main as result FROM gitea.pena/penadevops/container-images/nginx:main as result

BIN
graph.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

@ -51,7 +51,7 @@
}, },
"scripts": { "scripts": {
"start": "craco start", "start": "craco start",
"build": "craco build", "build": "NODE_OPTIONS=\"--max-old-space-size=32\" craco build",
"test": "craco test --env=node --transformIgnorePatterns \"node_modules/(?!@frontend)/\"", "test": "craco test --env=node --transformIgnorePatterns \"node_modules/(?!@frontend)/\"",
"test:cart": "craco test src/utils/calcCart --transformIgnorePatterns \"node_modules/(?!@frontend)/\"", "test:cart": "craco test src/utils/calcCart --transformIgnorePatterns \"node_modules/(?!@frontend)/\"",
"test:cypress": "start-server-and-test start http://localhost:3000 cypress", "test:cypress": "start-server-and-test start http://localhost:3000 cypress",

3
stats.log Normal file

@ -0,0 +1,3 @@
Timestamp,CPU(%),Memory(GB),Command
2025-03-28 03:08:30, 0.0,.01,node /usr/bin/npm run build
2025-03-28 03:08:31, 8.8,.06,npm run build