#106 Test PRs to workstation-ostree-config
Opened 9 months ago by adamwill. Modified 9 months ago

It would be cool if we could test https://pagure.io/workstation-ostree-config pull requests. Then we'd find things like https://pagure.io/workstation-ostree-config/pull-request/330#comment-190406 before the PR gets merged and "pollutes" other tests.

The test code already checks out workstation-ostree-config, all it would need to do is use the pull request content instead of HEAD.

In the scheduler, we'd need to figure out how to 'listen out' for PRs (does pagure.io publish fedora-messaging messages?), have a path for scheduling them (we'd need a naming convention for the BUILD setting, and a setting that told the test exactly what PR to check out - those might be combined, even - and...I think that's it?), and a way to report the results back. I'm not sure exactly how pagure.io consumes results - if there's a way to get it to pay attention to resultsdb, or if we actually have to send it a result directly, or via webhook or whatever the heck mechanism these things use, I have never looked into it before.


Login to comment on this ticket.

Metadata