pulumi/pkg/engine
Chris Smith 4c217fd358
Add "pulumi history" command (#826)
This PR adds a new `pulumi history` command, which prints the update history for a stack.

The local backend stores the update history in a JSON file on disk, next to the checkpoint file. The cloud backend simply provides the update metadata, and expects to receive all the data from a (NYI) `/history` REST endpoint.

`pkg/backend/updates.go` defines the data that is being persisted. The way the data is wired through the system is adding a new `backend.UpdateMetadata` parameter to a Stack/Backend's `Update` and `Destroy` methods.

I use `tests/integration/stack_outputs/` as the simple app for the related tests, hence the addition to the `.gitignore` and fixing the name in the `Pulumi.yaml`.

Fixes #636.
2018-01-24 18:22:41 -08:00
..
deploy.go Add "pulumi history" command (#826) 2018-01-24 18:22:41 -08:00
destroy.go Export resource change counts from engine 2018-01-20 12:07:03 -08:00
engine.go Remove the Engine type entirely. 2018-01-08 14:20:51 -08:00
env.go Remove the Engine type entirely. 2018-01-08 14:20:51 -08:00
events.go Attempt to fix colorization (#740) 2017-12-18 11:42:32 -08:00
eventsink.go Attempt to fix colorization (#740) 2017-12-18 11:42:32 -08:00
pack.go Refactor the engine's entrypoints. 2018-01-08 14:15:16 -08:00
plan.go Add "pulumi history" command (#826) 2018-01-24 18:22:41 -08:00
preview.go Add "pulumi history" command (#826) 2018-01-24 18:22:41 -08:00