pulumi/pkg/resource/deploy
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
..
deploytest Install missing plugins on startup (#2560) 2019-03-15 15:01:37 -07:00
providers Install missing plugins on startup (#2560) 2019-03-15 15:01:37 -07:00
builtins.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
plan.go Install missing plugins on startup (#2560) 2019-03-15 15:01:37 -07:00
plan_executor.go Process deletions conservatively in parallel (#1963) 2018-09-27 15:49:08 -07:00
plan_test.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
snapshot.go Add a list of in-flight operations to the deployment (#1759) 2018-08-10 21:39:59 -07:00
source.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_error.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_eval.go Add support for explicit delete-before-replace (#2415) 2019-01-31 14:27:53 -08:00
source_eval_test.go Add support for explicit delete-before-replace (#2415) 2019-01-31 14:27:53 -08:00
source_fixed.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_null.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
step.go Refresh inputs (#2531) 2019-03-11 13:50:00 -07:00
step_executor.go Default to unbounded parallelism (#2065) 2018-10-17 15:33:26 -07:00
step_generator.go Filter diff keys based on provider info (#2526) 2019-03-06 16:41:19 -08:00
target.go Add license headers 2018-05-22 15:02:47 -07:00