2018-08-20 12:54:15 +00:00
|
|
|
# Defines buckets on cr-buildbucket.appspot.com, used to schedule builds
|
|
|
|
# on buildbot. In particular, CQ uses some of these buckets to schedule tryjobs.
|
|
|
|
#
|
|
|
|
# See http://luci-config.appspot.com/schemas/projects:cr-buildbucket.cfg for
|
|
|
|
# schema of this file and documentation.
|
|
|
|
#
|
|
|
|
# Please keep this list sorted by bucket name.
|
|
|
|
|
|
|
|
acl_sets {
|
|
|
|
name: "ci"
|
|
|
|
acls {
|
|
|
|
role: READER
|
|
|
|
group: "all"
|
|
|
|
}
|
|
|
|
acls {
|
|
|
|
role: SCHEDULER
|
|
|
|
identity: "luci-scheduler@appspot.gserviceaccount.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
acl_sets {
|
|
|
|
name: "try"
|
|
|
|
acls {
|
|
|
|
role: READER
|
|
|
|
group: "all"
|
|
|
|
}
|
|
|
|
acls {
|
|
|
|
role: SCHEDULER
|
|
|
|
group: "project-dawn-tryjob-access"
|
|
|
|
}
|
|
|
|
acls {
|
|
|
|
role: SCHEDULER
|
|
|
|
group: "service-account-cq"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-23 12:40:37 +00:00
|
|
|
builder_mixins {
|
|
|
|
name: "clang"
|
|
|
|
recipe {
|
|
|
|
properties_j: "clang:true"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
builder_mixins {
|
|
|
|
name: "no_clang"
|
|
|
|
recipe {
|
|
|
|
properties_j: "clang:false"
|
|
|
|
}
|
|
|
|
}
|
2018-08-20 12:54:15 +00:00
|
|
|
builder_mixins {
|
|
|
|
name: "release"
|
|
|
|
recipe {
|
|
|
|
properties_j: "debug:false"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
builder_mixins {
|
|
|
|
name: "debug"
|
|
|
|
recipe {
|
|
|
|
properties_j: "debug:true"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
builder_mixins {
|
|
|
|
name: "x86"
|
|
|
|
recipe {
|
|
|
|
properties: "target_cpu:x86"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
builder_mixins {
|
|
|
|
name: "x64"
|
|
|
|
recipe {
|
|
|
|
properties: "target_cpu:x64"
|
|
|
|
}
|
|
|
|
}
|
2020-06-09 12:34:02 +00:00
|
|
|
builder_mixins {
|
|
|
|
name: "linux",
|
|
|
|
dimensions: "os:Ubuntu-16.04"
|
|
|
|
recipe {
|
|
|
|
properties_j: <<EOF
|
|
|
|
$build/goma: {
|
|
|
|
"enable_ats": true,
|
|
|
|
"rpc_extra_params": "?prod",
|
|
|
|
"server_host": "goma.chromium.org"
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
}
|
|
|
|
}
|
|
|
|
builder_mixins {
|
|
|
|
name: "windows",
|
|
|
|
dimensions: "os:Windows"
|
|
|
|
recipe {
|
|
|
|
properties_j: <<EOF
|
|
|
|
$build/goma: {
|
|
|
|
"enable_ats": true,
|
|
|
|
"rpc_extra_params": "?prod",
|
|
|
|
"server_host": "goma.chromium.org"
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
}
|
|
|
|
}
|
2019-02-25 09:10:05 +00:00
|
|
|
builder_mixins {
|
|
|
|
name: "mac"
|
2020-02-25 17:12:27 +00:00
|
|
|
dimensions: "os:Mac-10.15"
|
2019-02-25 09:10:05 +00:00
|
|
|
caches: { # cache for depot_tools.osx_sdk recipe module
|
|
|
|
name: "osx_sdk"
|
|
|
|
path: "osx_sdk"
|
|
|
|
}
|
2019-08-09 01:19:04 +00:00
|
|
|
recipe {
|
|
|
|
properties_j: <<EOF
|
2020-06-09 12:34:02 +00:00
|
|
|
$depot_tools/osx_sdk: {
|
2020-02-25 17:12:27 +00:00
|
|
|
"sdk_version": "11b52"
|
2019-08-09 01:19:04 +00:00
|
|
|
}
|
|
|
|
EOF
|
2020-06-09 12:34:02 +00:00
|
|
|
properties_j: <<EOF
|
|
|
|
$build/goma: {
|
|
|
|
"rpc_extra_params": "?prod",
|
|
|
|
"server_host": "goma.chromium.org"
|
|
|
|
}
|
|
|
|
EOF
|
2019-08-09 01:19:04 +00:00
|
|
|
}
|
2019-02-25 09:10:05 +00:00
|
|
|
}
|
2018-08-20 12:54:15 +00:00
|
|
|
|
|
|
|
buckets {
|
|
|
|
name: "luci.dawn.ci"
|
|
|
|
acl_sets: "ci"
|
|
|
|
|
|
|
|
swarming {
|
|
|
|
hostname: "chromium-swarm.appspot.com"
|
|
|
|
builder_defaults {
|
|
|
|
dimensions: "pool:luci.flex.ci"
|
2018-08-30 12:34:46 +00:00
|
|
|
# We have 32bit test configurations but some of our toolchain is 64bit (like CIPD)
|
|
|
|
dimensions: "cpu:x86-64"
|
2018-08-20 12:54:15 +00:00
|
|
|
caches {
|
|
|
|
path: "win_toolchain"
|
|
|
|
name: "win_toolchain"
|
|
|
|
}
|
|
|
|
recipe {
|
|
|
|
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
|
|
|
cipd_version: "refs/heads/master"
|
|
|
|
name: "dawn"
|
|
|
|
}
|
|
|
|
service_account: "dawn-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Linux: test combinations of {clang}x{release,debug}x{x86,x64}
|
|
|
|
builders {
|
|
|
|
name: "linux-clang-dbg-x64"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "linux"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
|
|
|
builders {
|
|
|
|
name: "linux-clang-dbg-x86"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "linux"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x86"
|
|
|
|
}
|
|
|
|
builders {
|
|
|
|
name: "linux-clang-rel-x64"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "linux"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "release"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
|
|
|
builders {
|
|
|
|
name: "linux-clang-rel-x86"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "linux"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "release"
|
|
|
|
mixins: "x86"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Mac: unlike Linux we only need to test x64 (and only clang too)
|
|
|
|
builders {
|
|
|
|
name: "mac-dbg"
|
2019-02-25 09:10:05 +00:00
|
|
|
mixins: "mac"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "debug"
|
|
|
|
}
|
|
|
|
builders {
|
|
|
|
name: "mac-rel"
|
2019-02-25 09:10:05 +00:00
|
|
|
mixins: "mac"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "release"
|
|
|
|
}
|
|
|
|
|
2020-06-09 12:34:02 +00:00
|
|
|
# Windows: test combinations of {clang,msvc}x{release,debug}x{x86,x64}
|
2018-08-20 12:54:15 +00:00
|
|
|
# but limit msvc to x64
|
|
|
|
builders {
|
|
|
|
name: "win-clang-dbg-x64"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "windows"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "clang"
|
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
|
|
|
builders {
|
|
|
|
name: "win-clang-dbg-x86"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "windows"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "clang"
|
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x86"
|
|
|
|
}
|
|
|
|
builders {
|
|
|
|
name: "win-clang-rel-x64"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "windows"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "clang"
|
|
|
|
mixins: "release"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
|
|
|
builders {
|
|
|
|
name: "win-clang-rel-x86"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "windows"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "clang"
|
|
|
|
mixins: "release"
|
|
|
|
mixins: "x86"
|
|
|
|
}
|
2020-06-09 12:34:02 +00:00
|
|
|
# GOMA doesn't support MSVC builds so we don't used the "windows" mixin and
|
|
|
|
# instead list the dimensions: "os:Windows" directly.
|
2018-08-20 12:54:15 +00:00
|
|
|
builders {
|
|
|
|
name: "win-msvc-dbg-x64"
|
|
|
|
dimensions: "os:Windows"
|
|
|
|
mixins: "no_clang"
|
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
|
|
|
builders {
|
|
|
|
name: "win-msvc-rel-x64"
|
|
|
|
dimensions: "os:Windows"
|
|
|
|
mixins: "no_clang"
|
|
|
|
mixins: "release"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buckets: {
|
|
|
|
name: "luci.dawn.try"
|
|
|
|
acl_sets: "try"
|
|
|
|
|
|
|
|
swarming {
|
|
|
|
hostname: "chromium-swarm.appspot.com"
|
|
|
|
|
|
|
|
builder_defaults {
|
|
|
|
dimensions: "pool:luci.flex.try"
|
2018-09-05 12:41:04 +00:00
|
|
|
# We have 32bit test configurations but some of our toolchain is 64bit (like CIPD)
|
|
|
|
dimensions: "cpu:x86-64"
|
2018-08-20 12:54:15 +00:00
|
|
|
caches {
|
|
|
|
path: "win_toolchain"
|
|
|
|
name: "win_toolchain"
|
|
|
|
}
|
|
|
|
recipe {
|
|
|
|
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
|
|
|
cipd_version: "refs/heads/master"
|
|
|
|
name: "dawn"
|
|
|
|
properties_j: "$depot_tools/bot_update:{\"apply_patch_on_gclient\":true}"
|
|
|
|
}
|
|
|
|
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
|
|
|
}
|
|
|
|
|
2018-09-05 12:41:04 +00:00
|
|
|
builders {
|
|
|
|
name: "presubmit"
|
2019-07-17 08:37:49 +00:00
|
|
|
dimensions: "os:Ubuntu-16.04"
|
2018-09-05 12:41:04 +00:00
|
|
|
recipe {
|
|
|
|
name: "run_presubmit"
|
|
|
|
properties: "repo_name:dawn"
|
|
|
|
properties_j: "runhooks:true"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-24 10:07:24 +00:00
|
|
|
# A subset of the CI configurations are used for the CQ. We still mirror
|
|
|
|
# the CI builders here so we can trigger tryjobs on their specific
|
|
|
|
# configuration.
|
|
|
|
|
|
|
|
# CI Mirror only
|
2018-08-20 12:54:15 +00:00
|
|
|
builders {
|
|
|
|
name: "linux-clang-dbg-x64"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "linux"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
2019-06-11 16:51:24 +00:00
|
|
|
# Actually on the CQ
|
2018-08-24 10:07:24 +00:00
|
|
|
builders {
|
|
|
|
name: "linux-clang-dbg-x86"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "linux"
|
2018-08-24 10:07:24 +00:00
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x86"
|
|
|
|
}
|
|
|
|
# Actually on the CQ
|
2018-08-20 12:54:15 +00:00
|
|
|
builders {
|
|
|
|
name: "linux-clang-rel-x64"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "linux"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "release"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
2018-08-24 10:07:24 +00:00
|
|
|
# Actually on the CQ
|
|
|
|
builders {
|
|
|
|
name: "linux-clang-rel-x86"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "linux"
|
2018-08-24 10:07:24 +00:00
|
|
|
mixins: "release"
|
|
|
|
mixins: "x86"
|
|
|
|
}
|
2018-08-20 12:54:15 +00:00
|
|
|
|
2018-08-24 10:07:24 +00:00
|
|
|
# Actually on the CQ
|
2018-08-20 12:54:15 +00:00
|
|
|
builders {
|
|
|
|
name: "mac-dbg"
|
2019-02-25 09:10:05 +00:00
|
|
|
mixins: "mac"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "debug"
|
|
|
|
}
|
2018-08-24 10:07:24 +00:00
|
|
|
# Actually on the CQ
|
2018-08-20 12:54:15 +00:00
|
|
|
builders {
|
|
|
|
name: "mac-rel"
|
2019-02-25 09:10:05 +00:00
|
|
|
mixins: "mac"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "release"
|
|
|
|
}
|
|
|
|
|
2018-08-24 10:07:24 +00:00
|
|
|
# Actually on the CQ
|
2018-08-20 12:54:15 +00:00
|
|
|
builders {
|
|
|
|
name: "win-clang-dbg-x64"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "windows"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "clang"
|
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
2019-06-11 16:51:24 +00:00
|
|
|
# Actually on the CQ
|
2018-08-24 10:07:24 +00:00
|
|
|
builders {
|
|
|
|
name: "win-clang-dbg-x86"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "windows"
|
2018-08-24 10:07:24 +00:00
|
|
|
mixins: "clang"
|
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x86"
|
|
|
|
}
|
|
|
|
# Actually on the CQ
|
2018-08-20 12:54:15 +00:00
|
|
|
builders {
|
|
|
|
name: "win-clang-rel-x64"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "windows"
|
2018-08-20 12:54:15 +00:00
|
|
|
mixins: "clang"
|
|
|
|
mixins: "release"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
2018-08-24 10:07:24 +00:00
|
|
|
# CI Mirror only
|
|
|
|
builders {
|
|
|
|
name: "win-clang-rel-x86"
|
2020-06-09 12:34:02 +00:00
|
|
|
mixins: "windows"
|
2018-08-24 10:07:24 +00:00
|
|
|
mixins: "clang"
|
|
|
|
mixins: "release"
|
|
|
|
mixins: "x86"
|
|
|
|
}
|
2020-06-09 12:34:02 +00:00
|
|
|
# GOMA doesn't support MSVC builds so we don't used the "windows" mixin and
|
|
|
|
# instead list the dimensions: "os:Windows" directly.
|
2018-08-24 10:07:24 +00:00
|
|
|
# CI Mirror only
|
|
|
|
builders {
|
|
|
|
name: "win-msvc-dbg-x64"
|
|
|
|
dimensions: "os:Windows"
|
|
|
|
mixins: "no_clang"
|
|
|
|
mixins: "debug"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
|
|
|
# CI Mirror only
|
|
|
|
builders {
|
|
|
|
name: "win-msvc-rel-x64"
|
|
|
|
dimensions: "os:Windows"
|
|
|
|
mixins: "no_clang"
|
|
|
|
mixins: "release"
|
|
|
|
mixins: "x64"
|
|
|
|
}
|
2018-08-20 12:54:15 +00:00
|
|
|
}
|
|
|
|
}
|