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 | |
| 7 | # https://chromium.googlesource.com/infra/luci/luci-go/+/master/lucicfg/doc/ |
| 8 | |
| 9 | WEBRTC_GIT = "https://webrtc.googlesource.com/src" |
| 10 | WEBRTC_GERRIT = "https://webrtc-review.googlesource.com/src" |
| 11 | |
| 12 | # Top-level configs: |
| 13 | |
| 14 | lucicfg.config( |
| 15 | config_dir = ".", |
| 16 | tracked_files = [ |
| 17 | "commit-queue.cfg", |
| 18 | "cr-buildbucket.cfg", |
| 19 | "luci-logdog.cfg", |
| 20 | "luci-milo.cfg", |
| 21 | "luci-scheduler.cfg", |
| 22 | "project.cfg", |
| 23 | ], |
| 24 | ) |
| 25 | |
| 26 | luci.project( |
| 27 | name = "webrtc", |
| 28 | buildbucket = "cr-buildbucket.appspot.com", |
| 29 | logdog = "luci-logdog.appspot.com", |
| 30 | milo = "luci-milo.appspot.com", |
| 31 | scheduler = "luci-scheduler.appspot.com", |
| 32 | swarming = "chromium-swarm.appspot.com", |
| 33 | acls = [ |
| 34 | acl.entry( |
| 35 | [acl.BUILDBUCKET_READER, acl.LOGDOG_READER, acl.PROJECT_CONFIGS_READER, acl.SCHEDULER_READER], |
| 36 | groups = ["all"], |
| 37 | ), |
| 38 | acl.entry(acl.LOGDOG_WRITER, groups = ["luci-logdog-chromium-writers"]), |
| 39 | acl.entry(acl.SCHEDULER_OWNER, groups = ["project-webrtc-admins"]), |
| 40 | ], |
| 41 | ) |
| 42 | |
| 43 | luci.logdog( |
| 44 | gs_bucket = "chromium-luci-logdog", |
| 45 | ) |
| 46 | |
| 47 | luci.milo( |
| 48 | logo = "https://storage.googleapis.com/chrome-infra/webrtc-logo-vert-retro-255x305.png", |
| 49 | ) |
| 50 | |
| 51 | luci.cq( |
| 52 | status_host = "chromium-cq-status.appspot.com", |
| 53 | submit_max_burst = 1, |
| 54 | submit_burst_delay = 1 * time.minute, |
| 55 | ) |
| 56 | |
| 57 | luci.gitiles_poller( |
| 58 | name = "webrtc-gitiles-trigger-master", |
| 59 | bucket = "ci", |
| 60 | repo = WEBRTC_GIT, |
| 61 | ) |
| 62 | |
| 63 | # Bucket definitions: |
| 64 | |
| 65 | luci.bucket( |
| 66 | name = "try", |
| 67 | acls = [ |
| 68 | acl.entry(acl.BUILDBUCKET_TRIGGERER, groups = [ |
| 69 | "service-account-cq", |
| 70 | "project-webrtc-tryjob-access", |
| 71 | ]), |
| 72 | ], |
| 73 | ) |
| 74 | |
| 75 | luci.bucket( |
| 76 | name = "ci", |
| 77 | acls = [ |
| 78 | acl.entry(acl.BUILDBUCKET_TRIGGERER, users = [ |
| 79 | "luci-scheduler@appspot.gserviceaccount.com", |
| 80 | ]), |
| 81 | ], |
| 82 | ) |
| 83 | |
| 84 | luci.bucket( |
| 85 | name = "perf", |
| 86 | acls = [ |
| 87 | acl.entry(acl.BUILDBUCKET_TRIGGERER, users = [ |
| 88 | "luci-scheduler@appspot.gserviceaccount.com", |
| 89 | "webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com", |
| 90 | ]), |
| 91 | ], |
| 92 | ) |
| 93 | |
| 94 | luci.bucket( |
| 95 | name = "cron", |
| 96 | acls = [ |
| 97 | acl.entry(acl.BUILDBUCKET_TRIGGERER, users = [ |
| 98 | "luci-scheduler@appspot.gserviceaccount.com", |
| 99 | ]), |
| 100 | ], |
| 101 | ) |
| 102 | |
| 103 | # Commit queue definitions: |
| 104 | |
| 105 | luci.cq_group( |
| 106 | name = "cq", |
| 107 | tree_status_host = "webrtc-status.appspot.com", |
| 108 | watch = [cq.refset( |
| 109 | repo = WEBRTC_GERRIT, |
| 110 | refs = ["refs/heads/master", "refs/branch-heads/.+"], |
| 111 | )], |
| 112 | acls = [ |
| 113 | acl.entry(acl.CQ_COMMITTER, groups = ["project-webrtc-committers"]), |
| 114 | acl.entry(acl.CQ_DRY_RUNNER, groups = ["project-webrtc-tryjob-access"]), |
| 115 | ], |
| 116 | retry_config = cq.RETRY_ALL_FAILURES, |
| 117 | ) |
| 118 | |
| 119 | luci.cq_group( |
| 120 | name = "infra_cq", |
| 121 | watch = [cq.refset( |
| 122 | repo = WEBRTC_GERRIT, |
| 123 | refs = ["refs/heads/infra/config"], |
| 124 | )], |
| 125 | acls = [ |
| 126 | acl.entry(acl.CQ_COMMITTER, groups = ["project-webrtc-admins"]), |
| 127 | acl.entry(acl.CQ_DRY_RUNNER, groups = ["project-webrtc-tryjob-access"]), |
| 128 | ], |
| 129 | retry_config = cq.RETRY_ALL_FAILURES, |
| 130 | ) |
| 131 | |
| 132 | luci.cq_tryjob_verifier( |
| 133 | builder = "presubmit", |
| 134 | cq_group = "infra_cq", |
| 135 | ) |
| 136 | |
| 137 | # Recipe definitions: |
| 138 | |
| 139 | def recipe(recipe, pkg = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"): |
| 140 | return luci.recipe( |
| 141 | name = recipe.split("/")[-1], |
| 142 | cipd_package = pkg, |
| 143 | cipd_version = "refs/heads/master", |
| 144 | recipe = recipe, |
| 145 | ) |
| 146 | |
| 147 | recipe("chromium_trybot") |
| 148 | recipe("run_presubmit") |
| 149 | recipe("webrtc/auto_roll_webrtc_deps") |
| 150 | recipe("webrtc/ios") |
| 151 | recipe("webrtc/ios_api_framework") |
| 152 | recipe("webrtc/libfuzzer") |
| 153 | recipe("webrtc/more_configs") |
| 154 | recipe("webrtc/noop") |
| 155 | recipe("webrtc/standalone") |
| 156 | recipe("lkgr_finder", pkg = "infra/recipe_bundles/chromium.googlesource.com/infra/infra") |
| 157 | |
| 158 | # Console definitions: |
| 159 | |
| 160 | luci.console_view(name = "ci", title = "Main", repo = WEBRTC_GIT, header = "console-header.textpb") |
| 161 | luci.console_view(name = "perf", title = "Perf", repo = WEBRTC_GIT, header = "console-header.textpb") |
| 162 | luci.list_view(name = "cron", title = "Cron") |
| 163 | luci.console_view(name = "fyi", title = "FYI", repo = WEBRTC_GIT, header = "console-header.textpb") |
| 164 | luci.list_view(name = "try", title = "Tryserver") |
| 165 | |
| 166 | def add_milo(builder, views): |
| 167 | """Add Milo console entries for the builder. |
| 168 | |
| 169 | Args: |
| 170 | builder: builder name (str). |
| 171 | views: dict where keys are names of consoles and values are either a |
| 172 | category for the console (str, pipe-separated) or True, which means |
| 173 | adding to a list view rather than a console. |
| 174 | """ |
| 175 | for view_name, category in views.items(): |
| 176 | if category == None: |
| 177 | continue |
| 178 | elif type(category) == "string": |
| 179 | category, _, short_name = category.rpartition("|") |
| 180 | luci.console_view_entry( |
| 181 | console_view = view_name, |
| 182 | builder = builder, |
| 183 | category = category or None, |
| 184 | short_name = short_name or None, |
| 185 | ) |
| 186 | elif category == True: |
| 187 | luci.list_view_entry( |
| 188 | list_view = view_name, |
| 189 | builder = builder, |
| 190 | ) |
| 191 | else: |
| 192 | fail("Unexpected value for category: %r" % category) |
| 193 | |
| 194 | # Builder-defining functions: |
| 195 | |
| 196 | def webrtc_builder(name, recipe = "standalone", dimensions = {}, priority = 30, **kwargs): |
| 197 | dimensions = merge_dicts({"cpu": "x86-64"}, dimensions) |
| 198 | |
| 199 | return luci.builder( |
| 200 | name = name, |
| 201 | recipe = recipe, |
| 202 | dimensions = {k: v for k, v in dimensions.items() if v != None}, |
| 203 | execution_timeout = 2 * time.hour, |
| 204 | priority = priority, |
| 205 | build_numbers = True, |
| 206 | swarming_tags = ["vpython:native-python-wrapper"], |
| 207 | **kwargs |
| 208 | ) |
| 209 | |
| 210 | def ci_builder( |
| 211 | name, |
| 212 | ci_cat, |
| 213 | perf_cat = None, |
| 214 | fyi_cat = None, |
| 215 | properties = {}, |
| 216 | dimensions = {}, |
| 217 | prioritized = False, |
| 218 | **kwargs): |
| 219 | if prioritized: |
| 220 | kwargs["triggering_policy"] = scheduler.greedy_batching( |
| 221 | max_batch_size = 1, |
| 222 | max_concurrent_invocations = 3, |
| 223 | ) |
| 224 | kwargs["priority"] = 29 |
| 225 | |
| 226 | add_milo(name, {"ci": ci_cat, "perf": perf_cat, "fyi": fyi_cat}) |
| 227 | return webrtc_builder( |
| 228 | name = name, |
| 229 | properties = merge_dicts({"mastername": "client.webrtc"}, properties), |
| 230 | dimensions = merge_dicts({"pool": "luci.webrtc.ci"}, dimensions), |
| 231 | bucket = "ci", |
| 232 | service_account = "webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com", |
| 233 | triggered_by = ["webrtc-gitiles-trigger-master"], |
| 234 | **kwargs |
| 235 | ) |
| 236 | |
| 237 | def try_builder( |
| 238 | name, |
| 239 | try_cat = True, |
| 240 | fyi_cat = None, |
| 241 | properties = {}, |
| 242 | dimensions = {}, |
| 243 | cq = {}, |
| 244 | **kwargs): |
| 245 | add_milo(name, {"try": try_cat, "fyi": fyi_cat}) |
| 246 | if cq != None: |
| 247 | luci.cq_tryjob_verifier( |
| 248 | builder = name, |
| 249 | cq_group = "cq", |
| 250 | **cq |
| 251 | ) |
| 252 | |
| 253 | return webrtc_builder( |
| 254 | name = name, |
| 255 | properties = merge_dicts({"mastername": "tryserver.webrtc"}, properties), |
| 256 | dimensions = merge_dicts({"pool": "luci.webrtc.try"}, dimensions), |
| 257 | bucket = "try", |
| 258 | service_account = "webrtc-try-builder@chops-service-accounts.iam.gserviceaccount.com", |
| 259 | **kwargs |
| 260 | ) |
| 261 | |
| 262 | def perf_builder( |
| 263 | name, |
| 264 | perf_cat, |
| 265 | recipe = "standalone", |
| 266 | properties = {}, |
| 267 | dimensions = {}, |
| 268 | **kwargs): |
| 269 | add_milo(name, {"perf": perf_cat}) |
| 270 | return webrtc_builder( |
| 271 | name = name, |
| 272 | recipe = recipe, |
| 273 | properties = merge_dicts({"mastername": "client.webrtc.perf"}, properties), |
| 274 | dimensions = merge_dicts({"pool": "luci.webrtc.perf", "os": "Linux", "cpu": None}, dimensions), |
| 275 | bucket = "perf", |
| 276 | service_account = "webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com", |
| 277 | # log_base of 1.7 means: |
| 278 | # when there are P pending builds, LUCI will batch the first B builds. |
| 279 | # P: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... |
| 280 | # B: 1 1 2 2 3 3 3 3 4 4 4 4 4 4 5 ... |
| 281 | triggering_policy = scheduler.logarithmic_batching(log_base = 17 / 10), |
| 282 | **kwargs |
| 283 | ) |
| 284 | |
| 285 | def cron_builder(name, dimensions = {}, **kwargs): |
| 286 | add_milo(name, {"cron": True}) |
| 287 | return webrtc_builder( |
| 288 | name = name, |
| 289 | dimensions = merge_dicts({"pool": "luci.webrtc.cron", "os": "Linux"}, dimensions), |
| 290 | bucket = "cron", |
| 291 | service_account = "chromium-webrtc-autoroll@webrtc-ci.iam.gserviceaccount.com", |
| 292 | **kwargs |
| 293 | ) |
| 294 | |
| 295 | # Helpers: |
| 296 | |
| 297 | def merge_dicts(a, b): |
| 298 | """Return the result of merging two dicts. |
| 299 | |
| 300 | If matching values are both dicts or both lists, they will be merged (non-recursively). |
| 301 | |
| 302 | Args: |
| 303 | a: first dict. |
| 304 | b: second dict (takes priority). |
| 305 | Returns: |
| 306 | Merged dict. |
| 307 | """ |
| 308 | a = dict(a) |
| 309 | for k, bv in b.items(): |
| 310 | av = a.get(k) |
| 311 | if type(av) == "dict" and type(bv) == "dict": |
| 312 | a[k] = dict(av) |
| 313 | a[k].update(bv) |
| 314 | elif type(av) == "list" and type(bv) == "list": |
| 315 | a[k] = av + bv |
| 316 | else: |
| 317 | a[k] = bv |
| 318 | return a |
| 319 | |
| 320 | def normal_builder_factory(**common_kwargs): |
| 321 | def builder(*args, **kwargs): |
| 322 | return ci_builder(*args, **merge_dicts(common_kwargs, kwargs)) |
| 323 | |
| 324 | def try_job(*args, **kwargs): |
| 325 | return try_builder(*args, **merge_dicts(common_kwargs, kwargs)) |
| 326 | |
| 327 | return builder, try_job |
| 328 | |
| 329 | # Mixins: |
| 330 | |
| 331 | linux_builder, linux_try_job = normal_builder_factory( |
| 332 | dimensions = {"os": "Linux", "inside_docker": "0"}, |
| 333 | ) |
| 334 | |
| 335 | android_builder, android_try_job = normal_builder_factory( |
| 336 | dimensions = {"os": "Linux"}, |
| 337 | ) |
| 338 | |
| 339 | win_builder, win_try_job = normal_builder_factory( |
| 340 | dimensions = {"os": "Windows"}, |
| 341 | ) |
| 342 | |
| 343 | mac_builder, mac_try_job = normal_builder_factory( |
| 344 | dimensions = {"os": "Mac"}, |
| 345 | ) |
| 346 | |
| 347 | ios_builder, ios_try_job = normal_builder_factory( |
| 348 | dimensions = {"os": "Mac-10.13"}, |
| 349 | recipe = "ios", |
| 350 | properties = {"$depot_tools/osx_sdk": {"sdk_version": "10l232m"}}, |
| 351 | caches = [swarming.cache("osx_sdk")], |
| 352 | ) |
| 353 | |
| 354 | # Actual builder configuration: |
| 355 | |
| 356 | android_builder("Android32 (M Nexus5X)(dbg)", "Android|arm|dbg") |
| 357 | android_try_job("android_compile_arm_dbg", cq = None) |
| 358 | android_try_job("android_arm_dbg") |
| 359 | android_builder("Android32 (M Nexus5X)", "Android|arm|rel") |
| 360 | android_try_job("android_arm_rel") |
| 361 | android_builder("Android32 Builder arm", "Android|arm|size", perf_cat = "Android|arm|Builder|", prioritized = True) |
| 362 | android_try_job("android_compile_arm_rel") |
| 363 | perf_builder("Perf Android32 (L Nexus4)", "Android|arm|Tester|L Nexus4", triggered_by = ["Android32 Builder arm"]) |
| 364 | perf_builder("Perf Android32 (K Nexus5)", "Android|arm|Tester|K Nexus5", triggered_by = ["Android32 Builder arm"]) |
| 365 | perf_builder("Perf Android32 (L Nexus5)", "Android|arm|Tester|L Nexus5", triggered_by = ["Android32 Builder arm"]) |
| 366 | perf_builder("Perf Android32 (L Nexus6)", "Android|arm|Tester|L Nexus6", triggered_by = ["Android32 Builder arm"]) |
| 367 | perf_builder("Perf Android32 (L Nexus7.2)", "Android|arm|Tester|L Nexus7.2", triggered_by = ["Android32 Builder arm"]) |
| 368 | perf_builder("Perf Android32 (N Nexus6)", "Android|arm|Tester|N Nexus6", triggered_by = ["Android32 Builder arm"]) |
| 369 | android_builder("Android64 (M Nexus5X)(dbg)", "Android|arm64|dbg") |
| 370 | android_try_job("android_compile_arm64_dbg", cq = None) |
| 371 | android_try_job("android_arm64_dbg", cq = None) |
| 372 | android_builder("Android64 (M Nexus5X)", "Android|arm64|rel") |
| 373 | android_try_job("android_arm64_rel") |
| 374 | android_builder("Android64 Builder arm64", "Android|arm64|size", perf_cat = "Android|arm64|Builder|", prioritized = True) |
| 375 | android_try_job("android_compile_arm64_rel") |
| 376 | perf_builder("Perf Android64 (L Nexus9)", "Android|arm64|Tester|L Nexus9", triggered_by = ["Android64 Builder arm64"]) |
| 377 | perf_builder("Perf Android64 (N Pixel)", "Android|arm64|Tester|N Pixel", triggered_by = ["Android64 Builder arm64"]) |
| 378 | android_builder("Android64 Builder x64 (dbg)", "Android|x64|dbg") |
| 379 | android_try_job("android_compile_x64_dbg") |
| 380 | android_try_job("android_compile_x64_rel", cq = None) |
| 381 | android_builder("Android32 Builder x86 (dbg)", "Android|x86|dbg") |
| 382 | android_try_job("android_compile_x86_dbg") |
| 383 | android_builder("Android32 Builder x86", "Android|x86|rel") |
| 384 | android_try_job("android_compile_x86_rel") |
| 385 | android_builder("Android32 (more configs)", "Android|arm|more", recipe = "more_configs") |
| 386 | android_try_job("android_arm_more_configs", recipe = "more_configs") |
| 387 | android_try_job("android_chromium_compile", recipe = "chromium_trybot") |
| 388 | |
| 389 | ios_builder("iOS32 Debug", "iOS|arm|dbg") |
| 390 | ios_try_job("ios_compile_arm_dbg") |
| 391 | ios_builder("iOS32 Release", "iOS|arm|rel") |
| 392 | ios_try_job("ios_compile_arm_rel") |
| 393 | ios_builder("iOS64 Debug", "iOS|arm64|dbg") |
| 394 | ios_try_job("ios_compile_arm64_dbg") |
| 395 | ios_builder("iOS64 Release", "iOS|arm64|rel") |
| 396 | ios_try_job("ios_compile_arm64_rel") |
| 397 | ios_builder("iOS64 Sim Debug (iOS 10.0)", "iOS|x64|10") |
| 398 | ios_try_job("ios_sim_x64_dbg_ios10") |
| 399 | ios_builder("iOS64 Sim Debug (iOS 11)", "iOS|x64|11") |
| 400 | ios_try_job("ios_sim_x64_dbg_ios11") |
| 401 | ios_builder("iOS64 Sim Debug (iOS 12)", "iOS|x64|12") |
| 402 | ios_try_job("ios_sim_x64_dbg_ios12") |
| 403 | ios_builder("iOS API Framework Builder", "iOS|fat|size", recipe = "ios_api_framework", prioritized = True) |
| 404 | ios_try_job("ios_api_framework", recipe = "ios_api_framework") |
| 405 | |
| 406 | linux_builder("Linux32 Debug", "Linux|x86|dbg") |
| 407 | linux_try_job("linux_x86_dbg") |
| 408 | linux_builder("Linux32 Release", "Linux|x86|rel") |
| 409 | linux_try_job("linux_x86_rel") |
| 410 | linux_builder("Linux64 Debug", "Linux|x64|dbg") |
| 411 | linux_try_job("linux_dbg", cq = None) |
| 412 | linux_try_job("linux_compile_dbg") |
| 413 | linux_builder("Linux64 Release", "Linux|x64|rel") |
| 414 | linux_try_job("linux_rel") |
| 415 | linux_builder("Linux64 Builder", "Linux|x64|size", perf_cat = "Linux|x64|Builder|", prioritized = True) |
| 416 | linux_try_job("linux_compile_rel") |
| 417 | perf_builder("Perf Linux Trusty", "Linux|x64|Tester|Trusty", triggered_by = ["Linux64 Builder"]) |
| 418 | linux_builder("Linux32 Debug (ARM)", "Linux|arm|dbg") |
| 419 | linux_try_job("linux_compile_arm_dbg") |
| 420 | linux_builder("Linux32 Release (ARM)", "Linux|arm|rel") |
| 421 | linux_try_job("linux_compile_arm_rel") |
| 422 | linux_builder("Linux64 Debug (ARM)", "Linux|arm64|dbg") |
| 423 | linux_try_job("linux_compile_arm64_dbg") |
| 424 | linux_builder("Linux64 Release (ARM)", "Linux|arm64|rel") |
| 425 | linux_try_job("linux_compile_arm64_rel") |
| 426 | linux_builder("Linux64 Release (GCC)", "Linux|x64|gcc") |
| 427 | linux_try_job("linux_compile_gcc_rel") |
| 428 | linux_builder("Linux Asan", "Linux|x64|asan") |
| 429 | linux_try_job("linux_asan") |
| 430 | linux_builder("Linux MSan", "Linux|x64|msan") |
| 431 | linux_try_job("linux_msan") |
| 432 | linux_builder("Linux Tsan v2", "Linux|x64|tsan") |
| 433 | linux_try_job("linux_tsan2") |
| 434 | linux_builder("Linux UBSan", "Linux|x64|ubsan") |
| 435 | linux_try_job("linux_ubsan") |
| 436 | linux_builder("Linux UBSan vptr", "Linux|x64|ubsan") |
| 437 | linux_try_job("linux_ubsan_vptr") |
| 438 | linux_builder("Linux64 Release (Libfuzzer)", "Linux|x64|fuzz", recipe = "libfuzzer") |
| 439 | linux_try_job("linux_libfuzzer_rel", recipe = "libfuzzer") |
| 440 | linux_builder("Linux (more configs)", "Linux|x64|more", recipe = "more_configs") |
| 441 | linux_try_job("linux_more_configs", recipe = "more_configs") |
| 442 | linux_try_job("linux_chromium_compile", recipe = "chromium_trybot") |
| 443 | |
| 444 | mac_builder("Mac64 Debug", "Mac|x64|dbg") |
| 445 | mac_try_job("mac_dbg", cq = None) |
| 446 | mac_try_job("mac_compile_dbg") |
| 447 | mac_builder("Mac64 Release", "Mac|x64|rel") |
| 448 | mac_try_job("mac_rel") |
| 449 | mac_try_job("mac_compile_rel", cq = None) |
| 450 | mac_builder("Mac64 Builder", ci_cat = None, perf_cat = "Mac|x64|Builder|") |
| 451 | perf_builder("Perf Mac 10.11", "Mac|x64|Tester|10.11", triggered_by = ["Mac64 Builder"]) |
| 452 | mac_builder("Mac Asan", "Mac|x64|asan") |
| 453 | mac_try_job("mac_asan") |
| 454 | mac_try_job("mac_chromium_compile", recipe = "chromium_trybot", dimensions = {"cores": "8"}) |
| 455 | |
| 456 | win_builder("Win32 Debug", "Win MSVC|x86|dbg") |
| 457 | win_try_job("win_x86_msvc_dbg") |
| 458 | win_try_job("win_compile_x86_msvc_dbg", cq = None) |
| 459 | win_builder("Win32 Release", "Win MSVC|x86|rel") |
| 460 | win_try_job("win_x86_msvc_rel") |
| 461 | win_try_job("win_compile_x86_msvc_rel", cq = None) |
| 462 | win_builder("Win64 Debug", "Win MSVC|x64|dbg") |
| 463 | win_try_job("win_x64_msvc_dbg") |
| 464 | win_try_job("win_compile_x64_msvc_dbg", cq = None) |
| 465 | win_builder("Win64 Release", "Win MSVC|x64|rel") |
| 466 | win_try_job("win_x64_msvc_rel") |
| 467 | win_try_job("win_compile_x64_msvc_rel", cq = None) |
| 468 | win_builder("Win32 Debug (Clang)", "Win Clang|x86|dbg") |
| 469 | win_try_job("win_x86_clang_dbg", cq = None) |
| 470 | win_try_job("win_compile_x86_clang_dbg") |
| 471 | win_builder("Win32 Release (Clang)", "Win Clang|x86|rel") |
| 472 | win_try_job("win_x86_clang_rel") |
| 473 | win_try_job("win_compile_x86_clang_rel", cq = None) |
| 474 | win_builder("Win32 Builder (Clang)", ci_cat = None, perf_cat = "Win|x86|Builder|") |
| 475 | perf_builder("Perf Win7", "Win|x86|Tester|7", triggered_by = ["Win32 Builder (Clang)"]) |
| 476 | win_builder("Win64 Debug (Clang)", "Win Clang|x64|dbg") |
| 477 | win_try_job("win_x64_clang_dbg", cq = None) |
| 478 | win_try_job("win_x64_clang_dbg_win8", cq = None) |
| 479 | win_try_job("win_x64_clang_dbg_win10", cq = None) |
| 480 | win_try_job("win_compile_x64_clang_dbg") |
| 481 | win_builder("Win64 Release (Clang)", "Win Clang|x64|rel") |
| 482 | win_try_job("win_x64_clang_rel", cq = None) |
| 483 | win_try_job("win_compile_x64_clang_rel") |
| 484 | win_builder("Win32 ASan", "Win Clang|x86|asan") |
| 485 | win_try_job("win_asan") |
| 486 | win_builder("Win64 UWP", ci_cat = None, fyi_cat = "") |
| 487 | win_try_job("win_x64_uwp", cq = None, try_cat = None, fyi_cat = "") |
| 488 | win_builder("Win (more configs)", "Win Clang|x86|more", recipe = "more_configs") |
| 489 | win_try_job("win_x86_more_configs", recipe = "more_configs") |
| 490 | win_try_job("win_chromium_compile", recipe = "chromium_trybot") |
| 491 | |
| 492 | linux_try_job( |
| 493 | "presubmit", |
| 494 | recipe = "run_presubmit", |
| 495 | properties = {"repo_name": "webrtc", "runhooks": True}, |
| 496 | priority = 28, |
| 497 | cq = {"disable_reuse": True}, |
| 498 | ) |
| 499 | linux_try_job("noop", recipe = "noop", cq = { |
| 500 | "equivalent_builder": "external/*/g3.webrtc-internal.try/internal_compile_lite", |
| 501 | "equivalent_builder_percentage": 100, |
| 502 | "equivalent_builder_whitelist": "project-webrtc-internal-tryjob-access", |
| 503 | }) |
| 504 | |
| 505 | cron_builder( |
| 506 | "Auto-roll - WebRTC DEPS", |
| 507 | recipe = "auto_roll_webrtc_deps", |
| 508 | schedule = "0 */1 * * *", # Hourly. |
| 509 | ) |
| 510 | cron_builder( |
| 511 | "WebRTC lkgr finder", |
| 512 | recipe = "lkgr_finder", |
| 513 | properties = {"lkgr_project": "webrtc", "allowed_lag": 4}, |
| 514 | schedule = "*/10 * * * *", # Every 10 minutes. |
| 515 | ) |