cidb: UpdateMetadata to include branch.

Update the CIDB build table to include branch information pulled from
existing cbuildbot metadata. This cannot land until the earlier schema
change is both landed and deployed, or all cbuildbot builds will fail
while updating metadata.

BUG=chromium:884225
TEST=run_tests

Change-Id: I6d9f14912b2ad56671ce8fd46ea8780985f23ae7
Reviewed-on: https://chromium-review.googlesource.com/1231379
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>
(cherry picked from commit 041a654ce498eff2687f52a36fcfe6c62bea75a1)
Reviewed-on: https://chromium-review.googlesource.com/1238934
1 file changed