diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 5f3f4fc..ec3dabe 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -21,7 +21,7 @@ pipeline { } } - stage('Build Frontent') { + stage('Build Frontend') { steps { container('node') { dir('ui') { diff --git a/ci/build-ui.sh b/ci/build-ui.sh index 2cff05a..e32082d 100644 --- a/ci/build-ui.sh +++ b/ci/build-ui.sh @@ -1,5 +1,4 @@ #!/bin/sh -ex -sleep infinity npm install npm run build diff --git a/ci/podTemplate.yaml b/ci/podTemplate.yaml index 16adea5..b08b70f 100644 --- a/ci/podTemplate.yaml +++ b/ci/podTemplate.yaml @@ -15,8 +15,10 @@ spec: env: - name: npm_config_cache value: ./npm_cache + - name: NODE_OPTIONS + value: '--max_old_space_size=512' resources: limits: - cpu: 500m + memory: 1G securityContext: readOnlyRootFilesystem: true