skia2/infra/bots/recipes
Leandro Lovisolo 47cf526bec Update Go CIPD packages to v1.18.
Go 1.18 is picky about the location of the GOROOT, so some additional changes were necessary, see //infra/bots/recipe_modules/infra/api.py. These changes are mirrored in the Skia Infrastructure repo, see https://skia-review.googlesource.com/c/buildbot/+/521337.

Bug: skia:13063
Change-Id: I325460ff848a8ce8687f7d4a198d49b6e5f41486
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/521338
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Leandro Lovisolo <lovisolo@google.com>
2022-03-22 02:22:04 +00:00
..
check_generated_files.expected Update Go CIPD packages to v1.18. 2022-03-22 02:22:04 +00:00
compile.expected [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
compute_buildstats.expected [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
housekeeper.expected [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
infra.expected Update Go CIPD packages to v1.18. 2022-03-22 02:22:04 +00:00
perf_pathkit.expected [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
perf_skottietrace.expected Use 'adb push --sync' for copying over resources. 2021-12-07 19:31:34 +00:00
perf_skottiewasm_lottieweb.expected [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
perf.expected Use 'adb push --sync' for copying over resources. 2021-12-07 19:31:34 +00:00
skpbench.expected Use 'adb push --sync' for copying over resources. 2021-12-07 19:31:34 +00:00
sync_and_compile.expected [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
test_canvaskit.expected [canvaskit] Fix test search path 2021-12-07 19:43:27 +00:00
test_lottie_web.expected [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
test_pathkit.expected Reland "[pathkit] Reorganize to be more like CanvasKit" 2022-02-04 13:10:43 +00:00
test.expected Use 'adb push --sync' for copying over resources. 2021-12-07 19:31:34 +00:00
upload_buildstats_results.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_dm_results.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_nano_results.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
check_generated_files.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
compile.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
compute_buildstats.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
housekeeper.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
infra.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
perf_pathkit.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
perf_skottietrace.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
perf_skottiewasm_lottieweb.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
perf.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
README.md Re-re-land "added GrSkSLFP and converted DitherEffect to use it" 2018-07-31 15:18:03 +00:00
skpbench.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
sync_and_compile.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
test_canvaskit.py [canvaskit] Fix test search path 2021-12-07 19:43:27 +00:00
test_lottie_web.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
test_pathkit.py Reland "[pathkit] Reorganize to be more like CanvasKit" 2022-02-04 13:10:43 +00:00
test.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
upload_buildstats_results.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
upload_dm_results.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
upload_nano_results.py [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +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 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.