dawn-cmake/infra/config/global/cr-buildbucket.cfg
Vadim Shtayura 8ba1ef33da infra: Stop statically enforcing Xcode version.
The OSX machines in "luci.flex.try" pool that run Dawn tryjobs
have been upgraded from OSX 10.14 to OSX 10.15. Per [1],
the preferred Xcode version on OSX 10.15 is '12a7209' and most
tryjobs (from other projects) install that version. But when
a Dawn tryjob runs, it rolls Xcode back to '11b52'. Reinstalling Xcode
back and forth like that takes time (~20 min), it caused some tryjobs
in the "infra" project to timeout.

Unhardcode Xcode version in Dawn configs. It should allow the recipe
to pick the "best" version ('12a7209' in this case).

[1]: https://source.chromium.org/chromium/chromium/tools/depot_tools/+/master:recipes/recipe_modules/osx_sdk/api.py;l=21?q=11b52&ss=chromium

R=cwallez@chromium.org, tandrii@chromium.org

Change-Id: I8499a763679b9e9270854bf66c2a21f1e6354594
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/29440
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-10-06 09:16:19 +00:00

357 lines
7.5 KiB
INI

# 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"
}
}
builder_mixins {
name: "clang"
recipe {
properties_j: "clang:true"
}
}
builder_mixins {
name: "no_clang"
recipe {
properties_j: "clang:false"
}
}
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"
}
}
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
}
}
builder_mixins {
name: "mac"
dimensions: "os:Mac-10.15"
caches: { # cache for depot_tools.osx_sdk recipe module
name: "osx_sdk"
path: "osx_sdk"
}
recipe {
properties_j: <<EOF
$build/goma: {
"rpc_extra_params": "?prod",
"server_host": "goma.chromium.org"
}
EOF
}
}
buckets {
name: "luci.dawn.ci"
acl_sets: "ci"
swarming {
hostname: "chromium-swarm.appspot.com"
builder_defaults {
dimensions: "pool:luci.flex.ci"
# We have 32bit test configurations but some of our toolchain is 64bit (like CIPD)
dimensions: "cpu:x86-64"
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"
mixins: "linux"
mixins: "debug"
mixins: "x64"
}
builders {
name: "linux-clang-dbg-x86"
mixins: "linux"
mixins: "debug"
mixins: "x86"
}
builders {
name: "linux-clang-rel-x64"
mixins: "linux"
mixins: "release"
mixins: "x64"
}
builders {
name: "linux-clang-rel-x86"
mixins: "linux"
mixins: "release"
mixins: "x86"
}
# Mac: unlike Linux we only need to test x64 (and only clang too)
builders {
name: "mac-dbg"
mixins: "mac"
mixins: "debug"
}
builders {
name: "mac-rel"
mixins: "mac"
mixins: "release"
}
# Windows: test combinations of {clang,msvc}x{release,debug}x{x86,x64}
# but limit msvc to x64
builders {
name: "win-clang-dbg-x64"
mixins: "windows"
mixins: "clang"
mixins: "debug"
mixins: "x64"
}
builders {
name: "win-clang-dbg-x86"
mixins: "windows"
mixins: "clang"
mixins: "debug"
mixins: "x86"
}
builders {
name: "win-clang-rel-x64"
mixins: "windows"
mixins: "clang"
mixins: "release"
mixins: "x64"
}
builders {
name: "win-clang-rel-x86"
mixins: "windows"
mixins: "clang"
mixins: "release"
mixins: "x86"
}
# GOMA doesn't support MSVC builds so we don't used the "windows" mixin and
# instead list the dimensions: "os:Windows" directly.
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"
# We have 32bit test configurations but some of our toolchain is 64bit (like CIPD)
dimensions: "cpu:x86-64"
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"
}
builders {
name: "presubmit"
dimensions: "os:Ubuntu-16.04"
recipe {
name: "run_presubmit"
properties: "repo_name:dawn"
properties_j: "runhooks:true"
}
}
# 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
builders {
name: "linux-clang-dbg-x64"
mixins: "linux"
mixins: "debug"
mixins: "x64"
}
# Actually on the CQ
builders {
name: "linux-clang-dbg-x86"
mixins: "linux"
mixins: "debug"
mixins: "x86"
}
# Actually on the CQ
builders {
name: "linux-clang-rel-x64"
mixins: "linux"
mixins: "release"
mixins: "x64"
}
# Actually on the CQ
builders {
name: "linux-clang-rel-x86"
mixins: "linux"
mixins: "release"
mixins: "x86"
}
# Actually on the CQ
builders {
name: "mac-dbg"
mixins: "mac"
mixins: "debug"
}
# Actually on the CQ
builders {
name: "mac-rel"
mixins: "mac"
mixins: "release"
}
# Actually on the CQ
builders {
name: "win-clang-dbg-x64"
mixins: "windows"
mixins: "clang"
mixins: "debug"
mixins: "x64"
}
# Actually on the CQ
builders {
name: "win-clang-dbg-x86"
mixins: "windows"
mixins: "clang"
mixins: "debug"
mixins: "x86"
}
# Actually on the CQ
builders {
name: "win-clang-rel-x64"
mixins: "windows"
mixins: "clang"
mixins: "release"
mixins: "x64"
}
# CI Mirror only
builders {
name: "win-clang-rel-x86"
mixins: "windows"
mixins: "clang"
mixins: "release"
mixins: "x86"
}
# GOMA doesn't support MSVC builds so we don't used the "windows" mixin and
# instead list the dimensions: "os:Windows" directly.
# 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"
}
}
}