pulumi/sdk/go/common/workspace
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
..
creds.go Return organizations from Backend.CurrentUser (#9211) 2022-03-31 09:11:19 +01:00
creds_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
loaders.go Switch from golint to revive (#8010) 2021-09-21 10:00:44 -07:00
paths.go allow `pulumi destroy -s <stack>` if not in a pulumi project dir (#9918) 2022-07-11 08:28:53 -07:00
paths_test.go Deprecate Config, replace with StackConfigDir (#9145) 2022-03-13 21:39:22 +00:00
plugins.go Retry plugin downloads (#10248) 2022-07-27 11:13:17 +01:00
plugins_install_nodejs_test.go test: use `T.Setenv` to set env vars in tests (#10234) 2022-07-24 10:41:44 +01:00
plugins_install_python_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
plugins_install_test.go [plugins] Fix plugin reinstallation. (#8892) 2022-02-02 23:10:16 -08:00
plugins_test.go test: use `T.Setenv` to set env vars in tests (#10234) 2022-07-24 10:41:44 +01:00
project.go Plugin Link (#10146) 2022-07-22 14:17:43 +01:00
project_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
settings.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
templates.go Revert "Clone and test pulumi/templates from the current working branch (#9804)" (#9831) 2022-06-10 11:39:54 +01:00
templates_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
workspace.go Improve corrupt workspace settings experience (#8393) 2021-11-11 14:58:39 -08:00