pulumi/pkg/engine
Fraser Waters 2dc683f8c5
Retry plugin downloads (#10248)
* Retry plugin downloads

We occasionally see network issues (most notably "tls: bad record MAC")
during plugin downloads. When grabbing plugins for codegen we already
had some retry logic. This shares that retry logic to the pulumi plugin install command and the engine.

Fixes #9824

Note, plumbing in the progress bar and support for printing about
retries is a little bit odd but we're going to have to totally rethink
this interface at some point when the engine gets put behind a gRPC
interface and all the display logic has to be ripped out. So it works
good enough for now.

* Add to CHANGELOG

* lint

* Finish comment
2022-07-27 11:13:17 +01:00
..
lifecycletest Add proto interfaces to move about logic to plugins (#10228) 2022-07-25 12:35:16 +01:00
deployment.go Remove config from host, was unused (#10235) 2022-07-25 12:34:49 +01: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 Moving previewDigest to sdk/go/common/display, and exporting it. (#9886) 2022-06-27 09:08:06 -05: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 Non-mutating snapshot normalization (#10128) 2022-07-18 14:04:19 -04:00
plugin_host.go Update error handling (#8406) 2021-11-12 18:37:17 -08:00
plugins.go Retry plugin downloads (#10248) 2022-07-27 11:13:17 +01:00
plugins_test.go Set unspecified explicit provider version to default provider version (#9708) 2022-06-15 13:03:11 -07:00
project.go Update error handling (#8406) 2021-11-12 18:37:17 -08:00
query.go Remove config from host, was unused (#10235) 2022-07-25 12:34:49 +01: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 Plugin Link (#10146) 2022-07-22 14:17:43 +01: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