-
Notifications
You must be signed in to change notification settings - Fork 156
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
Simplify OIDC extraTest #4909
Simplify OIDC extraTest #4909
Conversation
Does the PR have any schema changes?Looking good! No breaking changes found. Maintainer note: consult the runbook for dealing with any breaking changes. |
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.
Yep, this is better!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4909 +/- ##
==============================
==============================
☔ View full report in Codecov by Sentry. |
* Updates `test-provider/aws/.ci-mgmt.yaml` to what's currently checked-in. * Consolidates test jobs into a shared workflow using `run-acceptance-tests` as the starting point. `extraTests` are included in the shared workflow mostly for simplicity. This will break aws because those tests will specify `needs:` that are no longer valid. We can fix that manually or just remove these extra tests (pulumi/pulumi-aws#4910, pulumi/pulumi-aws#4909). No special treatment is given to TestPulumiExamples. We're not using this outside of azure-native, and it should really just be treated like any other integration test #1211. If we don't want these tests to run in certain workflows then we should expose some info to let them `t.Skip` themselves. Fixes #1034
This PR has been shipped in release v6.65.0. |
Today
TestAccCloudWatch
andTestAccCloudWatchOidcManual
are each executed twice. Once as part of thetest (nodejs, local)
(examples) job, and again as part of thetest_oidc
job defined inextraTests
.The
test_oidc
job executesTestAccCloudWatchOidcManual
without any ambient AWS credentials, and thenTestAccCloudWatch
after assumingOIDC_ROLE_ARN
.This PR removes the extra
test_oidc
job by incorporating these tests into the usual examples job.TestAccCloudWatch
andTestAccCloudWatchOIDCAmbient
preserve the existing behavior of running these using the ambient credentials from the examples job. (Do we want to keep this?)TestAccCloudWatchOIDCManual
andTestAccCloudWatchOIDC
preserving thetest_oidc
behavior by running without ambient credentials and after assumingOIDC_ROLE_ARN
, respectively.