commit | 574e50d8798c09c42107732452d09a33256a2991 | [log] [tgz] |
---|---|---|
author | Keyong Han <keyonghan@google.com> | Fri Aug 26 17:38:24 2022 +0000 |
committer | CQ Bot Account <flutter-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 26 17:38:24 2022 +0000 |
tree | 2091b0e7cee7b82b0201550662812c322fe986b1 | |
parent | 41f884c3a56daaa1877b86b6b23bd6c1c4ac84e3 [diff] |
Add build+test separation support 1) devicelab_drone_build_test.py is the entry point of a task a) it builds artifacts (on VMs) if there are none yet b) it triggers a subbuild to run test on a devicelab bot, based on the pre-built artifacts 2) the triggered subbuilds run agains devicelab_test_drone.py a) builder `Linux Devicelab Test Drone` has been available in infra config: https://flutter.googlesource.com/infra/+/refs/heads/main/config/flutter_config.star#93 This CL 1) adds support for Linux targets only. Once validated, we will extend to Mac ones. 2) is a no-op for existing CI. Once this lands, we will validate the logic starting with `Linux_gallery` targets. Successful LED runs: 1) build: https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/bf21dd57b3c0b119359e791aa702bffe2c7add72246631e72a7f33a4785a948c/+/build.proto?server=chromium-swarm.appspot.com 2) test: https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/c85443802d56afc40f45510c78a155a3876985245a6fbfd8b3648f9dacf91252/+/build.proto Change-Id: I3125f3a89e174a17e6f6c7b045cea783eb0db5f2 Bug: https://github.com/flutter/flutter/issues/103542 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/33021 Reviewed-by: Casey Hillers <chillers@google.com> Commit-Queue: Keyong Han <keyonghan@google.com>
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.
Tricium configurations recipes repo.
Running python recipes.py test train
will execute all of the tests in this repository
Required binary is not found on PATH: cipd
when testing locallyYou need to ensure depot_tools is installed. See Depot Tools Installation Tutorial