pulumi/sdk/nodejs/tests
Julien P 96b7e56799
Allow disabling version validation when using a custom PulumiCommand isntance (#15242)
# Description

When we introduced `PulumiCommand` we maintained the existing behaviour
to disable validating the version. However when creating a custom
`PulumiCommand` instance instead of letting `LocalWorkspace` [create
it](c306b13c51/sdk/nodejs/automation/localWorkspace.ts (L307)),
there is no way to disable the validation.

This PR makes `skipVersionCheck` a documented option and additionally
checks `PULUMI_AUTOMATION_API_SKIP_VERSION_CHECK` inside
`PulumiCommand`.

`PULUMI_AUTOMATION_API_SKIP_VERSION_CHECK` always takes precedence. When
running with that env variable set, there's no way to turn off checks.
This matches the behaviour pre-autoinstall.

Ref https://github.com/pulumi/pulumi/issues/14987
2024-01-26 13:41:10 +00:00
..
automation Allow disabling version validation when using a custom PulumiCommand isntance (#15242) 2024-01-26 13:41:10 +00:00
mockpackage Apply autoformat 2023-04-28 18:27:10 -04:00
runtime Move nodejs feature checks to startup (#14856) 2023-12-19 14:35:23 +00:00
sxs_ts_test Bump semver from 5.7.1 to 5.7.2 in /sdk/nodejs/tests/sxs_ts_test (#13453) 2023-10-20 21:06:18 +00:00
config.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
constants.ts ci: improve x-plat testing on Windows 2022-03-06 14:45:26 -08:00
init.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
iterable.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
options.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
output.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
provider.spec.ts Add google-protobuf types (#14422) 2023-10-27 09:55:44 +00:00
resource.spec.ts [sdk/nodejs] Fix provider for resource methods (#13796) 2023-08-30 14:49:53 +00:00
stackReference.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
unwrap.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
util.ts Apply autoformat 2023-04-28 18:27:10 -04:00