I'm not sure if this is a problem in the dockerfile to build or in the local test that should prevent unsuccessful deployments
#11 [prod-deps 2/2] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile
#11 0.760 ! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.1.1.tgz
#11 2.487 Scope: all 2 workspace projects
#11 2.[80](https://github.com/pretagov/deploy-helm/actions/runs/9558627366/job/26347606138#step:10:81)8 ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
#11 2.808
#11 2.808 Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
#11 2.808
#11 2.808 Failure reason:
#11 2.808 specifiers in the lockfile ({"@plone/client":"1.0.0-alpha.13","@plone/registry":"workspace:*","@plone/volto":"workspace:*","volto-hydra":"workspace:*","mrs-developer":"^2.2.0"}) don't match specs in package.json ({"mrs-developer":"^2.2.0","@plone/client":"1.0.0-alpha.13","@plone/registry":"workspace:*","@plone/volto":"workspace:*","js-cookie":"^3.0.5","volto-hydra":"workspace:*"})
#11 ERROR: process "/bin/sh -c pnpm install --prod --frozen-lockfile" did not complete successfully: exit code: 1
#12 [build 2/5] RUN apt-get -y update && apt-get -y install git make
#12 0.299 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
#12 0.345 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
#12 0.364 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#12 0.475 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
#12 0.606 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [13.8 kB]
#12 0.623 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [160 kB]
#12 1.582 Fetched 9214 kB in 1s (6858 kB/s)
#12 1.582 Reading package lists...
#12 2.142 Reading package lists...
#12 2.846 Building dependency tree...
#12 CANCELED
------
> [prod-deps 2/2] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile:
0.760 ! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.1.1.tgz
2.487 Scope: all 2 workspace projects
2.808 ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
2.808
2.808 Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
2.808
2.808 Failure reason:
2.808 specifiers in the lockfile ({"@plone/client":"1.0.0-alpha.13","@plone/registry":"workspace:*","@plone/volto":"workspace:*","volto-hydra":"workspace:*","mrs-developer":"^2.2.0"}) don't match specs in package.json ({"mrs-developer":"^2.2.0","@plone/client":"1.0.0-alpha.13","@plone/registry":"workspace:*","@plone/volto":"workspace:*","js-cookie":"^3.0.5","volto-hydra":"workspace:*"})
------
Dockerfile:11
--------------------
9 | FROM base AS prod-deps
10 | WORKDIR /app
11 | >>> RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile
12 |
13 | FROM base AS build
--------------------
ERROR: failed to solve: process "/bin/sh -c pnpm install --prod --frozen-lockfile" did not complete successfully: exit code: 1
I'm not sure if this is a problem in the dockerfile to build or in the local test that should prevent unsuccessful deployments