[all] Dynamic Zuul results table in Gerrit 3

Yatin Karel ykarel at redhat.com
Thu Dec 3 09:43:51 UTC 2020


On Thu, Dec 3, 2020 at 2:57 PM Radosław Piliszek
<radoslaw.piliszek at gmail.com> wrote:
> Hello Fellow OpenStack and OpenDev Folks!
> TL;DR click on [3] and enjoy.
> I am starting this thread to not hijack the discussion happening on [1].
> First of all, I would like to thank gibi (Balazs Gibizer) for hacking
> a way to get the place to render the table in the first place (pun
> intended).
> I have been a long-time-now user of [2].
> I have improved and customised it for myself but never really got to
> share back the changes I made.
> The new Gerrit obviously broke the whole script so it was of no use to
> share at that particular state.
> However, inspired by gibi's work, I decided to finally sit down and
> fix it to work with Gerrit 3 and here it comes: [3].
> Works well on Chrome with Tampermonkey. Not tested others.

Thanks, Works for me in firefox with Greasemonkey. The only difference
I noticed wrt previous gerrit one is that the current one displays
both already available zuul results(from previous run) and the current
running one, which is fine.
> I hope you will enjoy this little helper (I do).

> I know the script looks super fugly but it generally boils down to a
> mix of styles of 3 people and Gerrit having funky UI rendering.
> Finally, I'd also like to thank hrw (Marcin Juszkiewicz) for linking
> me to the original Michel's script in 2019.
> [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/019051.html
> [2] https://opendev.org/x/coats/src/commit/444c95738677593dcfed0cfd9667d4c4f0d596a3/coats/openstack_gerrit_zuul_status.user.js
> [3] https://gist.github.com/yoctozepto/7ea1271c299d143388b7c1b1802ee75e
> Kind regards,
> -yoctozepto

Thanks and Regards
Yatin Karel

More information about the openstack-discuss mailing list