pulumi/pkg
Chris Smith 84cd810112
Move program uploads to the CLI (#571)
In an effort to improve performance and overall reliability, this PR moves the responsibility of uploading the Pulumi program from the Pulumi Service to the CLI. (Part of fixing https://github.com/pulumi/pulumi-service/issues/313.)

Previously the CLI would send (the dozens of MiB) program archive to the Service, which would then upload the data to S3. Now the CLI sends the data to S3 directly, avoiding the unnecessary copying of data around.

The Service-side API changes are in https://github.com/pulumi/pulumi-service/pull/323. I tested previews, updates, and destroys running the service and PPC on localhost.

The PR refactors how we handle the three kinds of program updates, and just unifies them into a single method. This makes the diff look crazy, but the code should be much simpler. I'm not sure what to do about supporting all the engine options for the Cloud-variants of Pulumi commands; I suspect that's something that should be handled at a later time.
2017-11-15 13:27:28 -08:00
..
apitype Move program uploads to the CLI (#571) 2017-11-15 13:27:28 -08:00
compiler/errors Use Stack over Environment to describe a deployment target 2017-10-16 13:04:20 -07:00
component Add a very barebones pulumi logs command 2017-11-14 12:26:55 -08:00
diag Stop formatting output that should be raw. 2017-11-14 11:26:41 -08:00
encoding Use go-yaml directly 2017-10-20 14:01:37 -07:00
engine Stop formatting output that should be raw. 2017-11-14 11:26:41 -08:00
graph Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
pack Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
pulumiframework Add a very barebones pulumi logs command 2017-11-14 12:26:55 -08:00
resource Stop formatting output that should be raw. 2017-11-14 11:26:41 -08:00
testing Add integration test support for relative work dir (#567) 2017-11-14 21:02:47 -08:00
tokens Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
tools Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
util Move program uploads to the CLI (#571) 2017-11-15 13:27:28 -08:00
workspace Suport workspace local configuration and use it by default 2017-11-02 13:05:01 -07:00