Install arm64ruby based on cpu

Instead of relying on a property, this CL changes to depend on bot cpu. This way a builder (which can run on either arm64 or x64) can install arm64ruby only for arm64 bots.

Existing `Mac_arm64_ios` builders all pass with the arm64ruby.
https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/bb99b69dfb852d43e87c55b09eed2437b29304cb10fa3afe8ff73225411a9199/+/build.proto?server=chromium-swarm.appspot.com
https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/429b18a9c9746a78b51280513c9c22444fdd7d96e1743415d198d2c4c548e2f4/+/build.proto?server=chromium-swarm.appspot.com
https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/69eaafb4c69499ab0be0293da96a24b6e433ca6e0d6b020d6715dfd95aee5d54/+/build.proto?server=chromium-swarm.appspot.com
https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/4e2d76fc19e60e1df5b88f8257a23799d06c3ecace473a8294b2b24e00f125c7/+/build.proto?server=chromium-swarm.appspot.com
https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/e7a53eed7e0d00c13952d2fb55f59029bef077e7a2db561f01337f4c978390d9/+/build.proto
https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/7c24d1dff932c444812c6e4c9f6ca1be0d1e9dddd7b8c3ad4c218eee5af2d760/+/build.proto?server=chromium-swarm.appspot.com
https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/f72c5585987850abb526e62b949ef0717fa3fa1e70faa1ab92ce51bacd155945/+/build.proto?server=chromium-swarm.appspot.com
https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/032f067a81e7c7f55a70bf9279693d468079fa376a108adfe1ba684c109fc04e/+/build.proto?server=chromium-swarm.appspot.com
https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/2d9ddab7db2c47bd1b80825f8fe4a6370d4ed0d0462f66212a3a8316c15623cf/+/build.proto
https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/70d3a200c8749b86178a5e2998e5b69ef4cc6ee678e15555ce6ac4c016f5a624/+/build.proto

Change-Id: Ie750dafb34b067e1b831508bda24176ed0b4e3de
Bug: https://github.com/flutter/flutter/issues/110561
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/33541
Commit-Queue: Keyong Han <keyonghan@google.com>
Reviewed-by: Jenn Magder <magder@google.com>
Reviewed-by: Godofredo Contreras <godofredoc@google.com>
3 files changed
tree: 3f8d9283e7bb04dbdcc452946bb3f9650481e3ca
  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