> On Wed, Jul 24, 2019 at 11:30:45AM -0400, Robbie Harwood wrote:
> 
> So we don't have an easy way to do this. I have a script that monitors the
> entire pipeline/workflow in production and in staging.
> I have been querying datagrepper for messages about the build that I've made 
> to
> see if/when the tests are done.
> You can find the code in:
> https://pagure.io/fedora-ci/monitor-gating/blob/97bc5b619032cfd3218b86378...
> called in:
> https://pagure.io/fedora-ci/monitor-gating/blob/97bc5b619032cfd3218b86378...

This is pretty bad from a workflow perspective, especially when it's going to 
take 11 minutes (or 8 - I can't actually tell which from replies above) longer 
per-package on top of what we have now, plus time for any tests to run.

Your scripts are helpful, but there are a number of issues: you repeatedly send 
requests to datagrepper in a `while True` (is it okay with this load?  What if 
we all start doing it?), and you make assumptions about the number of messages 
that can appear in an interval.  I would want to see a proper interface for 
querying this (i.e., not polling datagrepper in a loop), as well as `fedpkg` 
integration as you suggest.

Thanks,
--Robbie
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to