sparse-intern-71089
10/07/2019, 6:02 PMcool-egg-852
10/07/2019, 6:03 PMcolossal-beach-47527
10/07/2019, 6:13 PMpulumi
command-line client to do too much “magic” behind the scenes with regard to running npm install
, yarn install
, etc. Since there are plenty of corner cases we’d probably have trouble getting right. (e.g. if you are using a custom package manager.)
So I think we’d want to leave “gathering runtime dependencies” to whatever script or CI/CD environment you are using to execute pulumi
. (So that then you can confirm you have the right setup.)
But what I think we can/should/will do is make sure that we do have a good escape hatch so you can tie custom steps into the scripts or containers that we publish. For example, the entrypoint.sh
for the pulumi/pulumi
Docker container (like in your PR).
Or supporting a generic if [ -f pulumi-pre-update.sh ]
or something.
Make sense? This is a problem we want to make sure gets solved, but it probably makes more sense to solve it upstream.cool-egg-852
10/07/2019, 6:13 PMnpm install
though (hardcoded).magnificent-leather-3361
10/07/2019, 6:27 PMcool-egg-852
10/07/2019, 6:28 PM