With grenade jobs this breaks the unique constraint on the runs table for the id column.
This reverts commit 811e5a717c41fa865f4ef9ffed6a74eec2002290.
Change-Id: I723c0415b83e3b33106e8d3557013678b666fac6
The latest subunit2sql release, 0.2.1, added support for setting the
id for a run. This commit adds support to the gearman workers for
doing this using the zuul build_uuids. This way if an event has a
build_uuid set in the metadata the id column for the row will match
zuul's. This will be useful for when eventually want to correlate
data between zuul and subunit2sql.
Change-Id: Ic4aa13a6c92c3bc759e080fdc4c2e07ff8b881bd
This adds a new gearman worker to process the subunit files from
the gate job runs. It will use subunit2sql to connect to a sql
server and process the data from the subunit file. The
log-gearman-client is modified to allow for pushing subunit jobs
to gearman, and the worker model for processsing logs is borrowed
to process the subunit files.
Change-Id: I83103eb6afc22d91f916583c36c0e956c23a64b3