GoogleCloudPlatform / k8s-multicluster-ingress

kubemci: Command line tool to configure L7 load balancers using multiple kubernetes clusters
Apache License 2.0
377 stars 68 forks source link

Add env vars to coverage target that will get Coveralls to post comments back to PR #78

Closed G-Harmon closed 6 years ago

G-Harmon commented 6 years ago

…comments back to PR.

I think the best way to test this out is to put up this PR and see if it gets a coverage report. The firewallrulesyncer.go change is just to make sure coveralls sees some Golang diff. I don't want to submit it.


This change is Reviewable

k8s-ci-robot commented 6 years ago

Hi @G-Harmon. Thanks for your PR.

I'm waiting for a kubernetes 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.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available [here](https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
nikhiljindal commented 6 years ago

/ok-to-test

On Nov 22, 2017 11:35 AM, "k8s-ci-robot" notifications@github.com wrote:

Hi @G-Harmon https://github.com/g-harmon. Thanks for your PR.

I'm waiting for a kubernetes https://github.com/orgs/kubernetes/people 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.

I understand the commands that are listed here https://github.com/kubernetes/test-infra/blob/master/commands.md.

Instructions for interacting with me using PR comments are available here https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue: repository.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/k8s-multicluster-ingress/pull/78#issuecomment-346452680, or mute the thread https://github.com/notifications/unsubscribe-auth/AJugO_71sVGBkfldWjUKk7hcTkWKuhA4ks5s5Hd3gaJpZM4Qn57H .

coveralls commented 6 years ago

Coverage Status

Changes Unknown when pulling da83c707af2d2ce06b56b734d40a8981050b1683 on G-Harmon:coveralls into on GoogleCloudPlatform:master.

G-Harmon commented 6 years ago

all right, coverage was posted here! PTAL. cc @nikhiljindal @BenTheElder @csbell

coveralls commented 6 years ago

Coverage Status

Changes Unknown when pulling dd389831f4189db3decd7866a160ff782a9ec988 on G-Harmon:coveralls into on GoogleCloudPlatform:master.

coveralls commented 6 years ago

Coverage Status

Changes Unknown when pulling dd389831f4189db3decd7866a160ff782a9ec988 on G-Harmon:coveralls into on GoogleCloudPlatform:master.

nikhiljindal commented 6 years ago

hmm good that it is posting. I assume 60% is the coverage with this PR and not the current coverage in our repo. Can you verify that?

Also, not sure why does it say "Changes unknown"?

BenTheElder commented 6 years ago

Not sure about the changes unknown but these look like the correct env skimming the coveralls docs. The coverage report should be this PR against master which doesn't change any go code so... coverage against master?

coveralls commented 6 years ago

Coverage Status

Changes Unknown when pulling b662b725734e5efd5736fd8a020905adb02abe19 on G-Harmon:coveralls into on GoogleCloudPlatform:master.

G-Harmon commented 6 years ago

I pushed a version of the commit where i moved some testes. Instead of 60%, it shows 53%, so it IS displaying coverage with the current PR. It still doesn't have the "change" though :-/

nikhiljindal commented 6 years ago

I am fine with merging this PR while we debug the Changes unknown thing. @G-Harmon can you revert the test changes?

G-Harmon commented 6 years ago

okay, cool. I've pushed the original commit again. I think it's ready to be merged.

coveralls commented 6 years ago

Coverage Status

Changes Unknown when pulling 44dcf12d725d9b1b01f38437b72a0a81ab15bb30 on G-Harmon:coveralls into on GoogleCloudPlatform:master.