pulumi/pkg/testing/integration
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
..
command.go Remove MustFprintf in favor of explicitly dropping errors 2018-01-16 18:33:44 -08:00
program.go Add "pulumi history" command (#826) 2018-01-24 18:22:41 -08:00
program_test.go AssertNoError instead of Assert(err == nil) 2018-01-08 13:46:21 -08:00
pulumi.go Fix cloud tests 2017-12-03 06:34:06 -08:00
s3reporter.go Reparameterize NewUniqueHex/ID 2017-12-10 07:44:11 -08:00
util.go Restructure test framework to ease multiple languages (#799) 2018-01-12 17:10:53 -08:00