Make PingSource v1beta1 the stored version and add a migration tool#3951
Conversation
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
|
Hi @aavarghese. Thanks for your PR. I'm waiting for a knative 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. DetailsInstructions 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. |
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
|
/ok-to-test |
aliok
left a comment
There was a problem hiding this comment.
Didn't see the WIP and added some comments.
Let me have another look later.
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
|
/retest |
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
mattmoor
left a comment
There was a problem hiding this comment.
Produced via:
gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -name '*.pb.go' -prune -o -type f -name '*.go' -print)
goimports -w $(find -name '*.go' | grep -v vendor | grep -v third_party | grep -v .pb.go | grep -v wire_gen.go)
Unable to apply comments to the following files:
pkg/reconciler/pingsource/resources/receive_adapter_test.gopkg/reconciler/testing/pingsource.go
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
|
/retest |
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
|
/assign |
| // The webhook does not allow for invalid schedules to be posted. | ||
| // TODO: remove MarkSchedule | ||
| source.Status.MarkSchedule() |
There was a problem hiding this comment.
Why is this deleted? I don't have a lot of context, sorry if I am asking something silly.
There was a problem hiding this comment.
@aliok For pingsource v1beta1 lifecycle, the PingSourceConditionValidSchedule
condition was removed, along with others (#3607). MarkSchedule() in v1alpha2 also has a comment // TODO: this is a bad method name, change it. . Don't know what the plan is here cc: @lionelvillard
There was a problem hiding this comment.
yes this is a good change! The schedule is validated by the webhook so no need for a condition.
Signed-off-by: Ansu Varghese <avarghese@us.ibm.com>
|
The following is the coverage report on the affected files.
|
|
The following jobs failed:
Failed non-flaky tests preventing automatic retry of pull-knative-eventing-conformance-tests: |
|
/test pull-knative-eventing-conformance-tests |
|
Tests have all passed. Submitting for final reviews/approvals.... |
|
/approve @aliok for LGTM |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aavarghese, aliok, lionelvillard The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Ansu Varghese avarghese@us.ibm.com
#3886