infra: Add a presubmit builder to the CQ.
Change-Id: Iec65e03fb8cb9d673cd611968e4204a46e92c561
diff --git a/infra/config/branch/cq.cfg b/infra/config/branch/cq.cfg
index e22bbba..1f22661 100644
--- a/infra/config/branch/cq.cfg
+++ b/infra/config/branch/cq.cfg
@@ -16,6 +16,7 @@
try_job {
buckets {
name: "luci.dawn.try"
+ builders { name: "presubmit" }
builders { name: "linux-clang-dbg-x64" }
builders { name: "linux-clang-rel-x64" }
builders { name: "mac-dbg" }
diff --git a/infra/config/global/cr-buildbucket.cfg b/infra/config/global/cr-buildbucket.cfg
index 5846e13..1c78612 100644
--- a/infra/config/global/cr-buildbucket.cfg
+++ b/infra/config/global/cr-buildbucket.cfg
@@ -187,6 +187,8 @@
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"
@@ -200,6 +202,16 @@
service_account: "dawn-try-builder@chops-service-accounts.iam.gserviceaccount.com"
}
+ builders {
+ name: "presubmit"
+ dimensions: "os:Ubuntu-14.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.
diff --git a/infra/config/global/luci-milo.cfg b/infra/config/global/luci-milo.cfg
index 04a7fb4..70f2c03 100644
--- a/infra/config/global/luci-milo.cfg
+++ b/infra/config/global/luci-milo.cfg
@@ -76,6 +76,10 @@
builder_view_only: true
builders {
+ name: "buildbucket/luci.dawn.try/presubmit"
+ }
+
+ builders {
name: "buildbucket/luci.dawn.try/linux-clang-dbg-x64"
}
builders {