Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 1 | #!/usr/bin/env lucicfg |
| 2 | |
| 3 | # Copyright (c) 2019 The WebRTC project authors. All rights reserved. |
| 4 | # Use of this source code is governed by a BSD-style license that can be |
| 5 | # found in the LICENSE file. |
| 6 | |
Christoffer Jansson | a814c56 | 2021-09-09 13:44:54 +0200 | [diff] [blame] | 7 | # https://chromium.googlesource.com/infra/luci/luci-go/+/main/lucicfg/doc/ |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 8 | |
Jeremy Leconte | ea2016b | 2020-07-01 09:47:22 +0200 | [diff] [blame] | 9 | """LUCI project configuration for WebRTC CQ and CI.""" |
| 10 | |
Vadim Shtayura | c343a08 | 2022-02-09 12:59:42 -0800 | [diff] [blame] | 11 | lucicfg.check_version("1.30.9") |
Mirko Bonadei | 9189d9c | 2020-06-09 21:54:18 +0200 | [diff] [blame] | 12 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 13 | WEBRTC_GIT = "https://webrtc.googlesource.com/src" |
| 14 | WEBRTC_GERRIT = "https://webrtc-review.googlesource.com/src" |
Mirko Bonadei | f4b78bf | 2021-04-29 11:23:41 +0200 | [diff] [blame] | 15 | WEBRTC_TROOPER_EMAIL = "webrtc-troopers-robots@google.com" |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 16 | WEBRTC_IOS_XCODE_VERSION = "12a7209" |
Jeremy Leconte | a9cd35e | 2022-02-22 15:15:21 +0100 | [diff] [blame] | 17 | WEBRTC_XCODE13 = "13a233" |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 18 | WEBRTC_IOS_SDK_PROPERTY = {"$depot_tools/osx_sdk": {"sdk_version": WEBRTC_IOS_XCODE_VERSION}} |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 19 | DEFAULT_CPU = "x86-64" |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 20 | |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 21 | # Helpers: |
| 22 | |
Jeremy Leconte | 1efa6a1 | 2022-02-23 09:17:12 +0100 | [diff] [blame] | 23 | def make_goma_properties(enable_ats = True, jobs = None): |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 24 | """Makes a default goma property with the specified argument. |
| 25 | |
| 26 | Args: |
| 27 | enable_ats: True if the ATS should be enabled. |
| 28 | jobs: Number of jobs to be used by the builder. |
| 29 | Returns: |
| 30 | A dictonary with the goma properties. |
| 31 | """ |
| 32 | goma_properties = { |
Mirko Bonadei | 1e90534 | 2020-03-04 09:39:42 +0100 | [diff] [blame] | 33 | "server_host": "goma.chromium.org", |
Jeremy Leconte | ea2016b | 2020-07-01 09:47:22 +0200 | [diff] [blame] | 34 | "use_luci_auth": True, |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 35 | } |
Jeremy Leconte | 1efa6a1 | 2022-02-23 09:17:12 +0100 | [diff] [blame] | 36 | if not enable_ats: |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 37 | goma_properties["enable_ats"] = enable_ats |
| 38 | if jobs: |
| 39 | goma_properties["jobs"] = jobs |
| 40 | return {"$build/goma": goma_properties} |
Mirko Bonadei | 5aafd47 | 2021-04-21 10:42:00 +0200 | [diff] [blame] | 41 | |
Artem Titov | 70d45af | 2021-10-11 13:25:18 +0200 | [diff] [blame] | 42 | # Add names of builders to remove from LKGR finder to this list. This is |
| 43 | # useful when a failure can be safely ignored while fixing it without |
| 44 | # blocking the LKGR finder on it. |
| 45 | skipped_lkgr_bots = [ |
Artem Titov | 70d45af | 2021-10-11 13:25:18 +0200 | [diff] [blame] | 46 | ] |
| 47 | |
Vadim Shtayura | c343a08 | 2022-02-09 12:59:42 -0800 | [diff] [blame] | 48 | # Use LUCI Scheduler BBv2 names and add Scheduler realms configs. |
| 49 | lucicfg.enable_experiment("crbug.com/1182002") |
| 50 | |
Christoffer Jansson | 3e21f3f | 2021-11-17 16:30:51 +0100 | [diff] [blame] | 51 | luci.builder.defaults.experiments.set( |
| 52 | { |
Christoffer Jansson | 3e21f3f | 2021-11-17 16:30:51 +0100 | [diff] [blame] | 53 | "luci.recipes.use_python3": 100, |
| 54 | }, |
| 55 | ) |
Jeremy Leconte | 34db399 | 2021-11-23 09:44:31 +0100 | [diff] [blame] | 56 | luci.builder.defaults.test_presentation.set( |
| 57 | resultdb.test_presentation(grouping_keys = ["status", "v.test_suite"]), |
| 58 | ) |
Andrii Shyshkalov | 20b2187 | 2021-04-28 15:10:53 +0200 | [diff] [blame] | 59 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 60 | lucicfg.config( |
| 61 | config_dir = ".", |
| 62 | tracked_files = [ |
| 63 | "commit-queue.cfg", |
| 64 | "cr-buildbucket.cfg", |
| 65 | "luci-logdog.cfg", |
| 66 | "luci-milo.cfg", |
Oleh Prypin | 71d1742 | 2019-03-28 08:43:16 +0100 | [diff] [blame] | 67 | "luci-notify.cfg", |
Oleh Prypin | 705b6a6 | 2019-04-03 23:10:51 +0200 | [diff] [blame] | 68 | "luci-notify/**/*", |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 69 | "luci-scheduler.cfg", |
| 70 | "project.cfg", |
Andrii Shyshkalov | 0efa6da | 2021-04-26 20:40:33 +0200 | [diff] [blame] | 71 | "realms.cfg", |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 72 | ], |
Jeremy Leconte | ea2016b | 2020-07-01 09:47:22 +0200 | [diff] [blame] | 73 | lint_checks = ["default"], |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 74 | ) |
| 75 | |
| 76 | luci.project( |
| 77 | name = "webrtc", |
| 78 | buildbucket = "cr-buildbucket.appspot.com", |
| 79 | logdog = "luci-logdog.appspot.com", |
| 80 | milo = "luci-milo.appspot.com", |
Oleh Prypin | 71d1742 | 2019-03-28 08:43:16 +0100 | [diff] [blame] | 81 | notify = "luci-notify.appspot.com", |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 82 | scheduler = "luci-scheduler.appspot.com", |
| 83 | swarming = "chromium-swarm.appspot.com", |
| 84 | acls = [ |
| 85 | acl.entry( |
| 86 | [acl.BUILDBUCKET_READER, acl.LOGDOG_READER, acl.PROJECT_CONFIGS_READER, acl.SCHEDULER_READER], |
| 87 | groups = ["all"], |
| 88 | ), |
| 89 | acl.entry(acl.LOGDOG_WRITER, groups = ["luci-logdog-chromium-writers"]), |
| 90 | acl.entry(acl.SCHEDULER_OWNER, groups = ["project-webrtc-admins"]), |
| 91 | ], |
Andrii Shyshkalov | 0efa6da | 2021-04-26 20:40:33 +0200 | [diff] [blame] | 92 | bindings = [ |
| 93 | luci.binding( |
Vadim Shtayura | 64ca5e6 | 2021-11-11 17:10:18 -0800 | [diff] [blame] | 94 | roles = "role/configs.validator", |
| 95 | users = [ |
| 96 | "webrtc-try-builder@chops-service-accounts.iam.gserviceaccount.com", |
| 97 | ], |
| 98 | ), |
| 99 | luci.binding( |
Andrii Shyshkalov | 0efa6da | 2021-04-26 20:40:33 +0200 | [diff] [blame] | 100 | roles = "role/swarming.poolOwner", |
| 101 | groups = "project-webrtc-admins", |
| 102 | ), |
| 103 | luci.binding( |
| 104 | roles = "role/swarming.poolViewer", |
| 105 | groups = "all", |
| 106 | ), |
Andrii Shyshkalov | 2961b64 | 2021-04-29 14:01:53 +0200 | [diff] [blame] | 107 | # Allow any WebRTC build to trigger a test ran under chromium-tester@ |
| 108 | # task service account. |
| 109 | luci.binding( |
| 110 | roles = "role/swarming.taskServiceAccount", |
| 111 | users = [ |
| 112 | "chromium-tester@chops-service-accounts.iam.gserviceaccount.com", |
| 113 | ], |
| 114 | ), |
Andrii Shyshkalov | 0efa6da | 2021-04-26 20:40:33 +0200 | [diff] [blame] | 115 | ], |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 116 | ) |
| 117 | |
| 118 | luci.logdog( |
| 119 | gs_bucket = "chromium-luci-logdog", |
| 120 | ) |
| 121 | |
| 122 | luci.milo( |
| 123 | logo = "https://storage.googleapis.com/chrome-infra/webrtc-logo-vert-retro-255x305.png", |
| 124 | ) |
| 125 | |
Owen Rodley | a55c38e | 2020-06-15 11:16:10 +1000 | [diff] [blame] | 126 | luci.notify(tree_closing_enabled = True) |
| 127 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 128 | luci.cq( |
| 129 | status_host = "chromium-cq-status.appspot.com", |
| 130 | submit_max_burst = 1, |
| 131 | submit_burst_delay = 1 * time.minute, |
| 132 | ) |
| 133 | |
| 134 | luci.gitiles_poller( |
Christoffer Jansson | fa64689 | 2021-06-28 17:34:20 +0200 | [diff] [blame] | 135 | name = "webrtc-gitiles-trigger-main", |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 136 | bucket = "ci", |
| 137 | repo = WEBRTC_GIT, |
Christoffer Jansson | fa64689 | 2021-06-28 17:34:20 +0200 | [diff] [blame] | 138 | refs = ["refs/heads/main"], |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 139 | ) |
| 140 | |
Andrii Shyshkalov | 0efa6da | 2021-04-26 20:40:33 +0200 | [diff] [blame] | 141 | # Swarming permissions: |
| 142 | |
Andrii Shyshkalov | c26aaad | 2021-04-27 16:47:26 +0200 | [diff] [blame] | 143 | luci.realm(name = "pools/cron", bindings = [ |
| 144 | # Unlike WebRTC's own builders, other projects need an explicit grant to use this pool. |
| 145 | luci.binding( |
| 146 | roles = "role/swarming.poolUser", |
| 147 | projects = "libyuv", |
| 148 | ), |
| 149 | ]) |
| 150 | |
Andrii Shyshkalov | 0efa6da | 2021-04-26 20:40:33 +0200 | [diff] [blame] | 151 | luci.realm(name = "pools/ci") |
Andrii Shyshkalov | c26aaad | 2021-04-27 16:47:26 +0200 | [diff] [blame] | 152 | luci.realm(name = "pools/ci-tests", bindings = [ |
| 153 | # Allow task service accounts of .ci pool/bucket to trigger tasks here. |
| 154 | luci.binding( |
| 155 | roles = "role/swarming.poolUser", |
| 156 | groups = "project-webrtc-ci-task-accounts", |
| 157 | ), |
| 158 | # Allow tasks here to use .ci task service accounts. |
| 159 | luci.binding( |
| 160 | roles = "role/swarming.taskServiceAccount", |
| 161 | groups = "project-webrtc-ci-task-accounts", |
| 162 | ), |
| 163 | ]) |
Jeremy Leconte | 053e63c | 2021-11-24 13:55:48 +0100 | [diff] [blame] | 164 | luci.realm(name = "ci", bindings = [ |
| 165 | # Allow CI builders to create invocations in their own builds. |
| 166 | luci.binding( |
| 167 | roles = "role/resultdb.invocationCreator", |
| 168 | groups = "project-webrtc-ci-task-accounts", |
| 169 | ), |
| 170 | ]) |
Andrii Shyshkalov | c26aaad | 2021-04-27 16:47:26 +0200 | [diff] [blame] | 171 | |
Jeremy Leconte | 053e63c | 2021-11-24 13:55:48 +0100 | [diff] [blame] | 172 | luci.realm(name = "pools/try", bindings = [ |
| 173 | # Allow to use LED & Swarming "Debug" feature to a larger group but only on try bots / builders. |
| 174 | luci.binding( |
| 175 | roles = "role/swarming.poolUser", |
| 176 | groups = "project-webrtc-led-users", |
| 177 | ), |
| 178 | ]) |
Andrii Shyshkalov | c26aaad | 2021-04-27 16:47:26 +0200 | [diff] [blame] | 179 | luci.realm(name = "pools/try-tests", bindings = [ |
| 180 | # Allow task service accounts of .try pool/bucket to trigger tasks here. |
| 181 | luci.binding( |
| 182 | roles = "role/swarming.poolUser", |
| 183 | groups = "project-webrtc-try-task-accounts", |
| 184 | ), |
| 185 | # Allow tasks here to use .try task service accounts. |
| 186 | luci.binding( |
| 187 | roles = "role/swarming.taskServiceAccount", |
| 188 | groups = "project-webrtc-try-task-accounts", |
| 189 | ), |
| 190 | ]) |
Jeremy Leconte | 053e63c | 2021-11-24 13:55:48 +0100 | [diff] [blame] | 191 | luci.realm(name = "try", bindings = [ |
| 192 | luci.binding( |
| 193 | roles = "role/swarming.taskTriggerer", |
| 194 | groups = "project-webrtc-led-users", |
| 195 | ), |
| 196 | # Allow try builders to create invocations in their own builds. |
| 197 | luci.binding( |
| 198 | roles = "role/resultdb.invocationCreator", |
| 199 | groups = "project-webrtc-try-task-accounts", |
| 200 | ), |
| 201 | ]) |
Andrii Shyshkalov | 0efa6da | 2021-04-26 20:40:33 +0200 | [diff] [blame] | 202 | |
Mirko Bonadei | 4cf0fc7 | 2021-08-31 17:38:10 +0200 | [diff] [blame] | 203 | luci.realm(name = "pools/perf", bindings = [ |
Jeremy Leconte | 053e63c | 2021-11-24 13:55:48 +0100 | [diff] [blame] | 204 | # Allow to use LED & Swarming "Debug" feature to a larger group but only on perf bots / builders. |
Mirko Bonadei | 4cf0fc7 | 2021-08-31 17:38:10 +0200 | [diff] [blame] | 205 | luci.binding( |
| 206 | roles = "role/swarming.poolUser", |
| 207 | groups = "project-webrtc-led-users", |
| 208 | ), |
| 209 | ]) |
Jeremy Leconte | 053e63c | 2021-11-24 13:55:48 +0100 | [diff] [blame] | 210 | luci.realm(name = "perf", bindings = [ |
| 211 | luci.binding( |
| 212 | roles = "role/swarming.taskTriggerer", |
| 213 | groups = "project-webrtc-led-users", |
| 214 | ), |
| 215 | ]) |
Mirko Bonadei | 4cf0fc7 | 2021-08-31 17:38:10 +0200 | [diff] [blame] | 216 | |
Jeremy Leconte | 053e63c | 2021-11-24 13:55:48 +0100 | [diff] [blame] | 217 | luci.realm(name = "@root", bindings = [ |
| 218 | # Allow admins to use LED & Swarming "Debug" feature on all WebRTC bots. |
| 219 | luci.binding( |
| 220 | roles = "role/swarming.poolUser", |
| 221 | groups = "project-webrtc-admins", |
| 222 | ), |
| 223 | luci.binding( |
| 224 | roles = "role/swarming.taskTriggerer", |
| 225 | groups = "project-webrtc-admins", |
| 226 | ), |
| 227 | ]) |
Andrii Shyshkalov | 0efa6da | 2021-04-26 20:40:33 +0200 | [diff] [blame] | 228 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 229 | # Bucket definitions: |
| 230 | |
| 231 | luci.bucket( |
| 232 | name = "try", |
| 233 | acls = [ |
| 234 | acl.entry(acl.BUILDBUCKET_TRIGGERER, groups = [ |
| 235 | "service-account-cq", |
| 236 | "project-webrtc-tryjob-access", |
| 237 | ]), |
| 238 | ], |
| 239 | ) |
| 240 | |
| 241 | luci.bucket( |
| 242 | name = "ci", |
| 243 | acls = [ |
Oleh Prypin | f35939d | 2019-05-03 20:42:38 +0200 | [diff] [blame] | 244 | acl.entry(acl.BUILDBUCKET_TRIGGERER, groups = [ |
| 245 | "project-webrtc-ci-schedulers", |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 246 | ]), |
Jeremy Leconte | 2e25bb5 | 2020-07-16 09:38:56 +0200 | [diff] [blame] | 247 | acl.entry(acl.BUILDBUCKET_TRIGGERER, groups = [ |
| 248 | # Allow Pinpoint to trigger builds for bisection |
| 249 | "service-account-chromeperf", |
| 250 | ]), |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 251 | ], |
| 252 | ) |
| 253 | |
| 254 | luci.bucket( |
| 255 | name = "perf", |
| 256 | acls = [ |
| 257 | acl.entry(acl.BUILDBUCKET_TRIGGERER, users = [ |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 258 | "webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com", |
| 259 | ]), |
| 260 | ], |
| 261 | ) |
| 262 | |
| 263 | luci.bucket( |
| 264 | name = "cron", |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 265 | ) |
| 266 | |
| 267 | # Commit queue definitions: |
| 268 | |
| 269 | luci.cq_group( |
| 270 | name = "cq", |
| 271 | tree_status_host = "webrtc-status.appspot.com", |
Christoffer Jansson | 1746b25 | 2021-05-31 16:03:55 +0200 | [diff] [blame] | 272 | watch = [cq.refset(repo = WEBRTC_GERRIT, refs = ["refs/heads/master", "refs/heads/main"])], |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 273 | acls = [ |
| 274 | acl.entry(acl.CQ_COMMITTER, groups = ["project-webrtc-committers"]), |
| 275 | acl.entry(acl.CQ_DRY_RUNNER, groups = ["project-webrtc-tryjob-access"]), |
| 276 | ], |
| 277 | retry_config = cq.RETRY_ALL_FAILURES, |
Oleh Prypin | 5416f2d | 2019-08-02 09:43:15 +0200 | [diff] [blame] | 278 | cancel_stale_tryjobs = True, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 279 | ) |
| 280 | |
| 281 | luci.cq_group( |
Oleh Prypin | 7d1cabe | 2019-03-14 15:10:30 +0100 | [diff] [blame] | 282 | name = "cq_branch", |
| 283 | watch = [cq.refset(repo = WEBRTC_GERRIT, refs = ["refs/branch-heads/.+"])], |
| 284 | acls = [ |
| 285 | acl.entry(acl.CQ_COMMITTER, groups = ["project-webrtc-committers"]), |
| 286 | acl.entry(acl.CQ_DRY_RUNNER, groups = ["project-webrtc-tryjob-access"]), |
| 287 | ], |
| 288 | retry_config = cq.RETRY_ALL_FAILURES, |
Oleh Prypin | 5416f2d | 2019-08-02 09:43:15 +0200 | [diff] [blame] | 289 | cancel_stale_tryjobs = True, |
Oleh Prypin | 7d1cabe | 2019-03-14 15:10:30 +0100 | [diff] [blame] | 290 | ) |
| 291 | |
| 292 | luci.cq_group( |
| 293 | name = "cq_infra", |
| 294 | watch = [cq.refset(repo = WEBRTC_GERRIT, refs = ["refs/heads/infra/config"])], |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 295 | acls = [ |
| 296 | acl.entry(acl.CQ_COMMITTER, groups = ["project-webrtc-admins"]), |
| 297 | acl.entry(acl.CQ_DRY_RUNNER, groups = ["project-webrtc-tryjob-access"]), |
| 298 | ], |
| 299 | retry_config = cq.RETRY_ALL_FAILURES, |
Oleh Prypin | 5416f2d | 2019-08-02 09:43:15 +0200 | [diff] [blame] | 300 | cancel_stale_tryjobs = True, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 301 | ) |
| 302 | |
| 303 | luci.cq_tryjob_verifier( |
| 304 | builder = "presubmit", |
Oleh Prypin | 7d1cabe | 2019-03-14 15:10:30 +0100 | [diff] [blame] | 305 | cq_group = "cq_infra", |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 306 | ) |
| 307 | |
Oleh Prypin | e56cd9b | 2019-05-29 21:14:31 +0200 | [diff] [blame] | 308 | luci.cq_tryjob_verifier( |
| 309 | builder = "webrtc-internal:g3.webrtc-internal.try/internal_compile_lite", |
| 310 | owner_whitelist = ["project-webrtc-internal-tryjob-access"], |
| 311 | cq_group = "cq", |
| 312 | ) |
| 313 | |
Oleh Prypin | 71d1742 | 2019-03-28 08:43:16 +0100 | [diff] [blame] | 314 | # Notifier definitions: |
| 315 | |
| 316 | luci.notifier( |
Mirko Bonadei | 875a27a | 2020-07-11 15:04:58 +0200 | [diff] [blame] | 317 | name = "post_submit_failure_notifier", |
| 318 | on_new_status = ["FAILURE"], |
Mirko Bonadei | f4b78bf | 2021-04-29 11:23:41 +0200 | [diff] [blame] | 319 | notify_emails = [WEBRTC_TROOPER_EMAIL], |
Christoffer Jansson | 1663501 | 2021-10-25 16:32:38 +0200 | [diff] [blame] | 320 | notify_blamelist = True, |
Oleh Prypin | 705b6a6 | 2019-04-03 23:10:51 +0200 | [diff] [blame] | 321 | template = luci.notifier_template( |
Mirko Bonadei | 875a27a | 2020-07-11 15:04:58 +0200 | [diff] [blame] | 322 | name = "build_failure", |
| 323 | body = io.read_file("luci-notify/email-templates/build_failure.template"), |
Oleh Prypin | 705b6a6 | 2019-04-03 23:10:51 +0200 | [diff] [blame] | 324 | ), |
Oleh Prypin | 71d1742 | 2019-03-28 08:43:16 +0100 | [diff] [blame] | 325 | ) |
| 326 | |
| 327 | luci.notifier( |
| 328 | name = "cron_notifier", |
Jeremy Leconte | 67a904e | 2020-07-08 11:48:18 +0200 | [diff] [blame] | 329 | on_new_status = ["FAILURE", "INFRA_FAILURE"], |
Mirko Bonadei | f4b78bf | 2021-04-29 11:23:41 +0200 | [diff] [blame] | 330 | notify_emails = [WEBRTC_TROOPER_EMAIL], |
Oleh Prypin | 705b6a6 | 2019-04-03 23:10:51 +0200 | [diff] [blame] | 331 | template = luci.notifier_template( |
| 332 | name = "cron", |
| 333 | body = io.read_file("luci-notify/email-templates/cron.template"), |
| 334 | ), |
Oleh Prypin | 71d1742 | 2019-03-28 08:43:16 +0100 | [diff] [blame] | 335 | ) |
| 336 | |
Jeremy Leconte | 67a904e | 2020-07-08 11:48:18 +0200 | [diff] [blame] | 337 | luci.notifier( |
Mirko Bonadei | 875a27a | 2020-07-11 15:04:58 +0200 | [diff] [blame] | 338 | name = "infra_failure_notifier", |
Jeremy Leconte | 67a904e | 2020-07-08 11:48:18 +0200 | [diff] [blame] | 339 | on_new_status = ["INFRA_FAILURE"], |
Mirko Bonadei | f4b78bf | 2021-04-29 11:23:41 +0200 | [diff] [blame] | 340 | notify_emails = [WEBRTC_TROOPER_EMAIL], |
Jeremy Leconte | 67a904e | 2020-07-08 11:48:18 +0200 | [diff] [blame] | 341 | template = luci.notifier_template( |
Mirko Bonadei | 875a27a | 2020-07-11 15:04:58 +0200 | [diff] [blame] | 342 | name = "infra_failure", |
| 343 | body = io.read_file("luci-notify/email-templates/infra_failure.template"), |
Jeremy Leconte | 67a904e | 2020-07-08 11:48:18 +0200 | [diff] [blame] | 344 | ), |
| 345 | ) |
| 346 | |
Owen Rodley | 6b721ba | 2020-05-26 10:04:20 +1000 | [diff] [blame] | 347 | # Tree closer definitions: |
| 348 | |
| 349 | luci.tree_closer( |
| 350 | name = "webrtc_tree_closer", |
| 351 | tree_status_host = "webrtc-status.appspot.com", |
Owen Rodley | 6b721ba | 2020-05-26 10:04:20 +1000 | [diff] [blame] | 352 | # TODO: These step filters are copied verbatim from Gatekeeper, for testing |
| 353 | # that LUCI-Notify would take the exact same actions. Once we've switched |
| 354 | # over, this should be updated - several of these steps don't exist in |
| 355 | # WebRTC recipes. |
| 356 | failed_step_regexp = [ |
| 357 | "bot_update", |
| 358 | "compile", |
| 359 | "gclient runhooks", |
| 360 | "runhooks", |
| 361 | "update", |
| 362 | "extract build", |
| 363 | "cleanup_temp", |
| 364 | "taskkill", |
| 365 | "compile", |
| 366 | "gn", |
| 367 | ], |
| 368 | failed_step_regexp_exclude = ".*\\(experimental\\).*", |
| 369 | ) |
| 370 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 371 | # Recipe definitions: |
| 372 | |
| 373 | def recipe(recipe, pkg = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"): |
| 374 | return luci.recipe( |
| 375 | name = recipe.split("/")[-1], |
| 376 | cipd_package = pkg, |
Christoffer Jansson | a814c56 | 2021-09-09 13:44:54 +0200 | [diff] [blame] | 377 | cipd_version = "refs/heads/main", |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 378 | recipe = recipe, |
Christoffer Jansson | 659d932 | 2021-11-18 15:56:00 +0100 | [diff] [blame] | 379 | use_python3 = True, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 380 | ) |
| 381 | |
| 382 | recipe("chromium_trybot") |
| 383 | recipe("run_presubmit") |
| 384 | recipe("webrtc/auto_roll_webrtc_deps") |
| 385 | recipe("webrtc/ios") |
| 386 | recipe("webrtc/ios_api_framework") |
| 387 | recipe("webrtc/libfuzzer") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 388 | recipe("webrtc/standalone") |
Mirko Bonadei | 54bbd1c | 2020-12-14 15:54:46 +0100 | [diff] [blame] | 389 | recipe("webrtc/update_webrtc_binary_version") |
Jeff Yoon | f421c68 | 2020-12-17 00:16:22 -0800 | [diff] [blame] | 390 | recipe("lkgr_finder", pkg = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 391 | |
| 392 | # Console definitions: |
| 393 | |
Josip Sokcevic | 5a906ed | 2021-06-28 08:55:46 -0700 | [diff] [blame] | 394 | luci.console_view(name = "ci", title = "Main", repo = WEBRTC_GIT, header = "console-header.textpb", refs = ["refs/heads/master", "refs/heads/main"]) |
| 395 | luci.console_view(name = "perf", title = "Perf", repo = WEBRTC_GIT, header = "console-header.textpb", refs = ["refs/heads/master", "refs/heads/main"]) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 396 | luci.list_view(name = "cron", title = "Cron") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 397 | luci.list_view(name = "try", title = "Tryserver") |
| 398 | |
| 399 | def add_milo(builder, views): |
| 400 | """Add Milo console entries for the builder. |
| 401 | |
| 402 | Args: |
| 403 | builder: builder name (str). |
| 404 | views: dict where keys are names of consoles and values are either a |
| 405 | category for the console (str, pipe-separated) or True, which means |
| 406 | adding to a list view rather than a console. |
| 407 | """ |
| 408 | for view_name, category in views.items(): |
| 409 | if category == None: |
| 410 | continue |
| 411 | elif type(category) == "string": |
| 412 | category, _, short_name = category.rpartition("|") |
| 413 | luci.console_view_entry( |
| 414 | console_view = view_name, |
| 415 | builder = builder, |
| 416 | category = category or None, |
| 417 | short_name = short_name or None, |
| 418 | ) |
| 419 | elif category == True: |
| 420 | luci.list_view_entry( |
| 421 | list_view = view_name, |
| 422 | builder = builder, |
| 423 | ) |
| 424 | else: |
| 425 | fail("Unexpected value for category: %r" % category) |
| 426 | |
Jeremy Leconte | ec86a69 | 2022-02-28 09:09:52 +0100 | [diff] [blame^] | 427 | lkgr_builders = [] |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 428 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 429 | # Builder-defining functions: |
| 430 | |
Artem Titarenko | f6588b7 | 2019-11-14 14:28:11 +0100 | [diff] [blame] | 431 | def webrtc_builder( |
| 432 | name, |
Jeremy Leconte | c251620 | 2021-12-14 13:01:24 +0100 | [diff] [blame] | 433 | bucket, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 434 | dimensions, |
| 435 | properties = None, |
Artem Titarenko | f6588b7 | 2019-11-14 14:28:11 +0100 | [diff] [blame] | 436 | recipe = "standalone", |
Artem Titarenko | f6588b7 | 2019-11-14 14:28:11 +0100 | [diff] [blame] | 437 | priority = 30, |
| 438 | execution_timeout = 2 * time.hour, |
| 439 | **kwargs): |
Mirko Bonadei | b7ef460 | 2020-07-01 13:28:26 +0200 | [diff] [blame] | 440 | """WebRTC specific wrapper around luci.builder. |
| 441 | |
| 442 | Args: |
| 443 | name: builder name (str). |
Jeremy Leconte | c251620 | 2021-12-14 13:01:24 +0100 | [diff] [blame] | 444 | bucket: The name of the bucket the builder belongs to. |
Mirko Bonadei | b7ef460 | 2020-07-01 13:28:26 +0200 | [diff] [blame] | 445 | dimensions: dict of Swarming dimensions (strings) to search machines by. |
| 446 | properties: dict of properties to pass to the recipe (on top of the default ones). |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 447 | recipe: string with the name of the recipe to run. |
Mirko Bonadei | b7ef460 | 2020-07-01 13:28:26 +0200 | [diff] [blame] | 448 | priority: int [1-255] or None, indicating swarming task priority, lower is |
| 449 | more important. If None, defer the decision to Buildbucket service. |
| 450 | execution_timeout: int or None, how long to wait for a running build to finish before |
| 451 | forcefully aborting it and marking the build as timed out. If None, |
| 452 | defer the decision to Buildbucket service. |
Mirko Bonadei | b7ef460 | 2020-07-01 13:28:26 +0200 | [diff] [blame] | 453 | **kwargs: Pass on to webrtc_builder / luci.builder. |
| 454 | Returns: |
| 455 | A luci.builder. |
| 456 | """ |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 457 | properties = properties or {} |
| 458 | properties["$recipe_engine/isolated"] = { |
| 459 | "server": "https://isolateserver.appspot.com", |
| 460 | } |
Jeremy Leconte | c251620 | 2021-12-14 13:01:24 +0100 | [diff] [blame] | 461 | resultdb_bq_table = "webrtc-ci.resultdb." + bucket + "_test_results" |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 462 | return luci.builder( |
| 463 | name = name, |
Jeremy Leconte | c251620 | 2021-12-14 13:01:24 +0100 | [diff] [blame] | 464 | bucket = bucket, |
Oleh Prypin | 705b6a6 | 2019-04-03 23:10:51 +0200 | [diff] [blame] | 465 | executable = recipe, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 466 | dimensions = dimensions, |
Mirko Bonadei | b7ef460 | 2020-07-01 13:28:26 +0200 | [diff] [blame] | 467 | properties = properties, |
Artem Titarenko | f6588b7 | 2019-11-14 14:28:11 +0100 | [diff] [blame] | 468 | execution_timeout = execution_timeout, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 469 | priority = priority, |
| 470 | build_numbers = True, |
| 471 | swarming_tags = ["vpython:native-python-wrapper"], |
Jeremy Leconte | c251620 | 2021-12-14 13:01:24 +0100 | [diff] [blame] | 472 | resultdb_settings = resultdb.settings( |
| 473 | enable = True, |
| 474 | bq_exports = [ |
| 475 | resultdb.export_test_results(bq_table = resultdb_bq_table), |
| 476 | ], |
| 477 | ), |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 478 | **kwargs |
| 479 | ) |
| 480 | |
| 481 | def ci_builder( |
| 482 | name, |
| 483 | ci_cat, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 484 | dimensions, |
| 485 | properties = None, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 486 | perf_cat = None, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 487 | prioritized = False, |
Oleh Prypin | f5432c5 | 2019-03-19 15:10:37 +0100 | [diff] [blame] | 488 | enabled = True, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 489 | **kwargs): |
Oleh Prypin | e567767 | 2019-04-25 12:21:35 +0200 | [diff] [blame] | 490 | """Add a post-submit builder. |
| 491 | |
| 492 | Args: |
| 493 | name: builder name (str). |
| 494 | ci_cat: the category + name for the /ci/ console, or None to omit from the console. |
Oleh Prypin | e567767 | 2019-04-25 12:21:35 +0200 | [diff] [blame] | 495 | dimensions: dict of Swarming dimensions (strings) to search machines by. |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 496 | properties: dict of properties to pass to the recipe (on top of the default ones). |
| 497 | perf_cat: the category + name for the /perf/ console, or None to omit from the console. |
Oleh Prypin | e567767 | 2019-04-25 12:21:35 +0200 | [diff] [blame] | 498 | prioritized: True to make this builder have a higher priority and never batch builds. |
| 499 | enabled: False to exclude this builder from consoles and failure notifications. |
| 500 | **kwargs: Pass on to webrtc_builder / luci.builder. |
| 501 | Returns: |
| 502 | A luci.builder. |
| 503 | |
| 504 | Notifications are also disabled if a builder is not on either of /ci/ or /perf/ consoles. |
| 505 | """ |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 506 | if prioritized: |
| 507 | kwargs["triggering_policy"] = scheduler.greedy_batching( |
| 508 | max_batch_size = 1, |
| 509 | max_concurrent_invocations = 3, |
| 510 | ) |
| 511 | kwargs["priority"] = 29 |
| 512 | |
Oleh Prypin | f5432c5 | 2019-03-19 15:10:37 +0100 | [diff] [blame] | 513 | if enabled: |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 514 | add_milo(name, {"ci": ci_cat, "perf": perf_cat}) |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 515 | if ci_cat: |
Jeremy Leconte | ec86a69 | 2022-02-28 09:09:52 +0100 | [diff] [blame^] | 516 | lkgr_builders.append(name) |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 517 | dimensions.update({"pool": "luci.webrtc.ci", "cpu": kwargs.pop("cpu", DEFAULT_CPU)}) |
| 518 | properties = properties or {} |
| 519 | properties["builder_group"] = "client.webrtc" |
| 520 | properties.update(make_goma_properties()) |
Jeremy Leconte | ec86a69 | 2022-02-28 09:09:52 +0100 | [diff] [blame^] | 521 | notifies = ["post_submit_failure_notifier", "infra_failure_notifier"] |
| 522 | notifies += ["webrtc_tree_closer"] if name not in skipped_lkgr_bots else [] |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 523 | return webrtc_builder( |
| 524 | name = name, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 525 | dimensions = dimensions, |
| 526 | properties = properties, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 527 | bucket = "ci", |
| 528 | service_account = "webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com", |
Christoffer Jansson | fa64689 | 2021-06-28 17:34:20 +0200 | [diff] [blame] | 529 | triggered_by = ["webrtc-gitiles-trigger-main"] if enabled else None, |
Oleh Prypin | 71d1742 | 2019-03-28 08:43:16 +0100 | [diff] [blame] | 530 | repo = WEBRTC_GIT, |
Jeremy Leconte | ec86a69 | 2022-02-28 09:09:52 +0100 | [diff] [blame^] | 531 | notifies = notifies if enabled else None, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 532 | **kwargs |
| 533 | ) |
| 534 | |
| 535 | def try_builder( |
| 536 | name, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 537 | dimensions, |
| 538 | properties = None, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 539 | try_cat = True, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 540 | cq = {}, |
Oleh Prypin | 7d1cabe | 2019-03-14 15:10:30 +0100 | [diff] [blame] | 541 | branch_cq = True, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 542 | goma_enable_ats = True, |
| 543 | goma_jobs = None, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 544 | **kwargs): |
Oleh Prypin | e567767 | 2019-04-25 12:21:35 +0200 | [diff] [blame] | 545 | """Add a pre-submit builder. |
| 546 | |
| 547 | Args: |
| 548 | name: builder name (str). |
Oleh Prypin | e567767 | 2019-04-25 12:21:35 +0200 | [diff] [blame] | 549 | dimensions: dict of Swarming dimensions (strings) to search machines by. |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 550 | properties: dict of properties to pass to the recipe (on top of the default ones). |
| 551 | try_cat: boolean, whether to include this builder in the /try/ console. See also: `add_milo`. |
Oleh Prypin | e567767 | 2019-04-25 12:21:35 +0200 | [diff] [blame] | 552 | cq: None to exclude this from all commit queues, or a dict of kwargs for cq_tryjob_verifier. |
Oleh Prypin | 7d1cabe | 2019-03-14 15:10:30 +0100 | [diff] [blame] | 553 | branch_cq: False to exclude this builder just from the release-branch CQ. |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 554 | goma_enable_ats: True if the ATS should be enabled by the builder. |
| 555 | goma_jobs: Number of jobs to be used by the builder. |
Oleh Prypin | e567767 | 2019-04-25 12:21:35 +0200 | [diff] [blame] | 556 | **kwargs: Pass on to webrtc_builder / luci.builder. |
| 557 | Returns: |
| 558 | A luci.builder. |
| 559 | """ |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 560 | add_milo(name, {"try": try_cat}) |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 561 | dimensions.update({"pool": "luci.webrtc.try", "cpu": DEFAULT_CPU}) |
| 562 | properties = properties or {} |
| 563 | properties["builder_group"] = "tryserver.webrtc" |
| 564 | properties.update(make_goma_properties(enable_ats = goma_enable_ats, jobs = goma_jobs)) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 565 | if cq != None: |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 566 | luci.cq_tryjob_verifier(name, cq_group = "cq", **cq) |
Oleh Prypin | 7d1cabe | 2019-03-14 15:10:30 +0100 | [diff] [blame] | 567 | if branch_cq: |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 568 | luci.cq_tryjob_verifier(name, cq_group = "cq_branch", **cq) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 569 | |
| 570 | return webrtc_builder( |
| 571 | name = name, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 572 | dimensions = dimensions, |
| 573 | properties = properties, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 574 | bucket = "try", |
| 575 | service_account = "webrtc-try-builder@chops-service-accounts.iam.gserviceaccount.com", |
Mirko Bonadei | 875a27a | 2020-07-11 15:04:58 +0200 | [diff] [blame] | 576 | notifies = ["infra_failure_notifier"], |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 577 | **kwargs |
| 578 | ) |
| 579 | |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 580 | def perf_builder(name, perf_cat, **kwargs): |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 581 | add_milo(name, {"perf": perf_cat}) |
Jeremy Leconte | 1efa6a1 | 2022-02-23 09:17:12 +0100 | [diff] [blame] | 582 | properties = make_goma_properties() |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 583 | properties["builder_group"] = "client.webrtc.perf" |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 584 | return webrtc_builder( |
| 585 | name = name, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 586 | dimensions = {"pool": "luci.webrtc.perf", "os": "Linux"}, |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 587 | properties = properties, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 588 | bucket = "perf", |
| 589 | service_account = "webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com", |
| 590 | # log_base of 1.7 means: |
| 591 | # when there are P pending builds, LUCI will batch the first B builds. |
| 592 | # P: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... |
| 593 | # B: 1 1 2 2 3 3 3 3 4 4 4 4 4 4 5 ... |
Jeremy Leconte | ea2016b | 2020-07-01 09:47:22 +0200 | [diff] [blame] | 594 | triggering_policy = scheduler.logarithmic_batching(log_base = 1.7), |
Christoffer Jansson | 1663501 | 2021-10-25 16:32:38 +0200 | [diff] [blame] | 595 | repo = WEBRTC_GIT, |
Artem Titarenko | f6588b7 | 2019-11-14 14:28:11 +0100 | [diff] [blame] | 596 | execution_timeout = 3 * time.hour, |
Mirko Bonadei | 875a27a | 2020-07-11 15:04:58 +0200 | [diff] [blame] | 597 | notifies = ["post_submit_failure_notifier", "infra_failure_notifier"], |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 598 | **kwargs |
| 599 | ) |
| 600 | |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 601 | def cron_builder(name, service_account = None, **kwargs): |
Mirko Bonadei | 54bbd1c | 2020-12-14 15:54:46 +0100 | [diff] [blame] | 602 | if service_account == None: |
| 603 | service_account = "chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com" |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 604 | add_milo(name, {"cron": True}) |
| 605 | return webrtc_builder( |
| 606 | name = name, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 607 | dimensions = {"pool": "luci.webrtc.cron", "os": "Linux", "cpu": DEFAULT_CPU}, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 608 | bucket = "cron", |
Mirko Bonadei | 54bbd1c | 2020-12-14 15:54:46 +0100 | [diff] [blame] | 609 | service_account = service_account, |
Oleh Prypin | 71d1742 | 2019-03-28 08:43:16 +0100 | [diff] [blame] | 610 | notifies = ["cron_notifier"], |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 611 | **kwargs |
| 612 | ) |
| 613 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 614 | def normal_builder_factory(**common_kwargs): |
| 615 | def builder(*args, **kwargs): |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 616 | kwargs.update(common_kwargs) |
| 617 | return ci_builder(*args, **kwargs) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 618 | |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 619 | def try_job(name, **kwargs): |
| 620 | kwargs.update(common_kwargs) |
| 621 | return try_builder(name, **kwargs) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 622 | |
| 623 | return builder, try_job |
| 624 | |
| 625 | # Mixins: |
| 626 | |
| 627 | linux_builder, linux_try_job = normal_builder_factory( |
| 628 | dimensions = {"os": "Linux", "inside_docker": "0"}, |
| 629 | ) |
| 630 | |
| 631 | android_builder, android_try_job = normal_builder_factory( |
| 632 | dimensions = {"os": "Linux"}, |
| 633 | ) |
| 634 | |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 635 | win_builder = normal_builder_factory( |
| 636 | dimensions = {"os": "Windows"}, |
| 637 | )[0] |
Mirko Bonadei | 5aafd47 | 2021-04-21 10:42:00 +0200 | [diff] [blame] | 638 | |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 639 | win_try_job = normal_builder_factory( |
| 640 | dimensions = {"os": "Windows"}, |
| 641 | goma_enable_ats = False, |
| 642 | )[1] |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 643 | |
| 644 | mac_builder, mac_try_job = normal_builder_factory( |
| 645 | dimensions = {"os": "Mac"}, |
| 646 | ) |
| 647 | |
Jeremy Leconte | 2338cc0 | 2022-02-22 13:22:05 +0100 | [diff] [blame] | 648 | ios_builder = normal_builder_factory( |
| 649 | dimensions = {"os": "Mac-10.15"}, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 650 | properties = {"xcode_build_version": WEBRTC_IOS_XCODE_VERSION}, |
Jeremy Leconte | 2338cc0 | 2022-02-22 13:22:05 +0100 | [diff] [blame] | 651 | caches = [swarming.cache( |
| 652 | name = "xcode_ios_" + WEBRTC_IOS_XCODE_VERSION, |
| 653 | path = "xcode_ios_" + WEBRTC_IOS_XCODE_VERSION + ".app", |
| 654 | )], |
| 655 | )[0] |
| 656 | |
| 657 | ios_try_job = normal_builder_factory( |
Mirko Bonadei | 8096c23 | 2020-08-26 21:44:42 +0200 | [diff] [blame] | 658 | dimensions = {"os": "Mac-10.15"}, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 659 | recipe = "ios", |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 660 | properties = WEBRTC_IOS_SDK_PROPERTY, |
Mirko Bonadei | 84360ca | 2020-03-12 08:35:48 +0100 | [diff] [blame] | 661 | caches = [swarming.cache("osx_sdk")], |
Jeremy Leconte | 2338cc0 | 2022-02-22 13:22:05 +0100 | [diff] [blame] | 662 | )[1] |
Mirko Bonadei | 84360ca | 2020-03-12 08:35:48 +0100 | [diff] [blame] | 663 | |
Mirko Bonadei | a7677a3 | 2021-10-05 08:31:36 +0200 | [diff] [blame] | 664 | ios_builder_macos11, ios_try_job_macos11 = normal_builder_factory( |
Mirko Bonadei | e680bce | 2021-10-03 12:05:13 +0200 | [diff] [blame] | 665 | dimensions = {"os": "Mac-11"}, |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 666 | properties = {"xcode_build_version": WEBRTC_XCODE13}, |
Jeremy Leconte | a9cd35e | 2022-02-22 15:15:21 +0100 | [diff] [blame] | 667 | caches = [swarming.cache( |
| 668 | name = "xcode_ios_" + WEBRTC_XCODE13, |
| 669 | path = "xcode_ios_" + WEBRTC_XCODE13 + ".app", |
| 670 | )], |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 671 | ) |
| 672 | |
| 673 | # Actual builder configuration: |
| 674 | |
| 675 | android_builder("Android32 (M Nexus5X)(dbg)", "Android|arm|dbg") |
| 676 | android_try_job("android_compile_arm_dbg", cq = None) |
| 677 | android_try_job("android_arm_dbg") |
| 678 | android_builder("Android32 (M Nexus5X)", "Android|arm|rel") |
Andrey Logvin | 849978d | 2021-09-14 10:20:19 +0000 | [diff] [blame] | 679 | android_try_job("android_arm_rel") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 680 | android_builder("Android32 Builder arm", "Android|arm|size", perf_cat = "Android|arm|Builder|", prioritized = True) |
| 681 | android_try_job("android_compile_arm_rel") |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 682 | perf_builder("Perf Android32 (M Nexus5)", "Android|arm|Tester|M Nexus5", triggered_by = ["Android32 Builder arm"]) |
| 683 | perf_builder("Perf Android32 (M AOSP Nexus6)", "Android|arm|Tester|M AOSP Nexus6", triggered_by = ["Android32 Builder arm"]) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 684 | android_try_job("android_compile_arm64_dbg", cq = None) |
| 685 | android_try_job("android_arm64_dbg", cq = None) |
| 686 | android_builder("Android64 (M Nexus5X)", "Android|arm64|rel") |
| 687 | android_try_job("android_arm64_rel") |
| 688 | android_builder("Android64 Builder arm64", "Android|arm64|size", perf_cat = "Android|arm64|Builder|", prioritized = True) |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 689 | perf_builder("Perf Android64 (M Nexus5X)", "Android|arm64|Tester|M Nexus5X", triggered_by = ["Android64 Builder arm64"]) |
| 690 | perf_builder("Perf Android64 (O Pixel2)", "Android|arm64|Tester|O Pixel2", triggered_by = ["Android64 Builder arm64"]) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 691 | android_try_job("android_compile_arm64_rel") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 692 | android_builder("Android64 Builder x64 (dbg)", "Android|x64|dbg") |
| 693 | android_try_job("android_compile_x64_dbg") |
| 694 | android_try_job("android_compile_x64_rel", cq = None) |
| 695 | android_builder("Android32 Builder x86 (dbg)", "Android|x86|dbg") |
| 696 | android_try_job("android_compile_x86_dbg") |
| 697 | android_builder("Android32 Builder x86", "Android|x86|rel") |
| 698 | android_try_job("android_compile_x86_rel") |
Jeremy Leconte | ec86a69 | 2022-02-28 09:09:52 +0100 | [diff] [blame^] | 699 | android_builder("Android32 (more configs)", "Android|arm|more") |
| 700 | android_try_job("android_arm_more_configs") |
Oleh Prypin | 7d1cabe | 2019-03-14 15:10:30 +0100 | [diff] [blame] | 701 | android_try_job("android_chromium_compile", recipe = "chromium_trybot", branch_cq = False) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 702 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 703 | ios_builder("iOS64 Debug", "iOS|arm64|dbg") |
| 704 | ios_try_job("ios_compile_arm64_dbg") |
| 705 | ios_builder("iOS64 Release", "iOS|arm64|rel") |
| 706 | ios_try_job("ios_compile_arm64_rel") |
Artem Titov | 1d47d31 | 2020-11-03 14:45:52 +0100 | [diff] [blame] | 707 | ios_builder("iOS64 Sim Debug (iOS 14.0)", "iOS|x64|14") |
Andrey Logvin | 81320ad | 2021-06-02 16:45:09 +0000 | [diff] [blame] | 708 | ios_try_job("ios_sim_x64_dbg_ios14") |
Artem Titov | 1d47d31 | 2020-11-03 14:45:52 +0100 | [diff] [blame] | 709 | ios_builder("iOS64 Sim Debug (iOS 13)", "iOS|x64|13") |
Andrey Logvin | 81320ad | 2021-06-02 16:45:09 +0000 | [diff] [blame] | 710 | ios_try_job("ios_sim_x64_dbg_ios13") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 711 | ios_builder("iOS64 Sim Debug (iOS 12)", "iOS|x64|12") |
Andrey Logvin | 81320ad | 2021-06-02 16:45:09 +0000 | [diff] [blame] | 712 | ios_try_job("ios_sim_x64_dbg_ios12") |
Mirko Bonadei | a7677a3 | 2021-10-05 08:31:36 +0200 | [diff] [blame] | 713 | ios_builder_macos11("iOS API Framework Builder", "iOS|fat|size", recipe = "ios_api_framework", prioritized = True) |
| 714 | ios_try_job_macos11("ios_api_framework", recipe = "ios_api_framework") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 715 | |
| 716 | linux_builder("Linux32 Debug", "Linux|x86|dbg") |
| 717 | linux_try_job("linux_x86_dbg") |
| 718 | linux_builder("Linux32 Release", "Linux|x86|rel") |
| 719 | linux_try_job("linux_x86_rel") |
| 720 | linux_builder("Linux64 Debug", "Linux|x64|dbg") |
| 721 | linux_try_job("linux_dbg", cq = None) |
| 722 | linux_try_job("linux_compile_dbg") |
| 723 | linux_builder("Linux64 Release", "Linux|x64|rel") |
| 724 | linux_try_job("linux_rel") |
| 725 | linux_builder("Linux64 Builder", "Linux|x64|size", perf_cat = "Linux|x64|Builder|", prioritized = True) |
| 726 | linux_try_job("linux_compile_rel") |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 727 | perf_builder("Perf Linux Trusty", "Linux|x64|Tester|Trusty", triggered_by = ["Linux64 Builder"]) |
| 728 | perf_builder("Perf Linux Bionic", "Linux|x64|Tester|Bionic", triggered_by = ["Linux64 Builder"]) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 729 | linux_builder("Linux32 Debug (ARM)", "Linux|arm|dbg") |
| 730 | linux_try_job("linux_compile_arm_dbg") |
| 731 | linux_builder("Linux32 Release (ARM)", "Linux|arm|rel") |
| 732 | linux_try_job("linux_compile_arm_rel") |
| 733 | linux_builder("Linux64 Debug (ARM)", "Linux|arm64|dbg") |
| 734 | linux_try_job("linux_compile_arm64_dbg") |
| 735 | linux_builder("Linux64 Release (ARM)", "Linux|arm64|rel") |
| 736 | linux_try_job("linux_compile_arm64_rel") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 737 | linux_builder("Linux Asan", "Linux|x64|asan") |
| 738 | linux_try_job("linux_asan") |
| 739 | linux_builder("Linux MSan", "Linux|x64|msan") |
| 740 | linux_try_job("linux_msan") |
| 741 | linux_builder("Linux Tsan v2", "Linux|x64|tsan") |
| 742 | linux_try_job("linux_tsan2") |
| 743 | linux_builder("Linux UBSan", "Linux|x64|ubsan") |
| 744 | linux_try_job("linux_ubsan") |
| 745 | linux_builder("Linux UBSan vptr", "Linux|x64|ubsan") |
| 746 | linux_try_job("linux_ubsan_vptr") |
| 747 | linux_builder("Linux64 Release (Libfuzzer)", "Linux|x64|fuzz", recipe = "libfuzzer") |
| 748 | linux_try_job("linux_libfuzzer_rel", recipe = "libfuzzer") |
Jeremy Leconte | ec86a69 | 2022-02-28 09:09:52 +0100 | [diff] [blame^] | 749 | linux_builder("Linux (more configs)", "Linux|x64|more") |
| 750 | linux_try_job("linux_more_configs") |
Oleh Prypin | 7d1cabe | 2019-03-14 15:10:30 +0100 | [diff] [blame] | 751 | linux_try_job("linux_chromium_compile", recipe = "chromium_trybot", branch_cq = False) |
Mirko Bonadei | 40de50f | 2019-11-07 11:23:47 +0100 | [diff] [blame] | 752 | linux_try_job("linux_chromium_compile_dbg", recipe = "chromium_trybot", branch_cq = False) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 753 | |
| 754 | mac_builder("Mac64 Debug", "Mac|x64|dbg") |
Mirko Bonadei | 36a79c5 | 2021-10-15 19:52:52 +0200 | [diff] [blame] | 755 | mac_try_job("mac_dbg", cq = None) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 756 | mac_try_job("mac_compile_dbg") |
| 757 | mac_builder("Mac64 Release", "Mac|x64|rel") |
Mirko Bonadei | 624568e | 2021-10-15 15:31:57 +0200 | [diff] [blame] | 758 | mac_try_job("mac_rel") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 759 | mac_try_job("mac_compile_rel", cq = None) |
| 760 | mac_builder("Mac64 Builder", ci_cat = None, perf_cat = "Mac|x64|Builder|") |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 761 | perf_builder("Perf Mac 10.11", "Mac|x64|Tester|10.11", triggered_by = ["Mac64 Builder"]) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 762 | mac_builder("Mac Asan", "Mac|x64|asan") |
Andrey Logvin | a950122 | 2021-04-27 18:08:39 +0000 | [diff] [blame] | 763 | mac_try_job("mac_asan") |
Christoffer Jansson | 4a8d1f5 | 2021-12-09 10:16:43 +0100 | [diff] [blame] | 764 | mac_try_job("mac_chromium_compile", recipe = "chromium_trybot", branch_cq = False) |
Jeremy Leconte | 228f54f | 2022-02-23 11:10:33 +0100 | [diff] [blame] | 765 | mac_builder("MacARM64 M1 Release", "Mac|arm64M1|rel", cpu = "arm64-64-Apple_M1") |
Jeremy Leconte | 39fbd00 | 2022-02-22 10:01:14 +0100 | [diff] [blame] | 766 | mac_try_job("mac_rel_m1", try_cat = None, cq = None) |
| 767 | mac_try_job("mac_dbg_m1", try_cat = None, cq = None) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 768 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 769 | win_builder("Win32 Debug (Clang)", "Win Clang|x86|dbg") |
| 770 | win_try_job("win_x86_clang_dbg", cq = None) |
| 771 | win_try_job("win_compile_x86_clang_dbg") |
| 772 | win_builder("Win32 Release (Clang)", "Win Clang|x86|rel") |
| 773 | win_try_job("win_x86_clang_rel") |
| 774 | win_try_job("win_compile_x86_clang_rel", cq = None) |
| 775 | win_builder("Win32 Builder (Clang)", ci_cat = None, perf_cat = "Win|x86|Builder|") |
Jeremy Leconte | 1efa6a1 | 2022-02-23 09:17:12 +0100 | [diff] [blame] | 776 | perf_builder("Perf Win7", "Win|x86|Tester|7", triggered_by = ["Win32 Builder (Clang)"]) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 777 | win_builder("Win64 Debug (Clang)", "Win Clang|x64|dbg") |
| 778 | win_try_job("win_x64_clang_dbg", cq = None) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 779 | win_try_job("win_x64_clang_dbg_win10", cq = None) |
| 780 | win_try_job("win_compile_x64_clang_dbg") |
| 781 | win_builder("Win64 Release (Clang)", "Win Clang|x64|rel") |
| 782 | win_try_job("win_x64_clang_rel", cq = None) |
| 783 | win_try_job("win_compile_x64_clang_rel") |
Mirko Bonadei | afbe33d | 2019-05-31 09:27:54 +0200 | [diff] [blame] | 784 | win_builder("Win64 ASan", "Win Clang|x64|asan") |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 785 | win_try_job("win_asan") |
Jeremy Leconte | ec86a69 | 2022-02-28 09:09:52 +0100 | [diff] [blame^] | 786 | win_builder("Win (more configs)", "Win Clang|x86|more") |
| 787 | win_try_job("win_x86_more_configs") |
Mirko Bonadei | 825f9c2 | 2020-07-01 11:52:39 +0200 | [diff] [blame] | 788 | win_try_job("win_chromium_compile", recipe = "chromium_trybot", branch_cq = False, goma_jobs = 150) |
| 789 | win_try_job("win_chromium_compile_dbg", recipe = "chromium_trybot", branch_cq = False, goma_jobs = 150) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 790 | |
| 791 | linux_try_job( |
| 792 | "presubmit", |
| 793 | recipe = "run_presubmit", |
| 794 | properties = {"repo_name": "webrtc", "runhooks": True}, |
| 795 | priority = 28, |
| 796 | cq = {"disable_reuse": True}, |
| 797 | ) |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 798 | |
| 799 | cron_builder( |
| 800 | "Auto-roll - WebRTC DEPS", |
| 801 | recipe = "auto_roll_webrtc_deps", |
Oleh Prypin | dc68a72 | 2019-06-25 10:43:13 +0200 | [diff] [blame] | 802 | schedule = "0 */2 * * *", # Every 2 hours. |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 803 | ) |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 804 | |
Mirko Bonadei | 54bbd1c | 2020-12-14 15:54:46 +0100 | [diff] [blame] | 805 | cron_builder( |
| 806 | "WebRTC version update", |
| 807 | recipe = "update_webrtc_binary_version", |
| 808 | schedule = "0 4 * * *", # Every day at 4am. |
| 809 | service_account = "webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com", |
| 810 | ) |
| 811 | |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 812 | lkgr_config = { |
| 813 | "project": "webrtc", |
| 814 | "source_url": WEBRTC_GIT, |
| 815 | "status_url": "https://webrtc-status.appspot.com", |
Christoffer Jansson | 7593804 | 2021-10-21 16:56:34 +0200 | [diff] [blame] | 816 | "allowed_lag": 150, # hours |
| 817 | "allowed_gap": 4, # commits behind |
Mirko Bonadei | f4b78bf | 2021-04-29 11:23:41 +0200 | [diff] [blame] | 818 | "error_recipients": WEBRTC_TROOPER_EMAIL, |
Michael Achenbach | 09dd7dc | 2019-07-26 15:26:11 +0200 | [diff] [blame] | 819 | "buckets": { |
| 820 | "webrtc/ci": { |
| 821 | # bucket alias: luci.webrtc.ci |
Mirko Bonadei | ab3ff26 | 2020-12-18 10:17:43 +0100 | [diff] [blame] | 822 | "builders": [ |
| 823 | b |
| 824 | for b in sorted(lkgr_builders) |
| 825 | if b not in skipped_lkgr_bots |
| 826 | ], |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 827 | }, |
Michael Achenbach | 09dd7dc | 2019-07-26 15:26:11 +0200 | [diff] [blame] | 828 | "chromium/webrtc.fyi": { |
| 829 | # bucket alias: luci.chromium.webrtc.fyi |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 830 | "builders": [ |
| 831 | "WebRTC Chromium FYI Android Builder (dbg)", |
| 832 | "WebRTC Chromium FYI Android Builder ARM64 (dbg)", |
| 833 | "WebRTC Chromium FYI Android Builder", |
Mirko Bonadei | dbda38f | 2022-01-24 13:16:58 +0100 | [diff] [blame] | 834 | "WebRTC Chromium FYI Android Tests (dbg) (M Nexus5X)", |
| 835 | "WebRTC Chromium FYI Android Tests (dbg) (N Nexus5X)", |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 836 | "WebRTC Chromium FYI Linux Builder (dbg)", |
| 837 | "WebRTC Chromium FYI Linux Builder", |
Mirko Bonadei | dbda38f | 2022-01-24 13:16:58 +0100 | [diff] [blame] | 838 | "WebRTC Chromium FYI Linux Tester", |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 839 | "WebRTC Chromium FYI Mac Builder (dbg)", |
| 840 | "WebRTC Chromium FYI Mac Builder", |
Mirko Bonadei | dbda38f | 2022-01-24 13:16:58 +0100 | [diff] [blame] | 841 | "WebRTC Chromium FYI Mac Tester", |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 842 | "WebRTC Chromium FYI Win Builder (dbg)", |
Andrey Logvin | 7228ba1 | 2021-09-15 17:59:21 +0000 | [diff] [blame] | 843 | "WebRTC Chromium FYI Win Builder", |
Mirko Bonadei | dbda38f | 2022-01-24 13:16:58 +0100 | [diff] [blame] | 844 | "WebRTC Chromium FYI Win10 Tester", |
| 845 | "WebRTC Chromium FYI Win7 Tester", |
Mirko Bonadei | 2f05cfe | 2020-11-25 10:41:58 +0100 | [diff] [blame] | 846 | "WebRTC Chromium FYI ios-device", |
Björn Terelius | c20ed6b | 2021-06-21 14:31:35 +0200 | [diff] [blame] | 847 | "WebRTC Chromium FYI ios-simulator", |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 848 | ], |
| 849 | }, |
| 850 | }, |
| 851 | } |
| 852 | |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 853 | cron_builder( |
| 854 | "WebRTC lkgr finder", |
| 855 | recipe = "lkgr_finder", |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 856 | properties = { |
| 857 | "project": "webrtc", |
| 858 | "repo": WEBRTC_GIT, |
| 859 | "ref": "refs/heads/lkgr", |
Christoffer Jansson | e9fcc7b | 2021-06-29 13:02:15 +0200 | [diff] [blame] | 860 | "src_ref": "refs/heads/main", |
Oleh Prypin | 8f0dc31 | 2019-05-31 15:54:35 +0200 | [diff] [blame] | 861 | "lkgr_status_gs_path": "chromium-webrtc/lkgr-status", |
| 862 | "config": lkgr_config, |
| 863 | }, |
Oleh Prypin | 1a0593f | 2019-03-11 09:43:28 +0100 | [diff] [blame] | 864 | schedule = "*/10 * * * *", # Every 10 minutes. |
| 865 | ) |