-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
base: master
Are you sure you want to change the base?
Support prow #174
Conversation
1 similar comment
c00a60a
to
f2b7145
Compare
There was a problem hiding this 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
f2b7145
to
5e30127
Compare
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.
5e30127
to
9888fb7
Compare
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