skia2/infra/bots/recipes
Eric Boren f39bbe5a31 Reland "[infra] Run recipes through Kitchen"
Bug: skia:7050
Change-Id: I331014c408dd5b6f7baafd78ffd12f1235c5bfe7
Reviewed-on: https://skia-review.googlesource.com/121481
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
2018-04-17 11:13:53 +00:00
..
android_compile.expected [Android Compile Bot] Look at the start_dir for trigger_wait_ac_task.py 2018-02-05 18:34:46 +00:00
bookmaker.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
calmbench.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
check_generated_files.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
compile.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
ct_skps.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
housekeeper.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
infra.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
perf.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
recreate_skps.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
skpbench.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
skqp_test.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
test.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
update_meta_config.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
upload_calmbench_results.expected Separate compile task from calmbench task 2018-01-05 18:13:36 +00:00
upload_coverage_results.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
upload_dm_results.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
upload_nano_results.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
upload_skiaserve.expected Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
android_compile.py [Android Compile Bot] Look at the start_dir for trigger_wait_ac_task.py 2018-02-05 18:34:46 +00:00
bookmaker.py Output fiddleout.json in bookmaker recipe 2018-03-16 11:55:11 +00:00
calmbench.py Separate compile task from calmbench task 2018-01-05 18:13:36 +00:00
check_generated_files.py
compile.py remove CC,CXX,CPPFLAGS from compile environment 2018-04-03 19:25:31 +00:00
ct_skps.py update Ubuntu14 CT bots to Clang 2018-03-22 23:53:09 +00:00
housekeeper.py Fix binary size analysis 2018-03-12 13:23:58 +00:00
infra.py Add bot which builds without DEPS 2018-02-22 17:47:56 +00:00
perf.py Disable vulkan tests to fix bots 2018-03-14 20:12:49 +00:00
README.md
recreate_skps.py
skpbench.py
skqp_test.py Test SKQP on Firebase Testlab and Upload 2018-03-07 20:44:50 +00:00
test.py Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
update_meta_config.py
upload_calmbench_results.py
upload_coverage_results.py Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
upload_dm_results.py Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
upload_nano_results.py Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00
upload_skiaserve.py Reland "[infra] Run recipes through Kitchen" 2018-04-17 11:13:53 +00:00

Skia Recipes

These are the top-level scripts which run inside of Swarming tasks to perform all of Skia's automated testing.

To run a recipe locally:

$ python infra/bots/recipes.py run --workdir=/tmp/<workdir> <recipe name without .py> key1=value1 key2=value2 ...

Each recipe may have its own required properties which must be entered as key/value pairs in the command.

When you change a recipe, you generally need to re-train the simulation test:

$ python infra/bots/recipes.py test run --train

Or:

    $ cd infra/bots; make train

The test generates expectations files for the tests contained within each recipe which illustrate which steps would run, given a particular set of inputs. Pay attention to the diffs in these files when making changes to ensure that your change has the intended effect.