1# Defines buckets on cr-buildbucket.appspot.com, used to schedule builds 2# on buildbot. In particular, CQ uses some of these buckets to schedule tryjobs. 3# 4# See http://luci-config.appspot.com/schemas/projects:cr-buildbucket.cfg for 5# schema of this file and documentation. 6# 7# Please keep this list sorted by bucket name. 8 9acl_sets { 10 name: "ci" 11 acls { 12 role: READER 13 group: "all" 14 } 15 acls { 16 role: SCHEDULER 17 identity: "luci-scheduler@appspot.gserviceaccount.com" 18 } 19} 20 21acl_sets { 22 name: "try" 23 acls { 24 role: READER 25 group: "all" 26 } 27 acls { 28 role: SCHEDULER 29 group: "project-dawn-tryjob-access" 30 } 31 acls { 32 role: SCHEDULER 33 group: "service-account-cq" 34 } 35} 36 37builder_mixins { 38 name: "clang" 39 recipe { 40 properties_j: "clang:true" 41 } 42} 43builder_mixins { 44 name: "no_clang" 45 recipe { 46 properties_j: "clang:false" 47 } 48} 49builder_mixins { 50 name: "release" 51 recipe { 52 properties_j: "debug:false" 53 } 54} 55builder_mixins { 56 name: "debug" 57 recipe { 58 properties_j: "debug:true" 59 } 60} 61builder_mixins { 62 name: "x86" 63 recipe { 64 properties: "target_cpu:x86" 65 } 66} 67builder_mixins { 68 name: "x64" 69 recipe { 70 properties: "target_cpu:x64" 71 } 72} 73builder_mixins { 74 name: "mac" 75 dimensions: "os:Mac-10.13" 76 caches: { # cache for depot_tools.osx_sdk recipe module 77 name: "osx_sdk" 78 path: "osx_sdk" 79 } 80} 81 82buckets { 83 name: "luci.dawn.ci" 84 acl_sets: "ci" 85 86 swarming { 87 hostname: "chromium-swarm.appspot.com" 88 builder_defaults { 89 dimensions: "pool:luci.flex.ci" 90 # We have 32bit test configurations but some of our toolchain is 64bit (like CIPD) 91 dimensions: "cpu:x86-64" 92 caches { 93 path: "win_toolchain" 94 name: "win_toolchain" 95 } 96 recipe { 97 cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" 98 cipd_version: "refs/heads/master" 99 name: "dawn" 100 } 101 service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com" 102 } 103 104 # Linux: test combinations of {clang}x{release,debug}x{x86,x64} 105 builders { 106 name: "linux-clang-dbg-x64" 107 dimensions: "os:Ubuntu-16.04" 108 mixins: "debug" 109 mixins: "x64" 110 } 111 builders { 112 name: "linux-clang-dbg-x86" 113 dimensions: "os:Ubuntu-16.04" 114 mixins: "debug" 115 mixins: "x86" 116 } 117 builders { 118 name: "linux-clang-rel-x64" 119 dimensions: "os:Ubuntu-16.04" 120 mixins: "release" 121 mixins: "x64" 122 } 123 builders { 124 name: "linux-clang-rel-x86" 125 dimensions: "os:Ubuntu-16.04" 126 mixins: "release" 127 mixins: "x86" 128 } 129 130 # Mac: unlike Linux we only need to test x64 (and only clang too) 131 builders { 132 name: "mac-dbg" 133 mixins: "mac" 134 mixins: "debug" 135 } 136 builders { 137 name: "mac-rel" 138 mixins: "mac" 139 mixins: "release" 140 } 141 142 # Linux: test combinations of {clang,msvc}x{release,debug}x{x86,x64} 143 # but limit msvc to x64 144 builders { 145 name: "win-clang-dbg-x64" 146 dimensions: "os:Windows" 147 mixins: "clang" 148 mixins: "debug" 149 mixins: "x64" 150 } 151 builders { 152 name: "win-clang-dbg-x86" 153 dimensions: "os:Windows" 154 mixins: "clang" 155 mixins: "debug" 156 mixins: "x86" 157 } 158 builders { 159 name: "win-clang-rel-x64" 160 dimensions: "os:Windows" 161 mixins: "clang" 162 mixins: "release" 163 mixins: "x64" 164 } 165 builders { 166 name: "win-clang-rel-x86" 167 dimensions: "os:Windows" 168 mixins: "clang" 169 mixins: "release" 170 mixins: "x86" 171 } 172 builders { 173 name: "win-msvc-dbg-x64" 174 dimensions: "os:Windows" 175 mixins: "no_clang" 176 mixins: "debug" 177 mixins: "x64" 178 } 179 builders { 180 name: "win-msvc-rel-x64" 181 dimensions: "os:Windows" 182 mixins: "no_clang" 183 mixins: "release" 184 mixins: "x64" 185 } 186 } 187} 188 189buckets: { 190 name: "luci.dawn.try" 191 acl_sets: "try" 192 193 swarming { 194 hostname: "chromium-swarm.appspot.com" 195 196 builder_defaults { 197 dimensions: "pool:luci.flex.try" 198 # We have 32bit test configurations but some of our toolchain is 64bit (like CIPD) 199 dimensions: "cpu:x86-64" 200 caches { 201 path: "win_toolchain" 202 name: "win_toolchain" 203 } 204 recipe { 205 cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" 206 cipd_version: "refs/heads/master" 207 name: "dawn" 208 properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}" 209 } 210 service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com" 211 } 212 213 builders { 214 name: "presubmit" 215 dimensions: "os:Ubuntu-16.04" 216 recipe { 217 name: "run_presubmit" 218 properties: "repo_name:dawn" 219 properties_j: "runhooks:true" 220 } 221 } 222 223 # A subset of the CI configurations are used for the CQ. We still mirror 224 # the CI builders here so we can trigger tryjobs on their specific 225 # configuration. 226 227 # CI Mirror only 228 builders { 229 name: "linux-clang-dbg-x64" 230 dimensions: "os:Ubuntu-16.04" 231 mixins: "debug" 232 mixins: "x64" 233 } 234 # Actually on the CQ 235 builders { 236 name: "linux-clang-dbg-x86" 237 dimensions: "os:Ubuntu-16.04" 238 mixins: "debug" 239 mixins: "x86" 240 } 241 # Actually on the CQ 242 builders { 243 name: "linux-clang-rel-x64" 244 dimensions: "os:Ubuntu-16.04" 245 mixins: "release" 246 mixins: "x64" 247 } 248 # Actually on the CQ 249 builders { 250 name: "linux-clang-rel-x86" 251 dimensions: "os:Ubuntu-16.04" 252 mixins: "release" 253 mixins: "x86" 254 } 255 256 # Actually on the CQ 257 builders { 258 name: "mac-dbg" 259 mixins: "mac" 260 mixins: "debug" 261 } 262 # Actually on the CQ 263 builders { 264 name: "mac-rel" 265 mixins: "mac" 266 mixins: "release" 267 } 268 269 # Actually on the CQ 270 builders { 271 name: "win-clang-dbg-x64" 272 dimensions: "os:Windows" 273 mixins: "clang" 274 mixins: "debug" 275 mixins: "x64" 276 } 277 # Actually on the CQ 278 builders { 279 name: "win-clang-dbg-x86" 280 dimensions: "os:Windows" 281 mixins: "clang" 282 mixins: "debug" 283 mixins: "x86" 284 } 285 # Actually on the CQ 286 builders { 287 name: "win-clang-rel-x64" 288 dimensions: "os:Windows" 289 mixins: "clang" 290 mixins: "release" 291 mixins: "x64" 292 } 293 # CI Mirror only 294 builders { 295 name: "win-clang-rel-x86" 296 dimensions: "os:Windows" 297 mixins: "clang" 298 mixins: "release" 299 mixins: "x86" 300 } 301 # CI Mirror only 302 builders { 303 name: "win-msvc-dbg-x64" 304 dimensions: "os:Windows" 305 mixins: "no_clang" 306 mixins: "debug" 307 mixins: "x64" 308 } 309 # CI Mirror only 310 builders { 311 name: "win-msvc-rel-x64" 312 dimensions: "os:Windows" 313 mixins: "no_clang" 314 mixins: "release" 315 mixins: "x64" 316 } 317 } 318} 319