pulumi/pkg
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
..
authhelpers Add support for authentication via GOOGLE_CREDENTIALS (#6379) 2022-06-07 16:02:08 +01:00
backend Remove sequence numbers (#10203) 2022-07-25 12:08:03 +01:00
cmd/pulumi Retry plugin downloads (#10248) 2022-07-27 11:13:17 +01:00
codegen Retry plugin downloads (#10248) 2022-07-27 11:13:17 +01:00
engine Retry plugin downloads (#10248) 2022-07-27 11:13:17 +01:00
graph Update error handling (#8406) 2021-11-12 18:37:17 -08:00
operations Fix orphan bulk decrypt traces (#10037) 2022-07-18 09:36:31 -04:00
resource fix unmarshalling secrets raw (#10239) 2022-07-26 11:04:13 -07:00
secrets Fix orphan bulk decrypt traces (#10037) 2022-07-18 09:36:31 -04:00
testing/integration Revert "Use plugin link instead of PATH manipulation in programtest (#10220)" (#10238) 2022-07-25 16:51:40 +01:00
util Ensure that FormatOptions.Color is set before use in diag.defaultSink (#9334) 2022-04-01 20:22:35 +01:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod [windows] replace ssh-agent with one that lazily loads dlls (#10207) 2022-07-22 11:50:38 -07:00
go.sum [windows] replace ssh-agent with one that lazily loads dlls (#10207) 2022-07-22 11:50:38 -07:00

README.md

pulumi/pkg

While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.