-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add GitHub v2 Authentication to CodePipeline #16959
Conversation
…N is no longer needs for most acceptance tests
@@ -779,6 +779,12 @@ func testAccPreCheckIamServiceLinkedRole(t *testing.T, pathPrefix string) { | |||
} | |||
} | |||
|
|||
func testAccEnvironmentVariableSetPreCheck(variable string, t *testing.T) { |
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.
Not for this PR, but we could replace some other acceptance testing environment handling we have if this could have a custom message (usually a description of what the environment variable is needed for) and this returned the value as well.
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've created #17083
@@ -435,7 +414,7 @@ func TestAccAWSCodePipeline_multiregion_ConvertSingleRegion(t *testing.T) { | |||
), | |||
}, | |||
{ | |||
Config: testAccAWSCodePipelineConfig_backToBasic(name, githubToken), | |||
Config: testAccAWSCodePipelineConfig_backToBasic(name), |
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.
Not sure if related to changes here, but this test step is failing for me locally and in TeamCity:
=== CONT TestAccAWSCodePipeline_multiregion_ConvertSingleRegion
resource_aws_codepipeline_test.go:380: Step 3/4 error: Error running apply:
Error: region cannot be set for a single-region CodePipeline
--- FAIL: TestAccAWSCodePipeline_multiregion_ConvertSingleRegion (62.80s)
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.
This is a pre-existing error with Terraform 0.14, though it passes with Terraform 0.12.29
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.
Heh, I created #16706 in December
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.
Looks good 🚀
Output from acceptance testing in AWS Commercial:
--- FAIL: TestAccAWSCodePipeline_multiregion_ConvertSingleRegion (60.26s) # known test failure
--- PASS: TestAccAWSCodePipeline_basic (60.85s)
--- PASS: TestAccAWSCodePipeline_deployWithServiceRole (36.29s)
--- PASS: TestAccAWSCodePipeline_disappears (28.09s)
--- PASS: TestAccAWSCodePipeline_emptyStageArtifacts (29.98s)
--- PASS: TestAccAWSCodePipeline_multiregion_basic (40.22s)
--- PASS: TestAccAWSCodePipeline_multiregion_Update (57.81s)
--- PASS: TestAccAWSCodePipeline_tags (76.03s)
--- PASS: TestAccAWSCodePipeline_WithGitHubv1SourceAction (52.87s)
--- PASS: TestAccAWSCodePipeline_WithNamespace (30.38s)
Output from acceptance testing in AWS GovCloud (US):
--- SKIP: TestAccAWSCodePipeline_basic (2.73s)
--- SKIP: TestAccAWSCodePipeline_deployWithServiceRole (2.72s)
--- SKIP: TestAccAWSCodePipeline_disappears (1.42s)
--- SKIP: TestAccAWSCodePipeline_emptyStageArtifacts (2.75s)
--- SKIP: TestAccAWSCodePipeline_multiregion_basic (0.36s)
--- SKIP: TestAccAWSCodePipeline_multiregion_ConvertSingleRegion (0.35s)
--- SKIP: TestAccAWSCodePipeline_multiregion_Update (1.84s)
--- SKIP: TestAccAWSCodePipeline_tags (1.40s)
--- SKIP: TestAccAWSCodePipeline_WithGitHubv1SourceAction (1.30s)
--- SKIP: TestAccAWSCodePipeline_WithNamespace (1.42s)
This has been released in version 3.24.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Adds GitHub v2 Authentication (using CodeStar Connection) to CodePipeline and deprecates GitHub v1.
Community Note
Closes #15200
Closes #16042
Release note for CHANGELOG:
Output from acceptance testing: