In buildbucket, export completed_build event so that buildbucket builds can be analyzed.
This will help both LUCI and buildbot tryjobs. Also it is more correct than sending events from kitchen because kitchen does not know the final build status.
i will export completed step events there too, so that we export of these two very-related event type come from the same place.
Also this will simplify ACLs: buildbucket service account can write to 2 tables, as opposed to buildbucket can write to completed_builds and a bunch of swarming system service accounts can write to completed steps.
Also this will enable monitoring of BQ export, as a part of overall buildbucket monitoring. Related: bq exporting from kitchen broke on dec 8 and no one noticed.
Comment 1 by no...@chromium.org
, Nov 23 2017