Setup CQ for recipes and buildtools
Change-Id: I3b75e4944143521a05047ba50907c2baedbaa0c3
diff --git a/repositories/buildtools/cq.cfg b/repositories/buildtools/cq.cfg
new file mode 100644
index 0000000..6e5bbd4
--- /dev/null
+++ b/repositories/buildtools/cq.cfg
@@ -0,0 +1,38 @@
+# Copyright 2017 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# See http://luci-config.appspot.com/schemas/projects/refs:cq.cfg for the
+# documentation of this file format.
+
+version: 1
+cq_name: "fuchsia-buildtools"
+cq_status_url: "https://fuchsia-cq-status.appspot.com"
+git_repo_url: "https://fuchsia.googlesource.com/buildtools"
+
+gerrit {}
+
+verifiers {
+ try_job {
+ buckets {
+ name: "luci.fuchsia.try",
+ builders {
+ name: "fuchsia-aarch64-linux-debug"
+ }
+ builders {
+ name: "fuchsia-aarch64-linux-release"
+ }
+ builders {
+ name: "fuchsia-x86_64-linux-debug"
+ }
+ builders {
+ name: "fuchsia-x86_64-linux-release"
+ }
+ }
+ }
+ gerrit_cq_ability {
+ committer_list: "project-fuchsia-committers"
+ dry_run_access_list: "project-fuchsia-tryjob-access"
+ }
+ sign_cla {}
+}
diff --git a/repositories/buildtools/refs.cfg b/repositories/buildtools/refs.cfg
new file mode 100644
index 0000000..2dabce5
--- /dev/null
+++ b/repositories/buildtools/refs.cfg
@@ -0,0 +1,14 @@
+# Copyright 2017 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# See RefsCfg message in
+# http://luci-config.appspot.com/schemas/projects:refs.cfg for the
+# documentation of this file format.
+
+refs {
+ # Map 'refs/heads/master' ref of this project to this directory.
+ # This works because this directory is on the master branch too.
+ name: "refs/heads/master"
+ config_path: "repositories/buildtools"
+}
diff --git a/repositories/infra/recipes/cq.cfg b/repositories/infra/recipes/cq.cfg
new file mode 100644
index 0000000..2086127
--- /dev/null
+++ b/repositories/infra/recipes/cq.cfg
@@ -0,0 +1,29 @@
+# Copyright 2017 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# See http://luci-config.appspot.com/schemas/projects/refs:cq.cfg for the
+# documentation of this file format.
+
+version: 1
+cq_name: "fuchsia-infra-recipes"
+cq_status_url: "https://fuchsia-cq-status.appspot.com"
+git_repo_url: "https://fuchsia.googlesource.com/infra/recipes"
+
+gerrit {}
+
+verifiers {
+ try_job {
+ buckets {
+ name: "luci.fuchsia.try",
+ builders {
+ name: "recipes"
+ }
+ }
+ }
+ gerrit_cq_ability {
+ committer_list: "project-fuchsia-committers"
+ dry_run_access_list: "project-fuchsia-tryjob-access"
+ }
+ sign_cla {}
+}
diff --git a/repositories/infra/recipes/refs.cfg b/repositories/infra/recipes/refs.cfg
new file mode 100644
index 0000000..c614099
--- /dev/null
+++ b/repositories/infra/recipes/refs.cfg
@@ -0,0 +1,14 @@
+# Copyright 2017 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# See RefsCfg message in
+# http://luci-config.appspot.com/schemas/projects:refs.cfg for the
+# documentation of this file format.
+
+refs {
+ # Map 'refs/heads/master' ref of this project to this directory.
+ # This works because this directory is on the master branch too.
+ name: "refs/heads/master"
+ config_path: "repositories/infra/recipes"
+}
diff --git a/services/cr-buildbucket.cfg b/services/cr-buildbucket.cfg
index 99645d4..d042a8d 100644
--- a/services/cr-buildbucket.cfg
+++ b/services/cr-buildbucket.cfg
@@ -577,6 +577,16 @@
}
builders {
+ category: "Infra"
+ name: "recipes"
+ dimensions: "os:Ubuntu"
+ recipe {
+ name: "recipes"
+ properties: "manifest:infra"
+ }
+ }
+
+ builders {
category: "Ledger"
name: "ledger-aarch64-linux-debug"
mixins: "ledger"