[monorepo] Enable tryjob runs for engine_v2 monorepo builds

An engine_v2 try build with no gitilesCommit property, but with
a gerritChanges property, will run against monorepo refs/heads/main.

Creates a new recipe module called monorepo, with utility methods
specific to monorepo builds and test data.

Bug: b/251733652
Change-Id: I44743e3ed8fe50d05003cd856f67ac775285a76e
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/35920
Reviewed-by: Godofredo Contreras <godofredoc@google.com>
33 files changed
tree: edce8daae416f1f055e9cb6e5a23d7aaface0b40
  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