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

Add Nats channel CRD implementation #491

Merged
merged 5 commits into from
Aug 6, 2019

Conversation

montaro
Copy link
Contributor

@montaro montaro commented Jul 27, 2019

Fixes knative/eventing#1567

Release Note

Added Nats channel CRD implementation

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added the cla: no Indicates the PR's author has not signed the CLA. label Jul 27, 2019
@knative-prow-robot knative-prow-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jul 27, 2019
@knative-prow-robot
Copy link
Contributor

Hi @montaro. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@knative-prow-robot knative-prow-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jul 27, 2019
@montaro montaro changed the title Move Nats cluster channel provisioner implementation Add Nats cluster channel provisioner implementation Jul 27, 2019
@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: yes Indicates the PR's author has signed the CLA. and removed cla: no Indicates the PR's author has not signed the CLA. labels Jul 28, 2019
Copy link
Contributor

@vaikas vaikas left a comment

Choose a reason for hiding this comment

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

Thanks so much for doing this. I think I'd like to just move over the CRD based implementation. Let's leave the CCP for the eventing, then remove it right after cutting 0.8 and then this will be the correct CRD to use. Thoughts?
@Harwayne

natss/config/provisioner/provisioner.yaml Outdated Show resolved Hide resolved
natss/config/provisioner/README.md Outdated Show resolved Hide resolved
natss/config/provisioner/README.md Outdated Show resolved Hide resolved
natss/config/provisioner/README.md Outdated Show resolved Hide resolved
natss/config/provisioner/README.md Outdated Show resolved Hide resolved
natss/config/README.md Outdated Show resolved Hide resolved
natss/config/README.md Outdated Show resolved Hide resolved
natss/config/broker/README.md Outdated Show resolved Hide resolved
natss/config/broker/natss.yaml Outdated Show resolved Hide resolved
@vaikas
Copy link
Contributor

vaikas commented Jul 29, 2019

/ok-to-test

@knative-prow-robot knative-prow-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jul 29, 2019
@vaikas
Copy link
Contributor

vaikas commented Jul 29, 2019

@n3wscott / @Harwayne / @nachocano what should the story be here for e2e tests?

@nachocano
Copy link
Contributor

@n3wscott / @Harwayne / @nachocano what should the story be here for e2e tests?

As you mentioned above, I think we should only move the CRD based channels, together with their e2e tests here. And leave the provisioner code and their e2e tests in eventing. We'll remove them next week after the 0.8 cut.
We may need help from @Fredy-Z for e2e test migration.

@knative-prow-robot knative-prow-robot added the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Aug 5, 2019
@montaro montaro force-pushed the move-contrib/natss branch 4 times, most recently from 5dae81f to 35e795a Compare August 6, 2019 16:47
fix Copyright 2018 to Copyright 2019

fix documentation internal links

fix review comments

fix images locations
@montaro
Copy link
Contributor Author

montaro commented Aug 6, 2019

@vaikas-google Hey, I fixed all the review comments, can you please review now?

@vaikas vaikas changed the title Add Nats cluster channel provisioner implementation Add Nats channel CRD implementation Aug 6, 2019
@vaikas
Copy link
Contributor

vaikas commented Aug 6, 2019

/lgtm
/approve

@knative-prow-robot knative-prow-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed lgtm Indicates that a PR is ready to be merged. labels Aug 6, 2019
@knative-prow-robot
Copy link
Contributor

The following users are mentioned in OWNERS file(s) but are not members of the knative org.

  • natss-reviewers
    • natss/OWNERS
  • natss-approvers
    • natss/OWNERS

@knative-metrics-robot
Copy link

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

File Old Coverage New Coverage Delta
natss/pkg/apis/messaging/v1alpha1/natss_channel_defaults.go Do not exist 0.0%
natss/pkg/apis/messaging/v1alpha1/natss_channel_lifecycle.go Do not exist 100.0%
natss/pkg/apis/messaging/v1alpha1/natss_channel_types.go Do not exist 0.0%
natss/pkg/apis/messaging/v1alpha1/natss_channel_validation.go Do not exist 100.0%
natss/pkg/apis/messaging/v1alpha1/register.go Do not exist 0.0%
natss/pkg/reconciler/controller/natsschannel.go Do not exist 80.6%
natss/pkg/reconciler/controller/resources/service.go Do not exist 100.0%
natss/pkg/stanutil/stanutil.go Do not exist 58.6%

@knative-prow-robot
Copy link
Contributor

@montaro: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-knative-eventing-contrib-go-coverage 5833fe0 link /test pull-knative-eventing-contrib-go-coverage

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@vaikas
Copy link
Contributor

vaikas commented Aug 6, 2019

/verify-owners

1 similar comment
@grantr
Copy link
Contributor

grantr commented Aug 6, 2019

/verify-owners

@vaikas
Copy link
Contributor

vaikas commented Aug 6, 2019

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2019
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@vaikas vaikas removed the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Aug 6, 2019
@grantr
Copy link
Contributor

grantr commented Aug 6, 2019

Prow is blocking merge here because the OWNERS_ALIASES file (in master) doesn't contain the aliases referenced in this OWNERS file. #511 fixed that (in master), but this branch doesn't have that change yet. Most likely master would need to be merged into this branch to fix the owners issue.

I think it's fine to override the label in this case.

@knative-prow-robot knative-prow-robot merged commit c56c2f3 into knative:master Aug 6, 2019
@montaro montaro deleted the move-contrib/natss branch August 7, 2019 11:37
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. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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.

Move contrib/natss to github.com/knative/eventing-contrib
7 participants