diff --git a/dev/bots/README.md b/dev/bots/README.md index ba4a53509f..c896236e1e 100644 --- a/dev/bots/README.md +++ b/dev/bots/README.md @@ -77,16 +77,17 @@ The typical cycle for editing a recipe is: 1. Make your edits (probably to files in `//chrome_infra/build/scripts/slave/recipes/flutter`). -2. Update the tests. Run `build/scripts/slave/recipes.py --use-bootstrap test +1. Update the tests. Run `build/scripts/slave/recipes.py --use-bootstrap test train` to update existing expected output to match the new output. Verify completely new test cases by altering the `GenTests` method of the recipe. The recipe is required to have 100% test coverage. -3. Run `build/scripts/slave/recipes.py run flutter/ slavename= +1. Run `build/scripts/slave/recipes.py run flutter/ slavename= mastername=client.flutter buildername= buildnumber=1234` where `` is one of `flutter` or `engine`, and `slavename` and `buildername` can be looked up from the *Build Properties* section of a [recent build](https://build.chromium.org/p/client.flutter/one_line_per_build). -4. Upload the patch (`git commit`, `git cl upload`) and send it to someone in +1. To submit a CL, you need a local branch first (`git checkout -b [some branch name]`). +1. Upload the patch (`git commit`, `git cl upload`) and send it to someone in the `recipes/flutter/OWNERS` file for review. ### Editing the client.flutter buildbot master