Hello, this looks promising. Good job! Best regards, Zoran
пет, 24. мар 2023. у 07:20 Antoine Musso <[email protected]> је написао/ла: > Hello, > > I have deployed a change to Gerrit which makes it display the ongoing > CI/Zuul build if there is any. > > If Jenkins jobs are running, you would see below the commit message some > gray chipset with the name of the Zuul pipeline (test, gate-and-submit ..). > The Check tab shows the jobs details ( > https://phabricator.wikimedia.org/F36925186). > > By exposing the Zuul CI status directly in the Gerrit web UI, people will > notice a build error earlier. That also saves the hassle of having to > monitor https://integration.wikimedia.org/zuul/. > > There are a few glitches: > > - the way I have implemented it abuses the model proposed by Gerrit > and in progress jobs are always considered a SUCCESS but will be marked as > ERROR when they fail. > - code is entirely running in the client browser. It is unable to send > notifications or triggers any email when a build has failed. The > EarlyWarning > bot by Kosta Harlan <https://phabricator.wikimedia.org/J302> does it > though) > - I am not a JavaScript developer per see but learned about TypeScript > for static analysis and rediscovered QUnit. So at least there are some > basic guarantees. > - there are surely a bunch of edge cases that I have not properly > handled > > The code for those that are curious is at > https://gerrit.wikimedia.org/g/operations/software/gerrit/+/refs/heads/deploy/wmf/stable-3.5/plugins/wm-zuul-status.js > > If you see problems, JavaScript errors etc please paste them on > https://phabricator.wikimedia.org/T214068 :) > > Antoine "hashar" Musso > > > > _______________________________________________ > Wikitech-l mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
_______________________________________________ Wikitech-l mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
