Use engine internal mirror for luci_scheduler.

This will avoid the current problems when the scheduler builds are not
found in the engine gclient solutions file.

Bug: https://github.com/flutter/flutter/issues/99922
Change-Id: I5909c7a8a5b3398965a28d0a82e9dc9ea57eba8c
Reviewed-on: https://flutter-review.googlesource.com/c/infra/+/27864
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
diff --git a/config/generated/flutter/luci/commit-queue.cfg b/config/generated/flutter/luci/commit-queue.cfg
index 82ff46f..26dbb5e 100644
--- a/config/generated/flutter/luci/commit-queue.cfg
+++ b/config/generated/flutter/luci/commit-queue.cfg
@@ -5,79 +5,6 @@
 #   https://luci-config.appspot.com/schemas/projects:commit-queue.cfg
 
 config_groups {
-  name: "external-github_com-flutter-engine"
-  gerrit {
-    url: "https://chromium-review.googlesource.com"
-    projects {
-      name: "external/github.com/flutter/engine"
-      ref_regexp: "refs/heads/.+"
-    }
-  }
-  verifiers {
-    gerrit_cq_ability {
-      committer_list: "project-flutter-try-schedulers"
-      dry_run_access_list: "project-flutter-try-schedulers"
-    }
-    tryjob {
-      builders {
-        name: "flutter/try/Linux Android AOT Engine"
-      }
-      builders {
-        name: "flutter/try/Linux Android Debug Engine"
-      }
-      builders {
-        name: "flutter/try/Linux Arm Host Engine"
-      }
-      builders {
-        name: "flutter/try/Linux Fuchsia"
-      }
-      builders {
-        name: "flutter/try/Linux Fuchsia FEMU"
-      }
-      builders {
-        name: "flutter/try/Linux Host Engine"
-      }
-      builders {
-        name: "flutter/try/Linux Unopt"
-      }
-      builders {
-        name: "flutter/try/Linux Web Engine"
-      }
-      builders {
-        name: "flutter/try/Linux Web Framework tests"
-      }
-      builders {
-        name: "flutter/try/Linux clang-tidy"
-      }
-      builders {
-        name: "flutter/try/Mac Host Engine"
-      }
-      builders {
-        name: "flutter/try/Mac Unopt"
-      }
-      builders {
-        name: "flutter/try/Mac Web Engine"
-      }
-      builders {
-        name: "flutter/try/Mac clang-tidy"
-      }
-      builders {
-        name: "flutter/try/Windows Host Engine"
-      }
-      builders {
-        name: "flutter/try/Windows Unopt"
-      }
-      retry_config {
-        single_quota: 1
-        global_quota: 2
-        failure_weight: 2
-        transient_failure_weight: 1
-        timeout_weight: 1
-      }
-    }
-  }
-}
-config_groups {
   name: "external-github_com-flutter-flutter"
   gerrit {
     url: "https://chromium-review.googlesource.com"
@@ -271,6 +198,79 @@
   }
 }
 config_groups {
+  name: "mirrors-engine"
+  gerrit {
+    url: "https://flutter-review.googlesource.com"
+    projects {
+      name: "mirrors/engine"
+      ref_regexp: "refs/heads/.+"
+    }
+  }
+  verifiers {
+    gerrit_cq_ability {
+      committer_list: "project-flutter-try-schedulers"
+      dry_run_access_list: "project-flutter-try-schedulers"
+    }
+    tryjob {
+      builders {
+        name: "flutter/try/Linux Android AOT Engine"
+      }
+      builders {
+        name: "flutter/try/Linux Android Debug Engine"
+      }
+      builders {
+        name: "flutter/try/Linux Arm Host Engine"
+      }
+      builders {
+        name: "flutter/try/Linux Fuchsia"
+      }
+      builders {
+        name: "flutter/try/Linux Fuchsia FEMU"
+      }
+      builders {
+        name: "flutter/try/Linux Host Engine"
+      }
+      builders {
+        name: "flutter/try/Linux Unopt"
+      }
+      builders {
+        name: "flutter/try/Linux Web Engine"
+      }
+      builders {
+        name: "flutter/try/Linux Web Framework tests"
+      }
+      builders {
+        name: "flutter/try/Linux clang-tidy"
+      }
+      builders {
+        name: "flutter/try/Mac Host Engine"
+      }
+      builders {
+        name: "flutter/try/Mac Unopt"
+      }
+      builders {
+        name: "flutter/try/Mac Web Engine"
+      }
+      builders {
+        name: "flutter/try/Mac clang-tidy"
+      }
+      builders {
+        name: "flutter/try/Windows Host Engine"
+      }
+      builders {
+        name: "flutter/try/Windows Unopt"
+      }
+      retry_config {
+        single_quota: 1
+        global_quota: 2
+        failure_weight: 2
+        transient_failure_weight: 1
+        timeout_weight: 1
+      }
+    }
+  }
+}
+config_groups {
   name: "mirrors-packages"
   gerrit {
     url: "https://flutter-review.googlesource.com"
diff --git a/config/generated/flutter/luci/luci-milo.cfg b/config/generated/flutter/luci/luci-milo.cfg
index e37f877..b53bdd8 100644
--- a/config/generated/flutter/luci/luci-milo.cfg
+++ b/config/generated/flutter/luci/luci-milo.cfg
@@ -6272,7 +6272,7 @@
 consoles {
   id: "stable_engine"
   name: "stable_engine"
-  repo_url: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+  repo_url: "https://flutter.googlesource.com/mirrors/engine"
   refs: "regexp:refs/heads/flutter-2\\.8-candidate\\.16"
   manifest_name: "REVISION"
   builders {
@@ -6385,7 +6385,7 @@
 consoles {
   id: "beta_engine"
   name: "beta_engine"
-  repo_url: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+  repo_url: "https://flutter.googlesource.com/mirrors/engine"
   refs: "regexp:refs/heads/flutter-2\\.12-candidate\\..*|refs/heads/flutter-2\\.11-candidate\\.7"
   manifest_name: "REVISION"
   builders {
@@ -6508,7 +6508,7 @@
 consoles {
   id: "dev_engine"
   name: "dev_engine"
-  repo_url: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+  repo_url: "https://flutter.googlesource.com/mirrors/engine"
   refs: "regexp:refs/heads/flutter-2\\.10-candidate\\..+"
   manifest_name: "REVISION"
   builders {
@@ -6751,7 +6751,7 @@
 consoles {
   id: "engine_staging"
   name: "engine_staging"
-  repo_url: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+  repo_url: "https://flutter.googlesource.com/mirrors/engine"
   refs: "regexp:refs/heads/main"
   manifest_name: "REVISION"
   builders {
@@ -6799,7 +6799,7 @@
 consoles {
   id: "engine"
   name: "engine"
-  repo_url: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+  repo_url: "https://flutter.googlesource.com/mirrors/engine"
   refs: "regexp:refs/heads/main"
   manifest_name: "REVISION"
   builders {
@@ -6937,7 +6937,7 @@
 consoles {
   id: "fuchsia_f5_engine"
   name: "fuchsia_f5_engine"
-  repo_url: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+  repo_url: "https://flutter.googlesource.com/mirrors/engine"
   refs: "regexp:refs/heads/fuchsia_f5"
   manifest_name: "REVISION"
   builders {
@@ -6955,7 +6955,7 @@
 consoles {
   id: "fuchsia_f6_engine"
   name: "fuchsia_f6_engine"
-  repo_url: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+  repo_url: "https://flutter.googlesource.com/mirrors/engine"
   refs: "regexp:refs/heads/fuchsia_f6"
   manifest_name: "REVISION"
   builders {
@@ -6973,7 +6973,7 @@
 consoles {
   id: "fuchsia_f7_engine"
   name: "fuchsia_f7_engine"
-  repo_url: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+  repo_url: "https://flutter.googlesource.com/mirrors/engine"
   refs: "regexp:refs/heads/fuchsia_f7"
   manifest_name: "REVISION"
   builders {
diff --git a/config/generated/flutter/luci/luci-notify.cfg b/config/generated/flutter/luci/luci-notify.cfg
index 56fb015..2944c55 100644
--- a/config/generated/flutter/luci/luci-notify.cfg
+++ b/config/generated/flutter/luci/luci-notify.cfg
@@ -16,7 +16,7 @@
   builders {
     bucket: "prod"
     name: "Linux Android AOT Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -31,7 +31,7 @@
   builders {
     bucket: "prod"
     name: "Linux Android Debug Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -46,7 +46,7 @@
   builders {
     bucket: "prod"
     name: "Linux Arm Host Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -61,7 +61,7 @@
   builders {
     bucket: "prod"
     name: "Linux Benchmarks"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -76,7 +76,7 @@
   builders {
     bucket: "prod"
     name: "Linux Benchmarks (no-upload)"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -91,7 +91,7 @@
   builders {
     bucket: "prod"
     name: "Linux Framework Smoke Tests"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -106,7 +106,7 @@
   builders {
     bucket: "prod"
     name: "Linux Fuchsia"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -121,7 +121,7 @@
   builders {
     bucket: "prod"
     name: "Linux Fuchsia FEMU"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -136,7 +136,7 @@
   builders {
     bucket: "prod"
     name: "Linux Host Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -151,7 +151,7 @@
   builders {
     bucket: "prod"
     name: "Linux Unopt"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -166,7 +166,7 @@
   builders {
     bucket: "prod"
     name: "Linux Web Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -181,7 +181,7 @@
   builders {
     bucket: "prod"
     name: "Linux Web Framework tests"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -196,7 +196,7 @@
   builders {
     bucket: "prod"
     name: "Linux clang-tidy"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -211,7 +211,7 @@
   builders {
     bucket: "prod"
     name: "Mac Android AOT Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -226,7 +226,7 @@
   builders {
     bucket: "prod"
     name: "Mac Host Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -241,7 +241,7 @@
   builders {
     bucket: "prod"
     name: "Mac Unopt"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -256,7 +256,7 @@
   builders {
     bucket: "prod"
     name: "Mac Web Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -271,7 +271,7 @@
   builders {
     bucket: "prod"
     name: "Mac clang-tidy"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -286,7 +286,7 @@
   builders {
     bucket: "prod"
     name: "Mac iOS Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -301,7 +301,7 @@
   builders {
     bucket: "prod"
     name: "Mac iOS Engine Profile"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -316,7 +316,7 @@
   builders {
     bucket: "prod"
     name: "Mac iOS Engine Release"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -331,7 +331,7 @@
   builders {
     bucket: "prod"
     name: "Windows Android AOT Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -346,7 +346,7 @@
   builders {
     bucket: "prod"
     name: "Windows Host Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -361,7 +361,7 @@
   builders {
     bucket: "prod"
     name: "Windows UWP Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -376,7 +376,7 @@
   builders {
     bucket: "prod"
     name: "Windows Unopt"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -391,7 +391,7 @@
   builders {
     bucket: "prod"
     name: "Windows Web Engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -406,7 +406,7 @@
   builders {
     bucket: "staging"
     name: "Linux Android Emulator Tests"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -421,7 +421,7 @@
   builders {
     bucket: "staging"
     name: "Linux ci_yaml engine roller"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -436,7 +436,7 @@
   builders {
     bucket: "staging"
     name: "Linux linux_host_engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -535,7 +535,7 @@
   builders {
     bucket: "staging"
     name: "Mac mac_ios_engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -550,7 +550,7 @@
   builders {
     bucket: "staging"
     name: "Mac mac_ios_engine_profile"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -565,7 +565,7 @@
   builders {
     bucket: "staging"
     name: "Mac mac_ios_engine_release"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -622,7 +622,7 @@
   builders {
     bucket: "staging"
     name: "Windows windows_android_aot_engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
 notifiers {
@@ -637,6 +637,6 @@
   builders {
     bucket: "staging"
     name: "Windows windows_host_engine"
-    repository: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repository: "https://flutter.googlesource.com/mirrors/engine"
   }
 }
diff --git a/config/generated/flutter/luci/luci-scheduler.cfg b/config/generated/flutter/luci/luci-scheduler.cfg
index aae9cde..4377f38 100644
--- a/config/generated/flutter/luci/luci-scheduler.cfg
+++ b/config/generated/flutter/luci/luci-scheduler.cfg
@@ -17894,7 +17894,7 @@
   triggers: "Windows beta Unopt"
   triggers: "Windows beta Web Engine"
   gitiles {
-    repo: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repo: "https://flutter.googlesource.com/mirrors/engine"
     refs: "regexp:refs/heads/flutter-2\\.12-candidate\\..*|refs/heads/flutter-2\\.11-candidate\\.7"
   }
 }
@@ -18189,7 +18189,7 @@
   triggers: "Windows dev Unopt"
   triggers: "Windows dev Web Engine"
   gitiles {
-    repo: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repo: "https://flutter.googlesource.com/mirrors/engine"
     refs: "regexp:refs/heads/flutter-2\\.10-candidate\\..+"
   }
 }
@@ -18450,7 +18450,7 @@
   triggers: "Linux fuchsia_f5 Fuchsia"
   triggers: "Linux fuchsia_f5 Fuchsia FEMU"
   gitiles {
-    repo: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repo: "https://flutter.googlesource.com/mirrors/engine"
     refs: "regexp:refs/heads/fuchsia_f5"
   }
 }
@@ -18461,7 +18461,7 @@
   triggers: "Linux fuchsia_f6 Fuchsia"
   triggers: "Linux fuchsia_f6 Fuchsia FEMU"
   gitiles {
-    repo: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repo: "https://flutter.googlesource.com/mirrors/engine"
     refs: "regexp:refs/heads/fuchsia_f6"
   }
 }
@@ -18472,7 +18472,7 @@
   triggers: "Linux fuchsia_f7 Fuchsia"
   triggers: "Linux fuchsia_f7 Fuchsia FEMU"
   gitiles {
-    repo: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repo: "https://flutter.googlesource.com/mirrors/engine"
     refs: "regexp:refs/heads/fuchsia_f7"
   }
 }
@@ -18603,7 +18603,7 @@
   triggers: "Windows windows_android_aot_engine"
   triggers: "Windows windows_host_engine"
   gitiles {
-    repo: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repo: "https://flutter.googlesource.com/mirrors/engine"
     refs: "regexp:refs/heads/main"
   }
 }
@@ -19039,7 +19039,7 @@
   triggers: "Windows stable Unopt"
   triggers: "Windows stable Web Engine"
   gitiles {
-    repo: "https://chromium.googlesource.com/external/github.com/flutter/engine"
+    repo: "https://flutter.googlesource.com/mirrors/engine"
     refs: "regexp:refs/heads/flutter-2\\.8-candidate\\.16"
   }
 }
diff --git a/config/lib/repos.star b/config/lib/repos.star
index 44a2cf5..6456fcc 100644
--- a/config/lib/repos.star
+++ b/config/lib/repos.star
@@ -12,7 +12,7 @@
     FLUTTER =
         "https://chromium.googlesource.com/external/github.com/flutter/flutter",
     ENGINE =
-        "https://chromium.googlesource.com/external/github.com/flutter/engine",
+        "https://flutter.googlesource.com/mirrors/engine",
     IDEVICEINSTALLER =
         "https://flutter-mirrors.googlesource.com/ideviceinstaller",
     LIBIMOBILEDEVICE =
@@ -26,7 +26,7 @@
     # TODO(chillers): Migrate all repos to map. https://github.com/flutter/flutter/issues/84998
     GIT_REMOTE = {
         "cocoon": "https://flutter.googlesource.com/mirrors/cocoon",
-        "engine": "https://chromium.googlesource.com/external/github.com/flutter/engine",
+        "engine": "https://flutter.googlesource.com/mirrors/engine",
         "flutter": "https://chromium.googlesource.com/external/github.com/flutter/flutter",
         "packages": "https://flutter.googlesource.com/mirrors/packages",
         "plugins": "https://flutter.googlesource.com/mirrors/plugins",