[infra] Add lucicfg generated configurations
Bug: skia:11820
Change-Id: Idd23d34b9d0680523638bd77c04f972f37d4e4d8
Reviewed-on: https://skia-review.googlesource.com/c/lottie-ci/+/404201
Reviewed-by: Ravi Mistry <rmistry@google.com>
diff --git a/generated/commit-queue.cfg b/generated/commit-queue.cfg
new file mode 100644
index 0000000..e6001bc
--- /dev/null
+++ b/generated/commit-queue.cfg
@@ -0,0 +1,29 @@
+# Auto-generated by lucicfg.
+# Do not modify manually.
+#
+# For the schema of this file, see Config message:
+# https://luci-config.appspot.com/schemas/projects:commit-queue.cfg
+
+cq_status_host: "chromium-cq-status.appspot.com"
+submit_options {
+ max_burst: 4
+ burst_delay {
+ seconds: 480
+ }
+}
+config_groups {
+ name: "lottie-ci"
+ gerrit {
+ url: "https://skia-review.googlesource.com"
+ projects {
+ name: "lottie-ci"
+ ref_regexp: "refs/heads/.+"
+ }
+ }
+ verifiers {
+ gerrit_cq_ability {
+ committer_list: "project-skia-committers"
+ dry_run_access_list: "project-skia-tryjob-access"
+ }
+ }
+}
diff --git a/generated/luci-logdog.cfg b/generated/luci-logdog.cfg
new file mode 100644
index 0000000..a06c159
--- /dev/null
+++ b/generated/luci-logdog.cfg
@@ -0,0 +1,9 @@
+# Auto-generated by lucicfg.
+# Do not modify manually.
+#
+# For the schema of this file, see ProjectConfig message:
+# https://luci-config.appspot.com/schemas/projects:luci-logdog.cfg
+
+reader_auth_groups: "all"
+writer_auth_groups: "luci-logdog-skia-writers"
+archive_gs_bucket: "skia-logdog"
diff --git a/generated/project.cfg b/generated/project.cfg
new file mode 100644
index 0000000..134cde3
--- /dev/null
+++ b/generated/project.cfg
@@ -0,0 +1,8 @@
+# Auto-generated by lucicfg.
+# Do not modify manually.
+#
+# For the schema of this file, see ProjectCfg message:
+# https://luci-config.appspot.com/schemas/projects:project.cfg
+
+name: "Skia Lottie CI"
+access: "group:all"
diff --git a/main.star b/main.star
new file mode 100755
index 0000000..fea6cd0
--- /dev/null
+++ b/main.star
@@ -0,0 +1,33 @@
+#!/usr/bin/env lucicfg
+
+luci.project(
+ name = "Skia Lottie CI",
+ buildbucket = "cr-buildbucket.appspot.com",
+ swarming = "chromium-swarm.appspot.com",
+ acls = [
+ acl.entry(acl.PROJECT_CONFIGS_READER, groups = [ "all" ]),
+ acl.entry(acl.LOGDOG_READER, groups = [ "all" ]),
+ acl.entry(acl.LOGDOG_WRITER, groups = [ "luci-logdog-skia-writers" ]),
+ acl.entry(acl.CQ_COMMITTER, groups = [ "project-skia-committers" ]),
+ acl.entry(acl.CQ_DRY_RUNNER, groups = [ "project-skia-tryjob-access" ]),
+ ],
+ logdog = "luci-logdog",
+)
+
+luci.logdog(
+ gs_bucket = "skia-logdog",
+)
+
+luci.cq (
+ status_host = "chromium-cq-status.appspot.com",
+ submit_burst_delay = time.duration(480000),
+ submit_max_burst = 4,
+)
+
+luci.cq_group(
+ name = "lottie-ci",
+ watch = cq.refset(
+ repo = "https://skia.googlesource.com/lottie-ci",
+ refs = [ "refs/heads/.+" ],
+ ),
+)
\ No newline at end of file