-
Couldn't load subscription status.
- Fork 1.6k
📖 add e2e test to validate webhook conversion between versions in the tutorials #5069
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
base: master
Are you sure you want to change the base?
📖 add e2e test to validate webhook conversion between versions in the tutorials #5069
Conversation
|
Hi @wazery. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
2fda561 to
681bf43
Compare
docs/book/src/multiversion-tutorial/testdata/project/test/e2e/e2e_test.go
Show resolved
Hide resolved
681bf43 to
d65d418
Compare
effbdb8 to
6d31a62
Compare
9fab9f8 to
6d8d9f7
Compare
docs/book/src/multiversion-tutorial/testdata/project/test/e2e/e2e_test.go
Outdated
Show resolved
Hide resolved
docs/book/src/multiversion-tutorial/testdata/project/test/e2e/e2e_test.go
Outdated
Show resolved
Hide resolved
e79777c to
941df82
Compare
|
/ok-to-test Thank you for the contirbution 🥇 We would need to do something very similar to that. |
|
Great work 🥇 /lgtm |
|
/lgtm cancel |
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.
Coudl you please rebase with master and ensure that you run:
make install
make generate-docs
TO have all updated accordingly?
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wazery The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b56b865 to
1361e7e
Compare
yes I ran them, I also just reran them now and I see no difference in files, the branch is also up to date with master |
1361e7e to
2891ee8
Compare
|
/override pull-kubebuilder-e2e-k8s-1-34-0 |
|
@camilamacedo86: Overrode contexts on behalf of camilamacedo86: pull-kubebuilder-e2e-k8s-1-34-0 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-sigs/prow repository. |
2891ee8 to
5921329
Compare
|
/override pull-kubebuilder-e2e-k8s-1-34-1 |
|
@wazery: wazery unauthorized: /override is restricted to Repo administrators. 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-sigs/prow repository. |
5921329 to
e7a133f
Compare
|
@camilamacedo86 I just fixed the failing test, hope the PR is ready now for merge. |
|
/override pull-kubebuilder-e2e-k8s-1-34-1 /override pull-kubebuilder-e2e-k8s-1-34-0 |
|
@camilamacedo86: /override requires failed status contexts, check run or a prowjob name to operate on.
Only the following failed contexts/checkruns were expected:
If you are trying to override a checkrun that has a space in it, you must put a double quote on the context. 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-sigs/prow repository. |
|
/override pull-kubebuilder-e2e-k8s-1-34-0 |
|
@camilamacedo86: Overrode contexts on behalf of camilamacedo86: pull-kubebuilder-e2e-k8s-1-34-0 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-sigs/prow repository. |
| - date; echo Hello from the Kubernetes cluster | ||
| restartPolicy: OnFailure` | ||
|
|
||
| newTextV1 := ` template: |
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.
We should instead update the places where those values are defined instead
See: https://github.com/kubernetes-sigs/kubebuilder/blob/master/hack/docs/internal/cronjob-tutorial/sample.go#L19-L34
We can replace all this implementation and just update the const.
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 addressed it, many thanks for the pointer.
e7a133f to
a305b10
Compare
|
@wazery: 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-sigs/prow repository. I understand the commands that are listed here. |
This PR introduces an e2e test to validate webhook conversion between versions, as part of the multiversion tutorial e2e tests.
Fixes: #4255