docs/infra/using_led.md
LED is an infrastructure tool used to manually trigger builds on any builder running on LUCI. It's designed to help debug build failures or experiment with new builder changes. This doc describes how to use it with Chromium's builders.
[TOC]
*** note
Note for Googlers: Ensure that depot_tools appears in front of your system paths
in your $PATH, so that you are invoking the led in depot_tools.
Use cases include, but are not limited to, the following:
Certain types of changes to a trybot (this includes all builders on the CQ) can be sufficiently tested without the use of LED. This includes changes to a trybot's:
Simply edit the needed files in a local chromium/src checkout, upload the change to Gerrit, then select the affected trybot(s) via the "select tryjobs" menu.
Provided that a local depot_tools checkout is present on $PATH, LED can be
used by simply invoking led on the command line. A common use-case for LED is
to modify the build steps of any given builder. The process for doing this is
outlined below. (However, LED can be used for many other purposes. See the full
list of features via led help.)
recipes.py test train via the recipes.py
script.led get-builder chromium/ci:ToTLinux | led edit-recipe-bundle | led launchIf you're in need of further assistance, if you're not sure about one or more steps, or if you found this documentation lacking, please reach out to [email protected] or file a bug!