Random things re Hubbot

Marius Vollmer marius.vollmer at redhat.com
Wed Jan 21 11:38:09 UTC 2015


Hi,

I did a tiny amount of hacking on hubbot and wanted to share the state.

It now runs permanently on files.cockpit-project.org and works on new
and updated pull requests.  (But it doesn't use github events yet...)

it has a whitelist of users and wont touch pull requests created by
people not in that list.

It will add statuses to the commits it is working on, right next to
Travis.

The link in the status goes to a directory with the checked out Cockpit
sources.  There is a "hubbot.log" file in there that contains the
ongoing output of the test run.

Other interesting files are "mock/root.log" and "mock/build.log".

Hubbot rebases the head of a pull request onto master before running
VERIFY.

However, it doesn't recognize when master has changed since the last
run, and there is currently no way check what master was when hubbot did
the rebase.  So, some tiny amount of hacking left... :)

The integration tests are of course still brittle.  If they fail
spuriously, hubbot will not retry automatically.  You can manually reset
the hubbot status of a commit to "error" and then hubbot will retry the
next time it looks at the pull request.  (Ask me how to do that if you
need it.)


For those with accounts on files.cp.o: check hubbot.service.


More information about the cockpit-devel mailing list