Calculate branch on checkout if not passed.

Windows arm dependencies are filtered out based on branch properties but
in dart-internal this property is empty. To keep the same filtering
logic we are calculating the branch using git when the property is
empty.

Bug: https://github.com/flutter/flutter/issues/126928
Change-Id: Ie1852bb5d36dea9240595749462b2cbf8c420616
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/44603
Reviewed-by: Drew Roen <drewroen@google.com>
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
(cherry picked from commit b2981037a02f09bf7f93784e3e60d9b421b50882)
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/44608
Reviewed-by: Ricardo Amador <ricardoamador@google.com>
3 files changed
tree: 9188df720c92d54595db54f3ae461f7e928e0177
  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