measure ram utilisation on staging hub
Some checks failed
Deploy / CreateImage (push) Failing after 32m56s
Deploy / DeployService (push) Has been skipped

This commit is contained in:
skeris 2025-03-30 19:45:28 +03:00
parent 28a1ee950e
commit 0a4bc119e6
3 changed files with 5 additions and 8 deletions

@ -8,10 +8,10 @@ on:
jobs:
CreateImage:
runs-on: [skeris]
runs-on: [frontstaging]
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p
with:
runner: skeris
runner: frontstaging
secrets:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}

@ -1,11 +1,11 @@
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
COPY . .
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
WORKDIR /usr/share/nginx/html

@ -25,7 +25,6 @@
"@types/react-slick": "^0.23.13",
"axios": "^1.5.1",
"country-flag-emoji-polyfill": "^0.1.8",
"cypress-file-upload": "^5.0.8",
"cytoscape": "^3.26.0",
"cytoscape-popper": "^2.0.0",
"date-fns": "^3.0.6",
@ -66,10 +65,9 @@
},
"scripts": {
"start": "craco start",
"build": "craco build",
"build": "NODE_OPTIONS=\"--max-old-space-size=1024\" craco build",
"test": "craco test",
"eject": "craco eject",
"cypress:open": "cypress open",
"code:format": "prettier --write --ignore-unknown",
"prepare": "husky install"
},
@ -92,7 +90,6 @@
"@types/react-beautiful-dnd": "^13.1.4",
"@types/react-cytoscapejs": "^1.2.4",
"craco-alias": "^3.0.1",
"cypress": "^13.6.1",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1"