1#!/usr/bin/env lucicfg 2 3# Enable LUCI Realms support. 4lucicfg.enable_experiment("crbug.com/1085650") 5 6luci.project( 7 name = "swiftshader", 8 acls = [ 9 acl.entry( 10 acl.PROJECT_CONFIGS_READER, 11 groups = "all", 12 ), 13 ], 14) 15 16luci.cq_group( 17 name = "SwiftShader-CQ", 18 watch = cq.refset( 19 repo = "https://swiftshader.googlesource.com/SwiftShader", 20 refs = ["refs/heads/master"], 21 ), 22 acls = [ 23 # Committers gonna commit. 24 acl.entry( 25 acl.CQ_COMMITTER, 26 groups = "project-swiftshader-committers", 27 ), 28 # Ability to launch CQ dry runs manually. 29 acl.entry( 30 acl.CQ_DRY_RUNNER, 31 groups = "project-swiftshader-tryjob-access", 32 ), 33 # Ability to automatically trigger new patchset runs on CV. 34 acl.entry( 35 roles = acl.CQ_NEW_PATCHSET_RUN_TRIGGERER, 36 groups = "project-swiftshader-tryjob-access", 37 ), 38 ], 39 verifiers = [ 40 luci.cq_tryjob_verifier( 41 builder = "chromium:try/linux-swangle-try-tot-swiftshader-x64", 42 mode_allowlist = [cq.MODE_DRY_RUN, cq.MODE_FULL_RUN, cq.MODE_NEW_PATCHSET_RUN], 43 ), 44 luci.cq_tryjob_verifier( 45 builder = "chromium:try/win-swangle-try-tot-swiftshader-x86", 46 mode_allowlist = [cq.MODE_DRY_RUN, cq.MODE_FULL_RUN, cq.MODE_NEW_PATCHSET_RUN], 47 ), 48 luci.cq_tryjob_verifier( 49 builder = "chromium:try/win-swangle-try-tot-swiftshader-x64", 50 mode_allowlist = [cq.MODE_DRY_RUN, cq.MODE_FULL_RUN, cq.MODE_NEW_PATCHSET_RUN], 51 ), 52 ], 53) 54 55luci.cq( 56 status_host = "chromium-cq-status.appspot.com", 57) 58