pulumi/pkg/operations
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
..
testdata Don't include pending-delete resources in tree representation (#902) 2018-02-12 08:47:09 -08:00
operations.go Add license headers 2018-05-22 15:02:47 -07:00
operations_aws.go Use test helper. (#1977) 2018-09-22 22:44:49 -07:00
operations_aws_test.go Add license headers 2018-05-22 15:02:47 -07:00
operations_cloud_aws.go Fix log retrieval for lambdas. (#2160) 2018-11-05 12:27:11 -08:00
operations_cloud_aws_test.go Add license headers 2018-05-22 15:02:47 -07:00
resources.go Add license headers 2018-05-22 15:02:47 -07:00
resources_test.go Install missing plugins on startup (#2560) 2019-03-15 15:01:37 -07:00