skia2/infra/bots/recipes
Eric Boren a726978ae7 Revert "[python3] More Recipes -> Python 3 fixes"
This reverts commit 12e786730f.

Reason for revert: missing CIPD package on armv6l

Original change's description:
> [python3] More Recipes -> Python 3 fixes
>
> - Set environment variables to force usage of Python 3 in more places
> - Fix more compatibility issues
> - Mark recipes as only supporting Python 3
> - Includes a roll of the infra code
>
> Change-Id: I24e3827a6402c454bdc9467d28864d360632f9e6
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/470303
> Reviewed-by: Ravi Mistry <rmistry@google.com>
> Commit-Queue: Eric Boren <borenet@google.com>

Change-Id: If7b6fcb7838ac053af2c5eb45a7a1ac4aed340a5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/472736
Auto-Submit: Eric Boren <borenet@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2021-11-17 14:57:10 +00:00
..
check_generated_files.expected Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
compile.expected Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
compute_buildstats.expected Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
housekeeper.expected Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
infra.expected [infra] Fix InfraTests recipe for other repos which use it 2021-02-23 17:42:38 +00:00
perf_pathkit.expected [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
perf_skottietrace.expected Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
perf_skottiewasm_lottieweb.expected [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
perf.expected Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
skpbench.expected Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
sync_and_compile.expected Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
test_canvaskit.expected [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
test_lottie_web.expected [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
test_pathkit.expected [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
test.expected Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +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 Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
compile.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
compute_buildstats.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
housekeeper.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
infra.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
perf_pathkit.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
perf_skottietrace.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
perf_skottiewasm_lottieweb.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
perf.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +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 Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
sync_and_compile.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
test_canvaskit.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
test_lottie_web.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
test_pathkit.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
test.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
upload_buildstats_results.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
upload_dm_results.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +00:00
upload_nano_results.py Revert "[python3] More Recipes -> Python 3 fixes" 2021-11-17 14:57:10 +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.