Use the number of cores as j value for non goma builds.

The j value in the build util was being set to a high value for local
builds. This was causing bots to die of resource starvation.

Bug: https://github.com/flutter/flutter/issues/127082
Change-Id: I76be56b0bf9785e89e6311aa765da289b4f9eddb
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/44802
Reviewed-by: Ricardo Amador <ricardoamador@google.com>
Reviewed-by: Keyong Han <keyonghan@google.com>
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
(cherry picked from commit 40ef31317bf5a79ffb3813f82f14677ac1ac0df3)
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/45162
Reviewed-by: Drew Roen <drewroen@google.com>
6 files changed
tree: e096a0a906e886e12f074d5fd07df621818865a7
  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