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

Enable reporting test coverage to Coveralls from Shippable and disable per-PR coverage #12950

Merged
merged 1 commit into from
Aug 21, 2015

Conversation

ixdy
Copy link
Member

@ixdy ixdy commented Aug 19, 2015

Fix Coveralls coverage reporting from Shippable by fixing path to goveralls and adding necessary environment variables (I think).

Also disable unit test coverage collection on PRs to speed up the build.

@k8s-bot
Copy link

k8s-bot commented Aug 19, 2015

GCE e2e build/test passed for commit 59fc39cbae38026b01d1078299525f977e38e5f6.

@k8s-bot
Copy link

k8s-bot commented Aug 19, 2015

GCE e2e build/test passed for commit c828bda077a66ce11b9a2e94ceac4dc1bf6b0aa6.

@k8s-bot
Copy link

k8s-bot commented Aug 19, 2015

GCE e2e build/test passed for commit af9d319606fd413346bfed1d5a77d78261ce0ba0.

@ixdy ixdy force-pushed the coveralls branch 2 times, most recently from b2f409a to 01f0920 Compare August 19, 2015 23:53
@k8s-bot
Copy link

k8s-bot commented Aug 19, 2015

GCE e2e build/test passed for commit 052909c704da7e91cefcac62c6a474bdd1dec0b9.

@k8s-bot
Copy link

k8s-bot commented Aug 20, 2015

GCE e2e build/test passed for commit b2f409ad85680c867f4c61261361c286cb6c2742.

@k8s-bot
Copy link

k8s-bot commented Aug 20, 2015

GCE e2e build/test passed for commit 01f09209613af6d5e39428922ba4dc882fa082a3.

@k8s-bot
Copy link

k8s-bot commented Aug 20, 2015

GCE e2e build/test passed for commit dff95f7f990b1c03d98b599a1f48ee7602a8467c.

@ixdy ixdy force-pushed the coveralls branch 2 times, most recently from 5ebce97 to 314ed6c Compare August 20, 2015 22:07
@ixdy ixdy changed the title [WIP DO NOT MERGE] Enable reporting test coverage to Coveralls from Shippable [WIP DO NOT MERGE] Enable reporting test coverage to Coveralls from Shippable and disable per-PR coverage Aug 20, 2015
@k8s-bot
Copy link

k8s-bot commented Aug 20, 2015

GCE e2e build/test passed for commit 5ebce97542941b266f785e0ad276391245b17c11.

@ixdy ixdy changed the title [WIP DO NOT MERGE] Enable reporting test coverage to Coveralls from Shippable and disable per-PR coverage Enable reporting test coverage to Coveralls from Shippable and disable per-PR coverage Aug 20, 2015
@ixdy
Copy link
Member Author

ixdy commented Aug 20, 2015

@zmerlynn @senorflor can one of you review this please?

Unfortunately, I don't think Shippable decrypts the secure environment variables for PRs not from a branch in the kubernetes repo, so I don't have a good way to test that coverage reporting actually works until this is merged.

Also, I have to duplicate a bunch of stuff because global environment variables don't work correctly with matrices on Shippable. Already filed Shippable/support#1808 for that one.

@ixdy
Copy link
Member Author

ixdy commented Aug 20, 2015

Note that the names of the environment variables comes from https://coveralls.zendesk.com/hc/en-us/articles/201347419-Coveralls-currently-supports.

@k8s-bot
Copy link

k8s-bot commented Aug 20, 2015

GCE e2e build/test passed for commit 314ed6c45c95245f49543f083f9c48853cb2ca00.

However, enable coverage collection only on merges - not on pull
requests.
@zmerlynn
Copy link
Member

Shouldn't the Coveralls widget be reporting on this PR?

@zmerlynn
Copy link
Member

Oh, you said NOT per-PR, that's right.

@zmerlynn
Copy link
Member

This looks fine, assuming it passes CI.

@k8s-bot
Copy link

k8s-bot commented Aug 20, 2015

GCE e2e build/test passed for commit 82cb1e9d8b56d6ad5a91bfd8bd189d135e7b18ba.

@k8s-bot
Copy link

k8s-bot commented Aug 20, 2015

GCE e2e build/test passed for commit 6f548cf.

@ixdy
Copy link
Member Author

ixdy commented Aug 21, 2015

@brendandburns why did the merge bot assign my own PR to me?

@ixdy ixdy removed their assignment Aug 21, 2015
@zmerlynn
Copy link
Member

@ixdy: Probably no self-assignment check?

@ixdy
Copy link
Member Author

ixdy commented Aug 21, 2015

This passed all the CI tests ... can I get an LG?

@zmerlynn zmerlynn added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 21, 2015
zmerlynn added a commit that referenced this pull request Aug 21, 2015
Enable reporting test coverage to Coveralls from Shippable and disable per-PR coverage
@zmerlynn zmerlynn merged commit 86a10a1 into kubernetes:master Aug 21, 2015
@ixdy ixdy deleted the coveralls branch August 21, 2015 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants