pulumi/cmd
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
..
lumidl Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
api.go Canonicalize where we use the Pulumi API (#556) 2017-11-13 18:25:57 -08:00
backend.go Add a very barebones pulumi logs command 2017-11-14 12:26:55 -08:00
backend_cloud.go Move program uploads to the CLI (#571) 2017-11-15 13:27:28 -08:00
backend_local.go Add a very barebones pulumi logs command 2017-11-14 12:26:55 -08:00
config.go Fix an erroneous error condition 2017-11-08 14:37:01 -08:00
config_test.go Save config information in Pulumi.yaml 2017-10-20 13:30:07 -07:00
creds.go Add 'pulumi login' test 2017-11-02 11:19:00 -07:00
crypt.go Improve "passphrase:" prompts 2017-11-04 08:23:16 -07:00
destroy.go Add "kill" as a "destroy" SuggestFor 2017-11-13 17:27:45 -08:00
init.go Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
login.go Add 'pulumi login' test 2017-11-02 11:19:00 -07:00
logs.go Add a very barebones pulumi logs command 2017-11-14 12:26:55 -08:00
preview.go Add a handful of aliases/suggestions (#557) 2017-11-13 14:59:11 -08:00
provider_local.go Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
pulumi.go Add a very barebones pulumi logs command 2017-11-14 12:26:55 -08:00
stack.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
stack_init.go Pass cloud name in options bag instead of an explicit parameter 2017-11-02 11:19:00 -07:00
stack_ls.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
stack_rm.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
stack_select.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
update.go Add Pulumi.com backend, unify cobra Commands 2017-11-02 11:19:00 -07:00
util.go Stop formatting output that should be raw. 2017-11-14 11:26:41 -08:00
util_password.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
util_password_windows.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
version.go Construct version based on git information 2017-10-16 18:35:41 -07:00