9d4e24c165
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). |
||
---|---|---|
.. | ||
integration | ||
environment.go |