Skip to content

Migrate network connectivity spoke from DCL to MMv1 #11066

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

Merged
merged 28 commits into from
Jul 18, 2024

Conversation

kalpanda
Copy link
Contributor

@kalpanda kalpanda commented Jun 27, 2024

Migration of Spoke from DCL to Magic-Modules

Migration of Hub from DCL to Magic-Modules

networkconnectivity: migrated `google_network_connectivity_spoke` from DCL to MMv1

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Jun 27, 2024
@kalpanda kalpanda marked this pull request as ready for review June 28, 2024 12:31
@github-actions github-actions bot requested a review from zli82016 June 28, 2024 12:31
Copy link

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@zli82016, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@modular-magician modular-magician removed the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Jun 28, 2024
@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 hasn't generated any diffs, but I'll let you know if a future commit does.

Errors

google provider:

  • Failed to clone repo at new branch
  • Failed to clone repo at old branch

google-beta provider:

  • Failed to clone repo at new branch
  • Failed to clone repo at old branch

terraform-google-conversion:

  • Failed to clone repo at new branch
  • Failed to clone repo at old branch

Open in Cloud Shell:

  • Failed to clone repo at new branch
  • Failed to clone repo at old branch

@github-actions github-actions bot requested a review from zli82016 July 2, 2024 05:06
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Jul 2, 2024
@github-actions github-actions bot requested a review from zli82016 July 4, 2024 05:43
Copy link

github-actions bot commented Jul 8, 2024

@zli82016 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

@modular-magician modular-magician added service/network-connectivity-center and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Jul 8, 2024
@modular-magician modular-magician removed the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Jul 12, 2024
@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.

google provider: Diff ( 7 files changed, 1517 insertions(+), 766 deletions(-))
google-beta provider: Diff ( 7 files changed, 1446 insertions(+), 746 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 299 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 288 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field project lost its diff suppress function - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 19
Passed tests: 19
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • networkconnectivity

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

@zli82016 zli82016 removed their request for review July 12, 2024 16:45
@trodge trodge requested a review from zli82016 July 12, 2024 22:29
@zli82016
Copy link
Member

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field project lost its diff suppress function - reference

If you believe this detection to be incorrect please raise the concern with your reviewer. If you intend to make this change you will need to wait for a major release window. An override-breaking-change label can be added to allow merging.

Hello, @trodge , is this a breaking change?

@trodge
Copy link
Contributor

trodge commented Jul 12, 2024

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field project lost its diff suppress function - reference

If you believe this detection to be incorrect please raise the concern with your reviewer. If you intend to make this change you will need to wait for a major release window. An override-breaking-change label can be added to allow merging.

Hello, @trodge , is this a breaking change?

No, this is a false positive. Diff suppress functions on the project field have no effect because the field is never read from the API.

@zli82016 zli82016 added the override-breaking-change Allows a potential breaking change to be merged label Jul 15, 2024
@github-actions github-actions bot requested review from trodge and zli82016 July 16, 2024 08:12
@modular-magician modular-magician added awaiting-approval Pull requests that need reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Jul 16, 2024
@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.

google provider: Diff ( 8 files changed, 1518 insertions(+), 789 deletions(-))
google-beta provider: Diff ( 9 files changed, 1447 insertions(+), 788 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 299 insertions(+))
Open in Cloud Shell: Diff ( 8 files changed, 288 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field project lost its diff suppress function - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3861
Passed tests: 3464
Skipped tests: 383
Affected tests: 14

Click here to see the affected service packages

All service packages are affected

Action taken

Found 14 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccComputeRouterBgpPeer_routerPeerRouterAppliance
  • TestAccComputeRouterNat_AutoNetworkTier
  • TestAccComputeRouterNat_withPrivateNatAndEmptyAction
  • TestAccComputeRouterNat_withPrivateNatAndEmptyActionActiveRanges
  • TestAccComputeRouterNat_withPrivateNatAndRules
  • TestAccComputeRouterPeer_routerApplianceInstance
  • TestAccDataSourceArtifactRegistryDockerImage
  • TestAccNetworkConnectivitySpoke_LinkedVPCNetworkHandWritten
  • TestAccNetworkConnectivitySpoke_LinkedVPCNetworkHandWrittenLongForm
  • TestAccNetworkConnectivitySpoke_RouterApplianceHandWritten
  • TestAccNetworkConnectivitySpoke_RouterApplianceHandWrittenLongForm
  • TestAccNetworkConnectivitySpoke_networkConnectivitySpokeLinkedVpcNetworkBasicExample
  • TestAccNetworkConnectivitySpoke_networkConnectivitySpokeRouterApplianceBasicExample
  • TestAccNetworkServicesLbRouteExtension_update

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccComputeRouterBgpPeer_routerPeerRouterAppliance[Debug log]
TestAccComputeRouterNat_AutoNetworkTier[Debug log]
TestAccComputeRouterNat_withPrivateNatAndEmptyAction[Debug log]
TestAccComputeRouterNat_withPrivateNatAndEmptyActionActiveRanges[Debug log]
TestAccComputeRouterNat_withPrivateNatAndRules[Debug log]
TestAccComputeRouterPeer_routerApplianceInstance[Debug log]
TestAccNetworkConnectivitySpoke_LinkedVPCNetworkHandWritten[Debug log]
TestAccNetworkConnectivitySpoke_LinkedVPCNetworkHandWrittenLongForm[Debug log]
TestAccNetworkConnectivitySpoke_RouterApplianceHandWritten[Debug log]
TestAccNetworkConnectivitySpoke_RouterApplianceHandWrittenLongForm[Debug log]
TestAccNetworkConnectivitySpoke_networkConnectivitySpokeLinkedVpcNetworkBasicExample[Debug log]
TestAccNetworkConnectivitySpoke_networkConnectivitySpokeRouterApplianceBasicExample[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccDataSourceArtifactRegistryDockerImage[Error message] [Debug log]
TestAccNetworkServicesLbRouteExtension_update[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

Copy link
Member

@zli82016 zli82016 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@zli82016
Copy link
Member

@trodge, do you mind reviewing the PR again? Thanks.

@trodge trodge merged commit 64435d2 into GoogleCloudPlatform:main Jul 18, 2024
13 of 14 checks passed
abd-goog pushed a commit to abd-goog/magic-modules that referenced this pull request Jul 30, 2024
Charlesleonius pushed a commit to Charlesleonius/magic-modules that referenced this pull request Aug 1, 2024
BBBmau pushed a commit to bschaatsbergen/magic-modules that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
override-breaking-change Allows a potential breaking change to be merged service/network-connectivity-center
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants