1cb93a386Sopenharmony_ciSkia Recipe Modules
2cb93a386Sopenharmony_ci===================
3cb93a386Sopenharmony_ci
4cb93a386Sopenharmony_ciThis directory contains recipe modules designed to be used by recipes (see
5cb93a386Sopenharmony_ciinfra/bots/recipes). They are all Skia-specific and some are interrelated:
6cb93a386Sopenharmony_ci
7cb93a386Sopenharmony_ci  * builder_name_schema - Helps to derive expected behavior from task (formerly
8cb93a386Sopenharmony_ci      builder) names.
9cb93a386Sopenharmony_ci  * core - Use as a starting point for most recipes: runs setup and sync steps.
10cb93a386Sopenharmony_ci  * ct - Shared Cluster Telemetry utilities.
11cb93a386Sopenharmony_ci  * flavor - Allows the caller to specify a high-level command to run, leaving
12cb93a386Sopenharmony_ci      the platform-specific details to be handled by the specific flavor
13cb93a386Sopenharmony_ci      module.
14cb93a386Sopenharmony_ci  * infra - Shared infrastructure-related utilities.
15cb93a386Sopenharmony_ci  * run - Utilities for running commands.
16cb93a386Sopenharmony_ci  * swarming - Utilities for running Swarming tasks.
17cb93a386Sopenharmony_ci  * vars - Common global variables used by Skia recipes/modules.
18cb93a386Sopenharmony_ci
19cb93a386Sopenharmony_ciWhen you change a recipe module, you generally need to re-train the simulation
20cb93a386Sopenharmony_citest:
21cb93a386Sopenharmony_ci
22cb93a386Sopenharmony_ci	$ python infra/bots/infra_tests.py --train
23cb93a386Sopenharmony_ci
24cb93a386Sopenharmony_ciOr:
25cb93a386Sopenharmony_ci
26cb93a386Sopenharmony_ci	$ cd infra/bots; make train
27cb93a386Sopenharmony_ci
28cb93a386Sopenharmony_ciEach recipe module contains a few files:
29cb93a386Sopenharmony_ci
30cb93a386Sopenharmony_ci  * api.py - This is the meat of the module.
31cb93a386Sopenharmony_ci  * \_\_init\_\_.py - Contains a single DEPS variable, indicating the other
32cb93a386Sopenharmony_ci      recipe modules on which this module depends.
33cb93a386Sopenharmony_ci  * example.py - Optional, this file contains examples which demonstrate how to
34cb93a386Sopenharmony_ci      use the module and should contain enough tests to achieve 100% coverage
35cb93a386Sopenharmony_ci      for the module. The tests are run using the recipes test command above.
36