summaryrefslogtreecommitdiff
path: root/cbuildbot/update_binhost_json.py
AgeCommit message (Collapse)Author
2015-03-27Chrome binhost: Publish the binhost map publicly.Bertrand SIMONNET
When posting the chrome binhost mapping, post a filtered version of it externally. BUG=chromium:443254 TEST=trybot. TEST=manual: cbuildbot/update_binhost_json generates both files. Change-Id: Id5409820a42e03d964ed84c62b1e66b0a4b6a0da Reviewed-on: https://chromium-review.googlesource.com/262769 Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Trybot-Ready: Bertrand Simonnet <bsimonnet@chromium.org> Tested-by: Bertrand Simonnet <bsimonnet@chromium.org> Commit-Queue: Bertrand Simonnet <bsimonnet@chromium.org>
2015-03-27binhost: Consistently pass in lists to FetchCompatIds function.David James
BUG=chromium:470988, chromium:443254 TEST=Look at the pre-cq results. Change-Id: Icc5807347a36c6ec568a60c9dccb9d3cd9a0c89d Reviewed-on: https://chromium-review.googlesource.com/262802 Reviewed-by: Aviv Keshet <akeshet@chromium.org> Tested-by: David James <davidjames@chromium.org>
2015-03-24binhost_test: Allow for no changes when Chrome PFQ runs.David James
It is expected that usually the Chrome PFQ will have no changes to the binhost JSON, so we should allow for empty commits. These get squashed together anyway at the end of the run (and prebuilts are stored in this dir) so the final commit won't be an empty one. Fixes this error (see MasterUploadPrebuilts): http://chromegw/i/chromeos/builders/Chrome%20PFQ%20master/builds/1083 update_binhost_json: Unhandled exception: ... On branch stabilizing_branch Your branch is ahead of 'cros-internal/master' by 8 commits. (use "git push" to publish your local commits) nothing to commit, working directory clean BUG=chromium:443254 TEST=New unit test. Change-Id: Idcef986d246f593ee934b7845e2b151b5ccab79f Reviewed-on: https://chromium-review.googlesource.com/262210 Trybot-Ready: David James <davidjames@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Reviewed-by: Aviv Keshet <akeshet@chromium.org> Tested-by: David James <davidjames@chromium.org>
2015-03-24Use cros_logging instead of cros_build_lib.InfoRalph Nathan
In chromite, replace all calls to cros_build_lib.info with cros_logging.info BUG=brillo:600 TEST=unittests Change-Id: Ic91490e8799741c01f17813a10615e838a730719 Reviewed-on: https://chromium-review.googlesource.com/261849 Reviewed-by: Ralph Nathan <ralphnathan@chromium.org> Commit-Queue: Ralph Nathan <ralphnathan@chromium.org> Tested-by: Ralph Nathan <ralphnathan@chromium.org> Trybot-Ready: Ralph Nathan <ralphnathan@chromium.org>
2015-03-20Start testing binhosts in master-paladin and master-chromium-pfq.David James
This CL updates the master-paladin and master-chromium-pfq to run the binhost_test as a separate stage (treating errors as non-fatal for now). master-chromium-pfq now writes data about its slaves to a JSON file, and commits it along with its prebuilt conf files. The plan is to watch this check on master-paladin for a few days and and see if it is stable, and if so promote it to being fatal. BUG=chromium:443254 TEST=Run master-paladin and master-chromium-pfq Change-Id: I7c50a35d3399b8177b8539dffce6f1731ba9503b Reviewed-on: https://chromium-review.googlesource.com/261019 Trybot-Ready: David James <davidjames@chromium.org> Reviewed-by: David James <davidjames@chromium.org> Commit-Queue: David James <davidjames@chromium.org> Tested-by: David James <davidjames@chromium.org>