pulumi/pkg/resource
Sean Gillespie 26cc1085b1
Install missing plugins on startup (#2560)
* Install missing plugins on startup

This commit addresses the problem of missing plugins by scanning the
snapshot and language host on startup for the list of required plugins
and, if there are any plugins that are required but not installed,
installs them. The mechanism by which plugins are installed is exactly
the same as 'pulumi plugin install'.

The installation of missing plugins is best-effort and, if it fails,
will not fail the update.

This commit addresses pulumi/pulumi-azure#200, where users using Pulumi
in CI often found themselves missing plugins.

* Add CHANGELOG

* Skip downloading plugins if no client provided

* Reduce excessive test output

* Update Gopkg.lock

* Update pkg/engine/destroy.go

Co-Authored-By: swgillespie <sean@pulumi.com>

* CR: make pluginSet a newtype

* CR: Assign loop induction var to local var
2019-03-15 15:01:37 -07:00
..
config Don't fail on configuration keys like `a:config:b:c` 2018-11-20 14:14:37 -08:00
deploy Install missing plugins on startup (#2560) 2019-03-15 15:01:37 -07:00
edit Add `edit.RenameStack` 2019-03-11 14:44:15 -07:00
graph Process deletions conservatively in parallel (#1963) 2018-09-27 15:49:08 -07:00
plugin Improve error message when failing to load plugins (#2542) 2019-03-11 22:17:01 +00:00
provider Implement status sinks 2018-08-31 15:56:53 -07:00
stack Follow up on #2369 (#2397) 2019-01-28 17:38:16 -08:00
testdata Fix asset bugs; write more tests 2017-10-24 09:00:11 -07:00
asset.go Implement more precise delete-before-replace semantics. (#2369) 2019-01-28 09:46:30 -08:00
asset_test.go Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
errors.go Add license headers 2018-05-22 15:02:47 -07:00
properties.go Add API types for the V3 checkpoint (#2384) 2019-01-23 13:33:25 -08:00
properties_diff.go Elide diffs in internal properties (#2543) 2019-03-11 18:01:48 -07:00
properties_diff_test.go Add license headers 2018-05-22 15:02:47 -07:00
properties_test.go Add license headers 2018-05-22 15:02:47 -07:00
resource_goal.go Add support for explicit delete-before-replace (#2415) 2019-01-31 14:27:53 -08:00
resource_id.go Add license headers 2018-05-22 15:02:47 -07:00
resource_id_test.go Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
resource_operation.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
resource_state.go Implement more precise delete-before-replace semantics. (#2369) 2019-01-28 09:46:30 -08:00
stack.go Make a smattering of CLI UX improvements 2018-09-24 08:43:46 -07:00
status.go Partial status for resource providers 2018-07-02 13:32:23 -07:00
urn.go Add license headers 2018-05-22 15:02:47 -07:00
urn_test.go Add license headers 2018-05-22 15:02:47 -07:00