pulumi/pkg/util
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
..
archive Move program uploads to the CLI (#571) 2017-11-15 13:27:28 -08:00
cmdutil Stop formatting output that should be raw. 2017-11-14 11:26:41 -08:00
contract Enable `pulumi update` to target the Console (#461) 2017-10-25 10:46:05 -07:00
convutil Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
fsutil Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
mapper Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
rendezvous Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
retry Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
rpcutil Initial work on tracing support (#521) 2017-11-08 17:08:51 -08:00
testutil Have engine emit "events" instead of writing to streams 2017-10-09 18:24:56 -07:00