-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade terraform-provider-github to v5.12.0 #284
Conversation
Does the PR have any schema changes?Looking good! No breaking changes found. New resources:
New functions:
|
401 Bad credentials [] on the Python test it seems like. |
Does the PR have any schema changes?Looking good! No breaking changes found. New resources:
New functions:
|
Does the PR have any schema changes?Looking good! No breaking changes found. New resources:
New functions:
|
While debugging tests, it was unclear which test was creating which repo. Changing the descriptions makes it easier to figure out which test to look at.
When GH_ORGANIZATION or GH_TESTING_TOKEN are expired, we should see that loudly in CI tests. Skipping tests when these are missing or misconfigured makes it seem tests are running and passing.
Does the PR have any schema changes?Looking good! No breaking changes found. New resources:
New functions:
|
}, | ||
} | ||
} | ||
|
||
func getGitHubTestingOrg(t *testing.T) string { | ||
org := os.Getenv("GH_ORGANIZATION") | ||
if org == "" { | ||
t.Skipf("Skipping test due to missing GH_ORGANIZATION environment variable") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about local testing? Is there to way to only fail when we're running on Github?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I entirely understand your question - these variables are the CI equivalent to GITHUB_OWNER
and GITHUB_TOKEN
from here: https://www.pulumi.com/registry/packages/github/installation-configuration/.
Also updates Go version to 1.19
Updates to latest Pulumi.
Updates to latest Terraform bridge.
Additionally adds language to integration tests to aid with future debugging
Removes test skipping in the case of missing config variables
Removes deprecated
organization
field in tests to useowner
instead.Fixes #275
Supersedes #277