Use single envvar to specify test org (PULUMI_TEST_OWNER
)
#98
+3
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are currently two envvars that are used to specify an Pulumi Service org for tests:
PULUMI_TEST_ORG
envvar and fallback to using thepulumi-test
org when the envvar isn't set. We're not currently settingPULUMI_TEST_ORG
in the GHA workflows like we do inpulumi/pulumi
, so presumably the automation API tests are using thepulumi-test
org fallback.PULUMI_TEST_OWNER
envvar that some of the integration tests uses. We are currently settingPULUMI_TEST_OWNER
tomoolumi
.This change updates the automation API tests to first look for the
PULUMI_TEST_OWNER
envvar, falling back toPULUMI_TEST_ORG
, and then finallypulumi-test
. That way, we only need to have a single consistent envvar set in CI (PULUMI_TEST_OWNER
), set tomoolumi
, which is the org we want to use for these tests.PULUMI_TEST_OWNER
was chosen overPULUMI_TEST_ORG
becausePULUMI_TEST_OWNER
is also used in the Go integration test framework.