test-infra: prow: reply to PR with pass/fail status of merged postsubmit
Post-submit jobs that are tied to a PR should be able to post the results of the job back to the PR.
We do something similar for the updateconfig plugin, but job status (pass/fail) and a link to the job log should be something all postsubmits can do.
/kind feature
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 7
- Comments: 35 (25 by maintainers)
PR #17142 now covers the reporting part:
Once the above PR hopefully gets merged I will open a separate PR to handle listening to commits/retesting, etc.
We only need the comment on a failure, right?
After https://github.com/kubernetes/test-infra/pull/11168, we will have postsubmit setting status context by default for all postsubmit jobs.
Currently the knative-postsubmit worked for test-infra repo.
Will implement comment on a commit & respond to trigger from a commit in the near future.
(It’s tied to each merge commit, instead back to PR itself, since postsubmit is triggered upon pushevents, and not necessarily all push will have a corresponding PR)
yes, I’m trying to migrate reporter to crier first. https://github.com/kubernetes/test-infra/pull/10675 and https://github.com/kubernetes/test-infra/pull/10818 are moving towards that. Once that’s done technically we only need to enable Postsubmit to https://github.com/kubernetes/test-infra/blob/master/prow/github/reporter/reporter.go#L55 - will make a follow up PR in the week. (Friday afternoon? 😏 )
Do you plan to provide retest functionality for postsubmit jobs from PR view?