-
Notifications
You must be signed in to change notification settings - Fork 208
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
Connectivity test factory component. #2322
Conversation
1e7938f
to
afb1a8a
Compare
afb1a8a
to
2b90c15
Compare
2b90c15
to
090b36e
Compare
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.
Could you please add entries to CODEOWNERS
for the newly created files in connectivity/facrtory
where applicable? Where the owner is not obvious, keeping @cilium/ci-structure is probably fine for now, but some tests are quite feature-specific so the relevant team should probably be in the loop for any future changes.
f534f32
to
a5ace62
Compare
Done, thanks! |
a5ace62
to
0b46aa4
Compare
0b46aa4
to
f5402d6
Compare
i'll review this today |
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.
💯 for splitting tests into separate files 🥰
at a very high level we need to think about how to express the order of tests. it will be difficult to maintain if we have a single primaryTests
. we also need to think about tests being added from outside using the hook interface.
... stepping back even further, it doesn't have to be fixed in this PR but why does the order matter?
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.
thanks viktor it looks much better now. i have a couple of minor nits but i'm approving it now. feel free to merge it once these nits get addressed 🚀🙏
3d92508
to
620e130
Compare
620e130
to
a3d9aab
Compare
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.
Code changes LGTM.
Some suggestions for CODEOWNERS
inline. Please also squash your commits into a single one.
CODEOWNERS
Outdated
/connectivity/builder/egress_gateway.go @cilium/sig-clustermesh | ||
/connectivity/builder/egress_gateway_excluded_cidrs.go @cilium/sig-clustermesh |
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.
These should probably be owned by @cilium/egress-gateway.
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.
Fixed, thanks!
CODEOWNERS
Outdated
/connectivity/builder/health.go @cilium/sig-clustermesh | ||
/connectivity/builder/host_entity_egress.go @cilium/sig-clustermesh | ||
/connectivity/builder/host_entity_ingress.go @cilium/sig-clustermesh |
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 why these are assigned to @cilium/sig-clustermesh. The features they're testing don't seem related. Probably best to drop these entries and let @cilium/ci-structure take care of them for now.
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 just deleted them because @cilium/ci-structure
is the default for the package.
CODEOWNERS
Outdated
/connectivity/builder/echo_ingress.go @cilium/sig-clustermesh | ||
/connectivity/builder/echo_ingress_auth_always_fail.go @cilium/sig-clustermesh | ||
/connectivity/builder/echo_ingress_from_other_client_deny.go @cilium/sig-clustermesh | ||
/connectivity/builder/echo_ingress_from_outside.go @cilium/sig-clustermesh | ||
/connectivity/builder/echo_ingress_knp.go @cilium/sig-clustermesh | ||
/connectivity/builder/echo_ingress_l7.go @cilium/sig-clustermesh | ||
/connectivity/builder/echo_ingress_l7_named_port.go @cilium/sig-clustermesh | ||
/connectivity/builder/echo_ingress_mutual_auth_spiffe.go @cilium/sig-encryption |
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.
Based on the features these are testing, I think they should be assigned to @cilium/sig-servicemesh instead.
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.
Fixed.
Signed-off-by: viktor-kurchenko <[email protected]>
a3d9aab
to
e11fc05
Compare
Commits squashed, thank you! |
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, thanks Viktor!
Introducing connectivity tests factory component.
The PR goals are: