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

[SRVKE-1119] Install eventing from midstream or from serverless operator #528

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

devguyio
Copy link

@devguyio devguyio commented Jan 26, 2022

This will install the eventing version which matches the current eventing-kafka version. If such version is not provided by Serverless Operator (since SO is ~ 2 releases behind upstream) then the midstream eventing repo will be used.

Followup:

  • Create an optional test step in the workflow to run against SO in case we used midstream eventing.

Signed-off-by: Ahmed Abdalla <aabdelre@redhat.com>
@devguyio devguyio changed the title Install eventing from midstream or from serverless operator Install eventing from midstream or from serverless operator - part 1 Jan 26, 2022
@devguyio
Copy link
Author

/assign @matzew

@matzew
Copy link
Member

matzew commented Jan 26, 2022 via email

# Outputs:
# Writes the calculated release version to stdout
################################################################################
function calculate_so_release() {
Copy link
Member

Choose a reason for hiding this comment

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

Noticed this is different than in #524 (for release-next)

shoudl we name it here calculate_so_release_branch ?

Copy link
Author

@devguyio devguyio Jan 26, 2022

Choose a reason for hiding this comment

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

this one is the more accurate one, cause it just calculates the release number "1.21" etc regardless of it being a branch or not.

@matzew
Copy link
Member

matzew commented Jan 26, 2022

Overall good!

Just some thoughts for moving this forward (can be totally done in a separate PR).

Create an optional test step in the workflow to run against SO in case we used midstream eventing.

Looking here:
https://github.com/openshift-knative/eventing-kafka/blob/main/openshift/e2e-tests.sh#L19

Will you create a different e2e-test-something file, which would than result in we have two make targets, invoke each a different e2e- file?

We could as you did ether parameterize the invocation or even "separate" the "install serverless" into two functions.

Thanks for the refactoring here!

/lgtm

/hold
Feel free to unhold

@openshift-ci
Copy link

openshift-ci bot commented Jan 26, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: devguyio, 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

@devguyio
Copy link
Author

Overall good!

Just some thoughts for moving this forward (can be totally done in a separate PR).

Create an optional test step in the workflow to run against SO in case we used midstream eventing.

Looking here: https://github.com/openshift-knative/eventing-kafka/blob/main/openshift/e2e-tests.sh#L19

Will you create a different e2e-test-something file, which would than result in we have two make targets, invoke each a different e2e- file?

We could as you did ether parameterize the invocation or even "separate" the "install serverless" into two functions.

yeah something similar to that indeed. I'd make a new make target that calls e2e_tests.sh with some parameter.

@devguyio
Copy link
Author

/unhold

@openshift-merge-robot openshift-merge-robot merged commit ffccfbe into openshift-knative:main Jan 26, 2022
@devguyio
Copy link
Author

devguyio commented Jan 28, 2022

I'm gonna cherry pick this to v1.1 only. The older ones are correctly testing against SO.
/cherrypick release-v1.1

@openshift-cherrypick-robot

@devguyio: new pull request created: #530

In response to this:

/cherrypick release-v1.1

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.

@devguyio devguyio changed the title Install eventing from midstream or from serverless operator - part 1 [SRVKE-1119] Install eventing from midstream or from serverless operator - part 1 Feb 3, 2022
@devguyio devguyio changed the title [SRVKE-1119] Install eventing from midstream or from serverless operator - part 1 [SRVKE-1119] Install eventing from midstream or from serverless operator Feb 3, 2022
ReToCode pushed a commit to ReToCode/eventing-kafka that referenced this pull request Jan 3, 2023
Signed-off-by: Knative Automation <automation@knative.team>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants