Skip to content
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

✨ Topology Mutation Hook: Implement external patching #6623

Conversation

sbueringer
Copy link
Member

@sbueringer sbueringer commented Jun 10, 2022

Signed-off-by: Stefan Büringer [email protected]

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Part of #6545

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jun 10, 2022
@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jun 10, 2022
@sbueringer sbueringer force-pushed the pr-topology-mutation-external-only branch from 4d8fc83 to 6aa39f5 Compare June 10, 2022 12:10
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jun 10, 2022
@sbueringer sbueringer force-pushed the pr-topology-mutation-external-only branch from 6aa39f5 to 45d9755 Compare June 10, 2022 12:15
@sbueringer sbueringer added the area/runtime-sdk Issues or PRs related to Runtime SDK label Jun 11, 2022
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 11, 2022
Copy link
Member

@fabriziopandini fabriziopandini left a comment

Choose a reason for hiding this comment

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

Made a first quick pass, overall lgtm.
It is really exciting to see all the pieces finally coming together

@killianmuldoon killianmuldoon force-pushed the pr-topology-mutation-external-only branch from a74ce34 to 875d610 Compare June 15, 2022 11:32
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 15, 2022
@killianmuldoon killianmuldoon force-pushed the pr-topology-mutation-external-only branch 2 times, most recently from 8770859 to dae68ae Compare June 15, 2022 11:42
@@ -361,7 +366,17 @@ func TestApply(t *testing.T) {
blueprint, desired := setupTestObjects()

// If there are patches, set up patch generators.
patchEngine := NewEngine()
// FIXME(sbueringer) implement test for external patches
Copy link
Contributor

Choose a reason for hiding this comment

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

Current version is still missing these tests.

Copy link
Member Author

Choose a reason for hiding this comment

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

Just to clarify: Plan is to add them in a follow-up PR which will be up today or tomorrow

@sbueringer sbueringer force-pushed the pr-topology-mutation-external-only branch 5 times, most recently from d7ecab4 to 2ae268f Compare June 15, 2022 14:09
@sbueringer sbueringer changed the title [WIP] ✨ Topology Mutation Hook: Implement external patching ✨ Topology Mutation Hook: Implement external patching Jun 15, 2022
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 15, 2022
@sbueringer sbueringer force-pushed the pr-topology-mutation-external-only branch from 2ae268f to df5773c Compare June 15, 2022 14:12
Signed-off-by: Stefan Büringer [email protected]

Co-authored-by: killianmuldoon <[email protected]>
@sbueringer sbueringer force-pushed the pr-topology-mutation-external-only branch from df5773c to 998bc05 Compare June 15, 2022 14:13
@sbueringer
Copy link
Member Author

/lgtm
(wrote parts of it myself, but still lgtm)

@k8s-ci-robot
Copy link
Contributor

@sbueringer: you cannot LGTM your own PR.

In response to this:

/lgtm
(wrote parts of it myself, but still lgtm)

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.

@killianmuldoon
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 15, 2022
Copy link
Member

@fabriziopandini fabriziopandini left a comment

Choose a reason for hiding this comment

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

Great job!
/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabriziopandini

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 15, 2022
@k8s-ci-robot k8s-ci-robot merged commit 447bc5b into kubernetes-sigs:main Jun 15, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.2 milestone Jun 15, 2022
@sbueringer sbueringer deleted the pr-topology-mutation-external-only branch June 15, 2022 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/runtime-sdk Issues or PRs related to Runtime SDK cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants