Check each runtime when detecting xcode cache cleanup

Exiting logic just makes sure there exists some runtime, but doesn't enforce a check on all required runtimes.
This CL makes sure we check every runtime that is necessary.

Led run which detects the missing runtime, cleans up old xcode and re-installs:
https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/982451e4ac666d4e859ba6c30be72d9de67c4d245db6a6d9e3d816f0be58735a/+/build.proto

Change-Id: I69afad5330ec715ca472903ddb8c7bf801f6ae26
Bug: https://github.com/flutter/flutter/issues/125273
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/49482
Reviewed-by: Victoria Ashworth <vashworth@google.com>
Commit-Queue: Keyong Han <keyonghan@google.com>
Reviewed-by: Ricardo Amador <ricardoamador@google.com>
3 files changed
tree: 73c0dd78221cbcc46a86048f020313691a2521e7
  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 python3 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