Skip to content

Conversation

@vicpadilla
Copy link
Member

@vicpadilla vicpadilla commented Jan 23, 2023

Adding Cloud Build Connection and Repository resources to beta provider.

If this PR is for Terraform, I acknowledge that I have:

  • Searched through the issue tracker for an open issue that this either resolves or contributes to, commented on it to claim it, and written "fixes {url}" or "part of {url}" in this PR description. If there were no relevant open issues, I opened one and commented that I would like to work on it (not necessary for very small changes).
  • Generated Terraform, and ran make test and make lint to ensure it passes unit and linter tests.
  • Ensured that all new fields I added that can be set by a user appear in at least one example (for generated resources) or third_party test (for handwritten resources or update tests).
  • Ran relevant acceptance tests (If the acceptance tests do not yet pass or you are unable to run them, please let your reviewer know).
  • Read the Release Notes Guide before writing my release note below.

Release Note Template for Downstream PRs (will be copied)

`google_cloudbuildv2_connection` (beta)
`google_cloudbuildv2_repository` (beta)

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 2 files changed, 369 insertions(+))
Terraform Beta: Diff ( 10 files changed, 1778 insertions(+))
TF Validator: Diff ( 2 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2428
Passed tests 2168
Skipped tests: 254
Failed tests: 6

Action taken

Triggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed tests
TestAccRegionInstanceGroupManager_stateful|TestAccCloudbuildv2Connection_GithubConnection|TestAccCloudbuildv2Connection_GheConnection|TestAccCloudfunctions2function_cloudfunctions2BasicGcsExample|TestAccCloudbuildv2Repository_GithubRepository|TestAccCloudbuildv2Repository_GheRepository

@modular-magician
Copy link
Collaborator

Tests passed during RECORDING mode:
TestAccCloudbuildv2Connection_GithubConnection[Debug log]
TestAccCloudbuildv2Connection_GheConnection[Debug log]
TestAccCloudbuildv2Repository_GithubRepository[Debug log]
TestAccCloudbuildv2Repository_GheRepository[Debug log]

Tests failed during RECORDING mode:
TestAccRegionInstanceGroupManager_stateful[Error message] [Debug log]
TestAccCloudfunctions2function_cloudfunctions2BasicGcsExample[Error message] [Debug log]

Please fix these to complete your PR
View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 2 files changed, 362 insertions(+))
Terraform Beta: Diff ( 10 files changed, 1762 insertions(+))
TF Validator: Diff ( 2 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2429
Passed tests 2174
Skipped tests: 254
Failed tests: 1

Action taken

Triggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed tests
TestAccCloudfunctions2function_cloudfunctions2BasicGcsExample

@modular-magician
Copy link
Collaborator

Tests failed during RECORDING mode:
TestAccCloudfunctions2function_cloudfunctions2BasicGcsExample[Error message] [Debug log]

Please fix these to complete your PR
View the build log or the debug log for each test

Copy link
Member

@rileykarson rileykarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's my questions after a first pass through! Ideally the api/service/samples directory here would be a 1:1 copy of what's in the DCL folder at https://github.com/GoogleCloudPlatform/declarative-resource-client-library/tree/main/services/google/cloudbuildv2/samples, so I'm curious if we'd be able to correct the differences between the two.

If that's not possible, I'd like to cover update in the Terraform tests as well. In addition to make sure we didn't introduce an issue between here and the DCL (where it's already tested!), we collect HTTP logs from our CI and reference those when debugging customer bugs.

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 2 files changed, 360 insertions(+))
Terraform Beta: Diff ( 10 files changed, 2010 insertions(+))
TF Validator: Diff ( 2 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 2 files changed, 360 insertions(+))
Terraform Beta: Diff ( 10 files changed, 2010 insertions(+))
TF Validator: Diff ( 2 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2442
Passed tests 2180
Skipped tests: 254
Failed tests: 8

Action taken

Triggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed tests
TestAccRegionInstanceGroupManager_stateful|TestAccContainerCluster_failedCreation|TestAccCloudbuildv2Connection_GhePrivConnection|TestAccCloudbuildv2Connection_GhePrivUpdateConnection|TestAccCloudbuildv2Connection_GheCompleteConnection|TestAccCloudbuildv2Connection_GheConnection|TestAccCloudbuildv2Repository_GithubRepository|TestAccCloudbuildv2Connection_GithubConnection

@modular-magician
Copy link
Collaborator

Tests passed during RECORDING mode:
TestAccContainerCluster_failedCreation[Debug log]
TestAccCloudbuildv2Connection_GheCompleteConnection[Debug log]
TestAccCloudbuildv2Repository_GithubRepository[Debug log]
TestAccCloudbuildv2Connection_GithubConnection[Debug log]

Tests failed during RECORDING mode:
TestAccRegionInstanceGroupManager_stateful[Error message] [Debug log]
TestAccCloudbuildv2Connection_GhePrivConnection[Error message] [Debug log]
TestAccCloudbuildv2Connection_GhePrivUpdateConnection[Error message] [Debug log]
TestAccCloudbuildv2Connection_GheConnection[Error message] [Debug log]

Please fix these to complete your PR
View the build log or the debug log for each test

@vicpadilla
Copy link
Member Author

/gcbrun

1 similar comment
@rileykarson
Copy link
Member

/gcbrun

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 2 files changed, 360 insertions(+))
Terraform Beta: Diff ( 10 files changed, 2010 insertions(+))
TF Validator: Diff ( 2 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2442
Passed tests 2184
Skipped tests: 254
Failed tests: 4

Action taken

Triggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed tests
TestAccCloudbuildv2Connection_GhePrivConnection|TestAccCloudbuildv2Connection_GheConnection|TestAccCloudbuildv2Connection_GhePrivUpdateConnection|TestAccContainerCluster_failedCreation

@modular-magician
Copy link
Collaborator

Tests passed during RECORDING mode:
TestAccCloudbuildv2Connection_GhePrivConnection[Debug log]
TestAccCloudbuildv2Connection_GheConnection[Debug log]
TestAccCloudbuildv2Connection_GhePrivUpdateConnection[Debug log]
TestAccContainerCluster_failedCreation[Debug log]

All tests passed
View the build log or the debug log for each test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants