-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate flutter/packages Cirrus tasks to LUCI #114373
Comments
This CL: 1) enables Mac test support 2) adds args support for script LED build: https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/459eedcfec89368ece5d62a7b3339ac384006ff5a94d7540dfc9e37dd21dc3d2/+/build.proto?server=chromium-swarm.appspot.com This build is based on a new Mac target, proposed in PR: flutter/plugins#6637 Change-Id: Ic75a9718075dc898da9f747bfc9bd2a1bf38e000 Bug: flutter/flutter#114373 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/35303 Commit-Queue: Keyong Han <keyonghan@google.com> Reviewed-by: Stuart Morgan <stuartmorgan@google.com>
Same changes for packages as in plugins: https://flutter-review.git.corp.google.com/c/recipes/+/35303 LED run against flutter/packages#2840: https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/keyonghan_google.com/55e9b07504f0d6e86042a3a5b8f1b980e16243a4e6dd64af767ee694a6371f96/+/build.proto Change-Id: Id0cc81c068cc35f48c6aee04790f4c336c0842cd Bug: flutter/flutter#114373 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/36600 Reviewed-by: Stuart Morgan <stuartmorgan@google.com> Commit-Queue: Keyong Han <keyonghan@google.com>
@drewroengoogle @ricardoamador @yusuf-goog it seems like all of you have been brainstorming about docker support for different reasons. You may want to have a quick sync. |
Enables the new LUCI repo tools test, and removes the Cirrus version. Part of flutter/flutter#114373
Enables the new LUCI repo tools test, and removes the Cirrus version. Part of flutter/flutter#114373
Collecting some notes from my initial looks at converting things, and discussion in other issues:
As noted in #120732 (comment) some the steps currently rely on Docker-installed dependencies, but in most—perhaps all—cases I would expect that we could move to a non-Docker solution. |
Adding @yusuf-goog as an a co-assignee to this bug, as he is helping with remaining linux migration. |
@keyonghan rather than continuing with the planning over a bug, would you mind meeting with @stuartmorgan to discuss the next steps? this will be helpful for setting the right expectations. |
Based on sync up with @stuartmorgan , targeting to finish migration in Q3. Existing development issues with cirrus
Infra support is needed:
|
Adds scripts and LUCI targets for the Linux desktop build-all and platform test tasks, corresponding to the Cirrus linux-build_all_packages and linux-platform_test tasks. Part of flutter/flutter#114373
Adds a new Linux_web configuration, and an initial test (build-all-packages) using it. This is the simplest web test since it doesn't actually run anything, so starting with this one as a foundation to test future web-based tests. Part of flutter/flutter#114373
Issue is assigned to multiple teams (infra, ecosystem). Please ensure the issue has only one |
Adds new legacy analysis targets to LUCI in bringup mode. Also updates the repo tooling to use a Flutter->Dart version mapping instead of having to separately maintain a Dart version, now that we already have such a map in the tool anyway. Part of flutter/flutter#114373
Enables the new analyze_legacy targets in LUCI, and removes the Cirrus version. Part of flutter/flutter#114373
Moves the check that README snippets using code excerpting are up to date to LUCI. Now that the check has been rewritten to be extremely fast, it's folded into the existing repo checks instead of being a separate task. Part of flutter/flutter#114373
Moves the check that README snippets using code excerpting are up to date to LUCI. Now that the check has been rewritten to be extremely fast, it's folded into the existing repo checks instead of being a separate task. Also adjusts the tooling slightly so that it logs the count of snippets checked, for auditability in CI, like the old version of the excerpt update tooling did. Part of flutter/flutter#114373
@yusuf-goog How do secrets work in LUCI? I.e., what would the LUCI equivalent of this kind of setup (which are gcloud credentials for FTL and a Google Maps API key for integration testing a maps app) be? |
@stuartmorgan take a look at this: go/flutter-luci-recipes#secrets-support-in-recipes |
Adds scripts and LUCI targets for the Linux desktop platform test tasks, corresponding to the Cirrus linux-platform_test tasks. Part of flutter/flutter#114373
This moves Android unit tests from Cirrus to LUCI. In order to accomplish this: - Switches the Android LUCI bots from JDK 11 to JDK 12, to resolve a crash when compiling `camera_android` unit tests with 11. - Adds wrappers to SDK checks where necessary for testability, since the hack to override `Build.VERSION.SDK_INT` in unit tests (which was already giving warnings when run with JDK 11) no longer works at all in JDK 12. Part of flutter/flutter#114373
Enables the new LUCI targets, and removes the Cirrus version. Part of flutter/flutter#114373
Enables the new LUCI repo tools test, and removes the Cirrus version. Part of flutter/flutter#114373
Enables the new LUCI targets, and removes the Cirrus version. Part of flutter/flutter#114373
Migrates the federated safety check and the post-submit portion of the version check to LUCI, removing the Cirrus versions. Only the presubmit version check, with its specific TODO, is left in Cirrus since we don't yet have a solution for running it under LUCI. Part of flutter/flutter#114373
Migrates the federated safety check and the post-submit portion of the version check to LUCI, removing the Cirrus versions. Only the presubmit version check, with its specific TODO, is left in Cirrus since we don't yet have a solution for running it under LUCI. Part of flutter/flutter#114373
Adds new LUCI versions of the Android FTL tests. These are new tasks, rather than being part of android_platform_tests, since those are already running the emulator version of the tests, and the combination is far too slow (unless we roughly double the number of shards anyway), and this lets us control the behavior separately (e.g., not running them on `stable`, and potentially making them post-submit only in the future). Adjusts the repo tooling to make the `gcloud auth` step optional, since that's handled automatically for us in the LUCI environment, and to make it less tightly coupled to the Cirrus configuration by removing those defaults from the tool. Part of flutter/flutter#114373 See also flutter/flutter#131429
I'm going to close this as fixed; there's only one specific, pre-submit-only check still running in Cirrus, and it has a tracking issue, so the umbrella issue is no longer needed. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
This tracks the CI migration for plugins and packages repositories. More context: go/flutter-plugins-packages-luci-migration
Plugins Mac-intel:
Mac build_all_plugins
plugins#6671Mac build_all_plugins
plugins#6671Plugins Mac-arm:
Plugins Linux:
repo_checks
Plugins Linux (heavy):
gcloud
#131075master
abovecustom_package_tests
Packages Mac-intel:
The text was updated successfully, but these errors were encountered: