aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2023-08-25 15:31:43 -0400
committerGopher Robot <gobot@golang.org>2023-08-28 20:59:30 +0000
commitdbef367af75863876323ec31693d7cd0d65d5f9e (patch)
treec6a1b96d8d13318a4810f84d0fb39ebf7122552c
parenta7f03fb75ac9ca173ff7d2d453bc09f3fb975220 (diff)
downloadgo-x-review-dbef367af75863876323ec31693d7cd0d65d5f9e.tar.xz
git-codereview: change default -trybot flag to use LUCIv1.6.0
For when it's time. Change-Id: Ife6df8eed0a02d9a47ffca141be083aaf3b09d28 Reviewed-on: https://go-review.googlesource.com/c/review/+/523115 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
-rw-r--r--git-codereview/doc.go2
-rw-r--r--git-codereview/mail.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/git-codereview/doc.go b/git-codereview/doc.go
index 0754479..5f3e0b1 100644
--- a/git-codereview/doc.go
+++ b/git-codereview/doc.go
@@ -254,7 +254,7 @@ The -nokeycheck flag disables the Gerrit server check for committed files
containing data that looks like public keys. (The most common time -nokeycheck
is needed is when checking in test cases for cryptography libraries.)
-The -trybot flag sets a Run-TryBot+1 vote on any uploaded changes.
+The -trybot flag sets a Commit-Queue+1 vote on any uploaded changes.
The Go project uses this vote to start running integration tests on the CL.
During the transition between two CI systems, the environment variable
GIT_CODEREVIEW_TRYBOT can be set to one of "luci", "farmer", or "both"
diff --git a/git-codereview/mail.go b/git-codereview/mail.go
index 4bcd85c..7fe2bcf 100644
--- a/git-codereview/mail.go
+++ b/git-codereview/mail.go
@@ -50,9 +50,9 @@ func cmdMail(args []string) {
var trybotVotes []string
switch os.Getenv("GIT_CODEREVIEW_TRYBOT") {
- case "luci":
+ case "", "luci":
trybotVotes = []string{"Commit-Queue+1"}
- case "", "farmer":
+ case "farmer":
trybotVotes = []string{"Run-TryBot"}
case "both":
trybotVotes = []string{"Commit-Queue+1", "Run-TryBot"}