Compare commits

..

No commits in common. "478b2c8c7345cb3e636b928d500451d697e80436" and "0a765489ac8fc82778593186b1977a0bba9709a1" have entirely different histories.

4 changed files with 2 additions and 6 deletions

View file

@ -72,7 +72,7 @@ spec:
rm -f /work/askpass
- name: build-layer
image: node:22-alpine
computeResources:
resources:
requests:
memory: 256Mi
limits:

View file

@ -71,7 +71,7 @@ spec:
rm -f /work/askpass
- name: build-layer
image: node:22-alpine
computeResources:
resources:
requests:
memory: 256Mi
limits:

View file

@ -26,7 +26,6 @@ for value in \
'npm install --ignore-scripts --no-audit --no-fund --package-lock=false' \
'memory: 256Mi' \
'memory: 512Mi' \
'computeResources:' \
'npm run build' \
'npm prune --omit=dev --ignore-scripts --no-audit --no-fund' \
'cp package.json /work/layer/app/' \
@ -50,4 +49,3 @@ for param in url revision image; do
done
! grep -qiE 'kaniko|privileged: true' "$task"
! grep -q '^[[:space:]]*resources:' "$task"

View file

@ -27,7 +27,6 @@ for value in \
'npm install --ignore-scripts --no-audit --no-fund --package-lock=false' \
'memory: 256Mi' \
'memory: 512Mi' \
'computeResources:' \
'tar -C /work/layer -cf /work/layer.tar www' \
'--base=$(params.base-image)' \
'--new_tag=$(params.image):$(params.revision)'; do
@ -39,4 +38,3 @@ for param in url revision image output-directory build-configuration base-image;
done
! grep -qiE 'kaniko|privileged: true' "$task"
! grep -q '^[[:space:]]*resources:' "$task"