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

remove v1alpha1 sources APIs #5317

Merged

Conversation

lionelvillard
Copy link
Member

@lionelvillard lionelvillard commented Apr 27, 2021

Proposed Changes

  • Remove APIServerSource and SinkBinding v1alpha1 APIs

Pre-review Checklist

  • At least 80% unit test coverage
  • E2E tests for any new behavior
  • Docs PR for any user-facing impact
  • Spec PR for any new API feature
  • Conformance test for any change to the spec

Release Note

:wastebasket: Remove APIServerSource and SinkBinding v1alpha1 APIs

Docs

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Apr 27, 2021
@knative-prow-robot knative-prow-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. area/test-and-release Test infrastructure, tests or release labels Apr 27, 2021
@codecov
Copy link

codecov bot commented Apr 27, 2021

Codecov Report

Merging #5317 (15d01ed) into main (e807987) will decrease coverage by 0.12%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5317      +/-   ##
==========================================
- Coverage   83.68%   83.56%   -0.13%     
==========================================
  Files         243      233      -10     
  Lines        6896     6674     -222     
==========================================
- Hits         5771     5577     -194     
+ Misses        783      762      -21     
+ Partials      342      335       -7     
Impacted Files Coverage Δ
pkg/adapter/apiserver/adapter.go 62.74% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc44024...15d01ed. Read the comment docs.

@lionelvillard lionelvillard force-pushed the remove-sources-v1alpha1 branch 3 times, most recently from 0057654 to 4dea817 Compare April 27, 2021 15:59
Copy link
Contributor

@n3wscott n3wscott left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 27, 2021
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: n3wscott

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 27, 2021
@knative-prow-robot knative-prow-robot merged commit 474fb5b into knative:main Apr 27, 2021
@n3wscott
Copy link
Contributor

Can you followup with fixes for:

  • eventing-kafka
  • eventing-rabbitmq

@lionelvillard
Copy link
Member Author

Kafka follow-up: knative-extensions/eventing-kafka#580

@n3wscott @vaikas rabbitmq has been broken for a while now. Can you take a look?

@vaikas
Copy link
Contributor

vaikas commented Apr 27, 2021

I don't see the downstream for rabbitmq being broken before this PR?
Here's the last passing test:
https://github.com/knative/eventing/runs/2448237273?check_suite_focus=true

But your PR caused the break?

  go: downloading github.com/jmespath/go-jmespath v0.3.0
  knative.dev/eventing-rabbitmq/pkg/reconciler/source imports
  	knative.dev/eventing/pkg/apis/sources/v1alpha1: module knative.dev/eventing@latest found (v0.22.1, replaced by /home/runner/work/eventing/eventing/src/knative.dev/eventing), but does not contain package knative.dev/eventing/pkg/apis/sources/v1alpha1
  go: finding module for package knative.dev/eventing/pkg/apis/sources/v1alpha1
  knative.dev/eventing-rabbitmq/pkg/reconciler/source imports
  	knative.dev/eventing/pkg/apis/sources/v1alpha1: module knative.dev/eventing@latest found (v0.22.1, replaced by /home/runner/work/eventing/eventing/src/knative.dev/eventing), but does not contain package knative.dev/eventing/pkg/apis/sources/v1alpha1

But, in any case I'll fix it in rabbitmq.

@vaikas
Copy link
Contributor

vaikas commented Apr 27, 2021

@lionelvillard
Copy link
Member Author

I was referring to this: knative-extensions/eventing-rabbitmq#273

matzew added a commit to matzew/eventing that referenced this pull request Apr 28, 2021
…ive#5317

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
openshift-merge-robot pushed a commit to openshift/knative-eventing that referenced this pull request Apr 28, 2021
…ive#5317 (#1229)

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
@vaikas
Copy link
Contributor

vaikas commented Apr 28, 2021

@lionelvillard ah yes, thanks :) Yeah, I meant the downstream UT here were not breaking, but the fact that we can't update the deps is being worked in here:
knative-extensions/eventing-rabbitmq#276

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/test-and-release Test infrastructure, tests or release cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants