-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix vnet in separate resource group #4191
Conversation
/test pull-cluster-api-provider-azure-e2e-optional |
c44cd84
to
a9a27a4
Compare
/test pull-cluster-api-provider-azure-e2e-optional |
a9a27a4
to
c6531c3
Compare
This should be ready for review! /retitle use different rg for vnet in custom vnet e2e test |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4191 +/- ##
==========================================
+ Coverage 57.86% 57.99% +0.12%
==========================================
Files 187 187
Lines 19216 19256 +40
==========================================
+ Hits 11120 11168 +48
+ Misses 7468 7458 -10
- Partials 628 630 +2
☔ View full report in Codecov by Sentry. |
@nojnhuh: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/test pull-cluster-api-provider-azure-test |
@@ -155,6 +156,7 @@ var _ = Describe("Workload cluster creation", func() { | |||
clusterName = getClusterName(clusterNamePrefix, "public-custom-vnet") | |||
By("Creating a custom virtual network", func() { | |||
Expect(os.Setenv(AzureCustomVNetName, "custom-vnet")).To(Succeed()) | |||
Expect(os.Setenv(AzureCustomVnetResourceGroup, clusterName+"-vnetrg")).To(Succeed()) |
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.
is everything getting cleaned up as it should now that we're using a separate RG?
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, but I'll check
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, I don't see any extra resource groups around after running the test locally.
/test pull-cluster-api-provider-azure-e2e-optional |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM label has been added. Git tree hash: 2292c477e5f8ad41d78337af9525e0f5aef7bed4
|
/cherry-pick release-1.11 |
@nojnhuh: once the present PR merges, I will cherry-pick it on top of release-1.11 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retitle fix vnet in separate resource group
/remove-kind cleanup |
@nojnhuh: new pull request created: #4205 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@nojnhuh: new pull request created: #4207 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
lgtm++. Nice fix! |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR updates the custom vnet e2e test to use different resource groups for the vnet and the rest of the cluster resources. I was trying to test this same scenario for #3528 and was running into issues that didn't seem related, so I'd like to make sure this scenario works on main first.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
TODOs:
Release note: