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

[serverless-1.31 ]Backport: Adding support for func subscribe for creating triggers #724

Closed

Conversation

matzew
Copy link
Member

@matzew matzew commented Nov 7, 2023

backport of knative#2001 to midstream

/hold

…sed on event filters (knative#2001)

* Adding support for `func subscribe` for creating mutiple triggers, based on event filters

Signed-off-by: Matthias Wessendorf <[email protected]>

* Update cmd/subscribe.go

Co-authored-by: Luke Kingland <[email protected]>

* Update cmd/subscribe.go

Co-authored-by: Luke Kingland <[email protected]>

* Update cmd/subscribe.go

Co-authored-by: Luke Kingland <[email protected]>

* Update cmd/subscribe.go

Co-authored-by: Luke Kingland <[email protected]>

* Update cmd/subscribe.go

Co-authored-by: Luke Kingland <[email protected]>

* Update cmd/subscribe.go

Co-authored-by: Luke Kingland <[email protected]>

* removing unused import

Signed-off-by: Matthias Wessendorf <[email protected]>

* running make

Signed-off-by: Matthias Wessendorf <[email protected]>

* Some import ogranization

Signed-off-by: Matthias Wessendorf <[email protected]>

* Change argument syntax

Signed-off-by: Matthias Wessendorf <[email protected]>

* changes

Signed-off-by: Matthias Wessendorf <[email protected]>

* Adding some emoji text

Signed-off-by: Matthias Wessendorf <[email protected]>

* 💄 move subscriptions underneath the deploy element

Signed-off-by: Matthias Wessendorf <[email protected]>

* adding silly emoji to build

Signed-off-by: Matthias Wessendorf <[email protected]>

* Adding some simple/copied/modified test

Signed-off-by: Matthias Wessendorf <[email protected]>

* Running 'make schema-generate'

Signed-off-by: Matthias Wessendorf <[email protected]>

* Update function

Signed-off-by: Matthias Wessendorf <[email protected]>

* Little unit test

Signed-off-by: Matthias Wessendorf <[email protected]>

* Adding a bit more help text

Signed-off-by: Matthias Wessendorf <[email protected]>

* misspell instruction

Signed-off-by: Matthias Wessendorf <[email protected]>

---------

Signed-off-by: Matthias Wessendorf <[email protected]>
Co-authored-by: Luke Kingland <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (serverless-1.31@6aca370). Click here to learn what that means.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@                Coverage Diff                 @@
##             serverless-1.31     #724   +/-   ##
==================================================
  Coverage                   ?   63.98%           
==================================================
  Files                      ?      109           
  Lines                      ?    14671           
  Branches                   ?        0           
==================================================
  Hits                       ?     9387           
  Misses                     ?     4395           
  Partials                   ?      889           
Flag Coverage Δ
e2e-test 36.38% <0.00%> (?)
e2e-test-runtime-go 25.18% <0.00%> (?)
e2e-test-runtime-node 26.15% <0.00%> (?)
e2e-test-runtime-python 26.15% <0.00%> (?)
e2e-test-runtime-quarkus 27.06% <0.00%> (?)
e2e-test-runtime-rust 25.96% <0.00%> (?)
e2e-test-runtime-springboot 25.31% <0.00%> (?)
e2e-test-runtime-typescript 26.25% <0.00%> (?)
integration-tests 51.49% <0.00%> (?)
unit-tests-macos-latest 51.23% <0.00%> (?)
unit-tests-ubuntu-latest 51.91% <0.00%> (?)
unit-tests-windows-latest 48.63% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matzew matzew changed the title Backport: Adding support for func subscribe for creating triggers [serverless-1.31 ]Backport: Adding support for func subscribe for creating triggers Nov 7, 2023
Copy link

openshift-ci bot commented Nov 7, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lkingland, matzew

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

@openshift-ci openshift-ci bot added the approved label Nov 7, 2023
@dsimansk
Copy link
Collaborator

dsimansk commented Nov 9, 2023

@matzew we are kind of in a code freeze with productized build done. Do we want this feature to make into 1.31 still?

@matzew
Copy link
Member Author

matzew commented Nov 9, 2023

/close
as per PM call, we wait for this to land than w/ the 1.32 version of the product, in 2024 🎉

@openshift-ci openshift-ci bot closed this Nov 9, 2023
Copy link

openshift-ci bot commented Nov 9, 2023

@matzew: Closed this PR.

In response to this:

/close
as per PM call, we wait for this to land than w/ the 1.32 version of the product, in 2024 🎉

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants