Skip to content
This repository was archived by the owner on Jun 4, 2021. It is now read-only.

Migrate Eventing Sources to use CloudEvent Client#191

Merged
knative-prow-robot merged 13 commits into
knative:masterfrom
n3wscott:use-cloudevent-client
Jan 30, 2019
Merged

Migrate Eventing Sources to use CloudEvent Client#191
knative-prow-robot merged 13 commits into
knative:masterfrom
n3wscott:use-cloudevent-client

Conversation

@n3wscott
Copy link
Copy Markdown
Contributor

Proposed Changes

  • Updates all sources to use cloudevents.Client
  • Had to fix up some tests to make this work.

Release Note

Sources now use `cloudevents.Client`, a simpler way to send CloudEvents.

@knative-prow-robot knative-prow-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jan 29, 2019
@n3wscott
Copy link
Copy Markdown
Contributor Author

/cc @Harwayne
/cc @whynowy
/cc @vaikas-google
/cc @greghaynes

@knative-prow-robot
Copy link
Copy Markdown
Contributor

@n3wscott: GitHub didn't allow me to request PR reviews from the following users: whynowy.

Note that only knative members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

/cc @Harwayne
/cc @whynowy
/cc @vaikas-google
/cc @greghaynes

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.

@n3wscott
Copy link
Copy Markdown
Contributor Author

/hold

Missed contrib/gcppubsub. I will do that now.

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 29, 2019
@n3wscott
Copy link
Copy Markdown
Contributor Author

/hold cancel

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 29, 2019
@n3wscott
Copy link
Copy Markdown
Contributor Author

/retest

@n3wscott
Copy link
Copy Markdown
Contributor Author

/test pull-knative-eventing-sources-go-coverage

@n3wscott
Copy link
Copy Markdown
Contributor Author

/test pull-knative-eventing-sources-unit-tests

@n3wscott
Copy link
Copy Markdown
Contributor Author

n3wscott commented Jan 30, 2019

go test -race -v ./cmd/... ./pkg/... ./contrib/... works locally... come on prow.

@n3wscott
Copy link
Copy Markdown
Contributor Author

Hm, I had an old version of go installed...

⦿ go version
go version go1.10.3 darwin/amd64

Updating...

OK, updating to 1.11 showed me the problem.

@vaikas
Copy link
Copy Markdown
Contributor

vaikas commented Jan 30, 2019 via email

@knative-metrics-robot
Copy link
Copy Markdown

The following is the coverage report on pkg/.
Say /test pull-knative-eventing-sources-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/adapter/awssqs/adapter.go 54.2% 61.7% 7.5
pkg/adapter/cronjobevents/adapter.go 36.1% 100.0% 63.9
pkg/adapter/github/adapter.go 92.9% 97.6% 4.7
pkg/adapter/kubernetesevents/adapter.go 52.6% 74.2% 21.6

@vaikas
Copy link
Copy Markdown
Contributor

vaikas commented Jan 30, 2019

/approve

@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: n3wscott, vaikas-google

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Jan 30, 2019
@vaikas
Copy link
Copy Markdown
Contributor

vaikas commented Jan 30, 2019

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 30, 2019
@knative-prow-robot knative-prow-robot merged commit bffdae6 into knative:master Jan 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. 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