From 7083f3cee5dd8e09ce2e1cc83cc0d2ae8e42224f Mon Sep 17 00:00:00 2001 From: "sergiyb@chromium.org" Date: Tue, 20 Oct 2015 13:13:17 +0000 Subject: [PATCH] Update CQ client lib R=akuegel@chromium.org Review URL: https://codereview.chromium.org/1412393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297201 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/cq_client/cq.pb.go | 4 +++- third_party/cq_client/cq.proto | 4 +++- third_party/cq_client/test/cq_example.cfg | 6 ++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/third_party/cq_client/cq.pb.go b/third_party/cq_client/cq.pb.go index ce4bb78f2..a0a3d39a4 100644 --- a/third_party/cq_client/cq.pb.go +++ b/third_party/cq_client/cq.pb.go @@ -389,7 +389,9 @@ func (m *Verifiers_TryJobVerifier_Builder) GetExperimentPercentage() float32 { } type Verifiers_TryJobVerifier_Bucket struct { - // Name of the bucket. This is typically the same as a master name. + // Name of the bucket. This is typically the same as a master name without + // the 'master.' prefix, e.g. 'chromium.linux' or 'tryserver.webrtc'. CQ + // will automatically add 'master.' prefix if not there. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Builders on which tryjobs should be triggered. Builders []*Verifiers_TryJobVerifier_Builder `protobuf:"bytes,2,rep,name=builders" json:"builders,omitempty"` diff --git a/third_party/cq_client/cq.proto b/third_party/cq_client/cq.proto index ab7c861a5..a78226911 100644 --- a/third_party/cq_client/cq.proto +++ b/third_party/cq_client/cq.proto @@ -140,7 +140,9 @@ message Verifiers { } message Bucket { - // Name of the bucket. This is typically the same as a master name. + // Name of the bucket. This is typically the same as a master name without + // the 'master.' prefix, e.g. 'chromium.linux' or 'tryserver.webrtc'. CQ + // will automatically add 'master.' prefix if not there. optional string name = 1; // Builders on which tryjobs should be triggered. diff --git a/third_party/cq_client/test/cq_example.cfg b/third_party/cq_client/test/cq_example.cfg index 64cb4c4f0..806b8cf56 100644 --- a/third_party/cq_client/test/cq_example.cfg +++ b/third_party/cq_client/test/cq_example.cfg @@ -51,5 +51,11 @@ verifiers { experiment_percentage: 100 } } + try_job_retry_config { + try_job_retry_quota: 10 + global_retry_quota: 11 + failure_retry_weight: 12 + transient_failure_retry_weight: 13 + } } }