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

Support prow #174

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Support prow #174

wants to merge 1 commit into from

Conversation

dhiller
Copy link

@dhiller dhiller commented Aug 27, 2020

Instead of requiring to map the prow env vars to other values, directly
use the env vars defined here:

https://github.com/kubernetes/test-infra/blob/master/prow/jobs.md#job-environment-variables

@coveralls
Copy link

coveralls commented Aug 27, 2020

Coverage Status

Coverage increased (+0.8%) to 11.382% when pulling 9888fb7 on dhiller:support-prow-directly into 394f78c on mattn:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 9.703% when pulling 653cfb7 on dhiller:support-prow-directly into 21feffd on mattn:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 9.703% when pulling 653cfb7 on dhiller:support-prow-directly into 21feffd on mattn:master.

@dhiller dhiller force-pushed the support-prow-directly branch 2 times, most recently from c00a60a to f2b7145 Compare August 28, 2020 11:28
Copy link
Collaborator

@gdm85 gdm85 left a comment

Choose a reason for hiding this comment

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

@dhiller if you confirm that the example works and remove the Draft status we can continue with the reviews here.

Thanks!

README.md Outdated

Goveralls can be used in [prow](https://github.com/kubernetes/test-infra/tree/master/prow) presubmit jobs, picking up the prow [environment variables](https://github.com/kubernetes/test-infra/blob/master/prow/jobs.md#job-environment-variables) `PULL_REFS` and `PULL_NUMBER` to determine the branch and PR number automatically.

To avoid leaking your coveralls repo token you can use the `COVERALLS_TOKEN_FILE` env variable, so that a token gets read and used in the api call.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
To avoid leaking your coveralls repo token you can use the `COVERALLS_TOKEN_FILE` env variable, so that a token gets read and used in the api call.
To avoid leaking your coveralls repo token you can use the `COVERALLS_TOKEN_FILE` env variable, so that a token gets read and used in the API call.

@dhiller
Copy link
Author

dhiller commented Jan 4, 2021

@dhiller if you confirm that the example works and remove the Draft status we can continue with the reviews here.

Thanks!

Hey, thanks for taking a look! Unfortunately I can't prove that this works right away, this PR was just a capturing of how it should work.

Am currently working on setting up a demo of how this is supposed to work. Will get back when I have something to show.

Instead of requiring to map the prow env vars to other values, directly
use the env vars defined here:

https://github.com/kubernetes/test-infra/blob/master/prow/jobs.md#job-environment-variables

Add paragraph to README.md explaining the usage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants