pulumi/pkg
Matt Ellis 9695c1666d Allow control of uploaded archive root in Pulumi.yaml
Previously, when uploading a projectm to the service, we would only
upload the folder rooted by the Pulumi.yaml for that project. This
worked well, but it meant that customers needed to structure their
code in a way such that Pulumi.yaml was always as the root of their
project, and if they wanted to share common files between two projects
there was no good solution for doing this.

This change introduces an optional piece of metadata, named context,
that can be added to Pulumi.yaml, which allows controlling the root
folder used for computing the root folder to archive from.  When it is
set, it is combined with the location of the Pulumi.yaml file for the
project we are uploading and that folder is uses as the root of what
we upload to the service.

Fixes: #574
(cherry picked from commit 818246a708)
2018-02-06 12:56:44 -08:00
..
apitype Provide a rudimentary progress spinner 2018-01-22 14:21:08 -08:00
backend Allow control of uploaded archive root in Pulumi.yaml 2018-02-06 12:56:44 -08:00
compiler/errors Use `Stack` over `Environment` to describe a deployment target 2017-10-16 13:04:20 -07:00
diag Attempt to fix colorization (#740) 2017-12-18 11:42:32 -08:00
encoding Use go-yaml directly 2017-10-20 14:01:37 -07:00
engine Report no changes for dry-runs 2018-01-20 12:15:28 -08:00
graph Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
operations Add missing Infof argument 2017-12-27 14:54:27 -08:00
pack Allow control of uploaded archive root in Pulumi.yaml 2018-02-06 12:56:44 -08:00
resource Supply unknown properties to providers during preview. 2018-01-09 18:41:47 -08:00
testing Avoid resource leaks by recovering from panics in integration tests 2018-01-20 11:48:42 -08:00
tokens Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
tools Add a commentChars parameter to EmitHeaderWarning (#827) 2018-01-22 09:32:37 -08:00
util Allow control of uploaded archive root in Pulumi.yaml 2018-02-06 12:56:44 -08:00
version Add a manifest to checkpoint files (#630) 2017-12-01 13:50:32 -08:00
workspace Pretty-print some JSON files we persist to disk 2018-01-18 20:35:53 -08:00