pulumi/pkg
Matt Ellis 9d4e24c165 Allow tests to be run by users outside of the Pulumi organization
Today we defaulted our tests to create stacks in the `pulumi`
organization. We did this because our tests run with `pulumi-bot` and
we'd rather create the stacks in our shared organization, so any
Pulumi developer can see them.

Of course, as we prepare to have folks outside of the Pulumi
organization write and run tests, this has now become a bad default.

Remove the ability to explicitly set an owner in
ProgramTestOptions (since that would more or less only lead to pain
going forward) and default to just creating the stacks in whatever
account is currently logged in. In CI, we'll set a new environment
variable "PULUMI_TEST_OWNER" which controls the owner of the stacks,
which we'll set to `pulumi`.

Impact to day to day developers is during test runs locally you'll see
stacks in your list of stacks. If any of the tests fail to clean up,
you'll see these lingering stacks (but you can go clean them up).
2018-06-11 11:03:17 -06:00
..
apitype Fail fast when attempting to load a too-new or too-old deployment (#1382) 2018-05-25 13:29:59 -07:00
backend Add strongly typed outputs 2018-06-08 10:36:10 -07:00
diag Remove an unused import 2018-06-06 14:28:49 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Add license headers 2018-05-22 15:02:47 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Add license headers 2018-05-22 15:02:47 -07:00
resource Support Pulumi programs written in Go 2018-06-08 10:36:10 -07:00
testing Allow tests to be run by users outside of the Pulumi organization 2018-06-11 11:03:17 -06:00
tokens Add license headers 2018-05-22 15:02:47 -07:00
tools Add license headers 2018-05-22 15:02:47 -07:00
util Send request body on retries 2018-06-03 01:33:50 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Allow overriding config location 2018-06-05 09:26:48 -07:00