commit | 76d717633c0aa3371a3f9c28fdbf7092af81d9a0 | [log] [tgz] |
---|---|---|
author | Jordan R Abrahams <ajordanr@google.com> | Wed Feb 09 20:41:54 2022 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 10 04:59:59 2022 |
tree | c189d6f1a9b4048de686a718fde29fe707d1fd12 | |
parent | 3527566c2b13b4977e10281a1cf62b07f1242be0 [diff] |
patch_sync: Toggle CQ for CrOS, Android Currently, patch sync will always run CQ for CrOS, but never for Android. This was because the chrotomation bot didn't have the proper permissions to run the needed Presubmit-Ready checks. Now the bot does in fact have permission to enable the Presubmit check on Android, but some users may not have this permission when running locally. This commit introduces the ability to toggle running the presubmit/CQ checks early through the --disable-cq flags (by default it's assumed that running these checks is desirable). BUG=None TEST=patch_sync transpose --disable-cq <...> TEST=patch_sync transpose <...> Change-Id: I6185b98aa4394ba22f8433541885a450855cfbb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3451037 Reviewed-by: George Burgess <gbiv@chromium.org> Commit-Queue: Jordan Abrahams-Whitehead <ajordanr@google.com> Tested-by: Jordan Abrahams-Whitehead <ajordanr@google.com>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.