Remove python method in favor of step method in various places, per recommendation given when running tests

Message when executing tests:

Description:
  `api.python(...)` is deprecated in favor of `api.step`.

  Please update your api.python(name, ...) calls to one of:
    api.step(name, ['vpython3', ...])
    api.step(name, ['python3', ...])
    api.step(name, ['vpython', ...])
    api.step(name, ['python', ...])

Bug Link: https://bugs.chromium.org/p/chromium/issues/detail?id=1271425

Change-Id: I83d97f1cb139a88ec987411decf1400140c7bf2c
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/29921
Reviewed-by: Godofredo Contreras <godofredoc@google.com>
Reviewed-by: Casey Hillers <chillers@google.com>
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
9 files changed
tree: 93b3b11dd4e4c219358a8ed21a79a96467a8dcf2
  1. infra/
  2. recipe_modules/
  3. recipes/
  4. .gitignore
  5. .style.yapf
  6. AUTHORS
  7. LICENSE
  8. OWNERS
  9. README.md
  10. recipes.py
README.md

Flutter LUCI Recipes

This repository contains Flutter's LUCI recipes. For the LUCI infrastructure config, see flutter/infra. Actual builds can be seen at ci.chromium.org.

Supported repositories roll their .ci.yaml into flutter/infra, which updates what properties builds have. For example, flutter config specifies various dependencies the different tests require, which are then used by the flutter_deps recipe_module No modifications to flutter/infra are required to work on the recipes.

Configuration

Tricium configurations recipes repo.

Testing locally

Running python recipes.py test train will execute all of the tests in this repository

Troubleshooting

Required binary is not found on PATH: cipd when testing locally

You need to ensure depot_tools is installed. See Depot Tools Installation Tutorial