new_variant: find the upstreamed coreboot CL
After a coreboot patch is merged, it will get upstreamed to the
chromiumos tree as part of a batch. The change-id from the coreboot
gerrit instance will be preserved as original-change-id, so search
for that to find the upstreamed CL in chromiumos gerrit.
Change the messages about doing things outside of new_variant.py
(like generating the fitimage, pushing to coreboot, or waiting for
upstream) from info to error, because these are technically error
conditions that prevent the program from continuing.
TEST=Check operation when the coreboot CL hasn't been pushed yet,
when it hasn't been upstreamed yet, and when it has been upstreamed.
See testdata/README.md for detailed instructions.
Tested-by: Paul Fagerburg <firstname.lastname@example.org>
Tested-by: Martin Roth <email@example.com>
Reviewed-by: Martin Roth <firstname.lastname@example.org>
Reviewed-by: Jack Rosenthal <email@example.com>
Commit-Queue: Paul Fagerburg <firstname.lastname@example.org>
5 files changed