pulumi/pkg/engine
Fraser Waters 3f5191f7f1 Try to delete temporary files from plugin downloads
Fixes https://github.com/pulumi/pulumi/issues/12144

There's only three places in the codebase that we call
`workspace.DownloadToFile`. Before this change only one of them tried to
run `os.Remove` to cleanup afterwards.

This unifies all to use `os.Remove` and to also explictly ignore the
error returned by that (if it does fail it will log to `V(3)`).
2023-02-14 10:23:25 +00:00
..
lifecycletest Merge #11819 #11834 #11842 #11845 2023-01-12 20:11:42 +00:00
deployment.go Push DefaultSecretsProvider up to pkg/cmd 2023-01-27 12:04:52 +00:00
destroy.go Plugin Link (#10146) 2022-07-22 14:17:43 +01:00
detailedDiff.go [display] Refactor diff translation and display. (#9363) 2022-04-07 12:05:33 -07:00
detailedDiff_test.go [display] Refactor diff translation and display. (#9363) 2022-04-07 12:05:33 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
engine.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
errors.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
events.go Do not panic when sending events to closed emitter (#10489) 2022-08-25 12:43:10 -04:00
events_test.go Do not panic when sending events to closed emitter (#10489) 2022-08-25 12:43:10 -04:00
eventsink.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
import.go Moving previewDigest to sdk/go/common/display, and exporting it. (#9886) 2022-06-27 09:08:06 -05:00
journal.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
plugin_host.go grpc: WithInsecure is deprecated 2023-01-11 12:15:40 -08:00
plugins.go Try to delete temporary files from plugin downloads 2023-02-14 10:23:25 +00:00
plugins_test.go Split PluginInfo in Info and Spec (#10501) 2022-08-26 15:51:14 +01:00
project.go Update error handling (#8406) 2021-11-12 18:37:17 -08:00
query.go Push DefaultSecretsProvider up to pkg/cmd 2023-01-27 12:04:52 +00:00
refresh.go Plugin Link (#10146) 2022-07-22 14:17:43 +01:00
snapshot.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
update.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
update_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00