pulumi/tests
Joe Duffy 36ab8f0087
Make config a little less error prone
As articulated in #714, the way config defaults to workspace-local
configuration is a bit error prone, especially now with the cloud
workflow being the default.  This change implements several improvements:

* First, --save defaults to true, so that configuration changes will
  persist into your project file.  If you want the old local workspace
  behavior, you can specify --save=false.

* Second, the order in which we applied configuration was a little
  strange, because workspace settings overwrote project settings.
  The order is changed now so that we take most specific over least
  specific configuration.  Per-stack is considered more specific
  than global and project settings are considered more specific
  than workspace.

* We now warn anytime workspace local configuration is used.  This
  is a developer scenario and can have subtle effects.  It is simply
  not safe to use in a team environment.  In fact, I lost an arm
  this morning due to workspace config... and that's why you always
  issue warnings for unsafe things.
2017-12-13 10:46:54 -08:00
..
cloud Reenable integration tests 2017-12-05 13:39:13 -08:00
integration Make config a little less error prone 2017-12-13 10:46:54 -08:00
init_test.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
main_test.go Improve the overall cloud CLI experience 2017-12-02 14:34:42 -08:00
stack_test.go Fix cloud tests 2017-12-03 06:34:06 -08:00