aboutsummaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorbtolsch <btolsch@chromium.org>2019-04-17 18:40:56 -0700
committerCommit Bot <commit-bot@chromium.org>2019-04-18 01:47:38 +0000
commitf0be9de6149a73efbd98506541a6758c970f1b0f (patch)
treed0be6a19cf1d009f5a443e342a22cbb4f60db8e0 /infra
parent789f5948110e7a1941cbaeba8840468112f6509e (diff)
downloadopenscreen-f0be9de6149a73efbd98506541a6758c970f1b0f.tar.gz
Improve presubmit support
This change improves our presubmit in two ways: 1. It adds our PRESUBMIT.sh as a step in PRESUBMIT.py which is normally run by git-cl commands. 2. Adds a presubmit bot which runs our PRESUBMIT.py as part of the commit queue. Moving the PRESUBMIT.sh checks into python or adding other checks will be left to future CLs. Bug: openscreen:43 Change-Id: I7d95fe92b9b6c715344bc65868cd1eb91e7be643 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1570449 Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Diffstat (limited to 'infra')
-rw-r--r--infra/config/global/commit-queue.cfg3
-rw-r--r--infra/config/global/cr-buildbucket.cfg10
2 files changed, 13 insertions, 0 deletions
diff --git a/infra/config/global/commit-queue.cfg b/infra/config/global/commit-queue.cfg
index 031a96a8..6e2a41c0 100644
--- a/infra/config/global/commit-queue.cfg
+++ b/infra/config/global/commit-queue.cfg
@@ -31,6 +31,9 @@ config_groups {
builders {
name: "openscreen/try/mac_debug"
}
+ builders {
+ name: "openscreen/try/linux64_presubmit"
+ }
retry_config {
single_quota: 1
global_quota: 2
diff --git a/infra/config/global/cr-buildbucket.cfg b/infra/config/global/cr-buildbucket.cfg
index bc3074b8..56e22523 100644
--- a/infra/config/global/cr-buildbucket.cfg
+++ b/infra/config/global/cr-buildbucket.cfg
@@ -156,6 +156,16 @@ buckets: {
mixins: "debug"
mixins: "x64"
}
+
+ builders {
+ name: "linux64_presubmit"
+ recipe {
+ name: "run_presubmit"
+ properties: "repo_name:openscreen"
+ }
+ mixins: "linux"
+ mixins: "x64"
+ }
}
}