pulumi / pulumi-cloud-requests

Welcome to the public issue tracker for Pulumi Cloud (app.pulumi.com)! Feature requests and bug reports welcome!
10 stars 4 forks source link

Deployments do not use correct package manager (PNPM) #424

Open knd775 opened 3 months ago

knd775 commented 3 months ago

While Pulumi itself can detect and use PNPM, Pulumi Cloud does not. This leads to it ignoring lockfiles, installing incorrect dependencies, and taking significantly longer (since NPM is very slow).

General Feedback

image

pierskarsenbarg commented 3 months ago

If you want to use a different package manager, in the deployment settings you should enable the Skip automatic dependency installation step and add any package management commands in the Pre-run commands bos:

image
komalali commented 3 months ago

I think the issue here is that we don't use pulumi install during our dependency installation step. This has led to other issues as well, and worth tackling ASAP.

komalali commented 1 month ago

Looks like we got go support: https://github.com/pulumi/pulumi/issues/16781