Commit e1fe1ff0 authored by Andrii Shyshkalov's avatar Andrii Shyshkalov Committed by Commit Bot

Update CQ proto files to 07b713a88.

This includes gerrit_cq_ability verifier.

TBR=sergiyb@chromium.org,rmistry@chromium.org
BUG=

Change-Id: Ifdb09bb33dd6a6fc7fdcb592e6bc4a2f8ac474ad
Reviewed-on: https://chromium-review.googlesource.com/444767Reviewed-by: 's avatarAndrii Shyshkalov <tandrii@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
parent 3e631421
......@@ -13,6 +13,10 @@ When modifying cq.proto, consider adding checks to validator in
[https://chrome-internal.googlesource.com/infra/infra_internal/+/master/appengine/commit_queue/src/commitqueue/validate.go]().
## Updating depot_tools with the copy of this.
make update-depot-tools
## Generation of Python and Go bindings
### tl;dr
......
......@@ -65,9 +65,9 @@ type Config struct {
// commit changes on CQ host. This should only be used in case, when the
// source repository is not supported by luci-config (e.g. GitHub).
GitRepoUrl *string `protobuf:"bytes,10,opt,name=git_repo_url,json=gitRepoUrl" json:"git_repo_url,omitempty"`
// Target ref to commit to. This can be used to specify a different ref than
// the one where the luci config is located. This is useful, e.g. for projects
// that use gnumbd where CQ should commit into a pending ref.
// DO NOT USE. Kept here for validator error messages
// and internal CQ usage (and insanity).
// TODO(tandrii): clean insanity internally and update this message.
TargetRef *string `protobuf:"bytes,11,opt,name=target_ref,json=targetRef" json:"target_ref,omitempty"`
// DO NOT USE. Kept here for validator error messages.
SvnRepoUrl *string `protobuf:"bytes,12,opt,name=svn_repo_url,json=svnRepoUrl" json:"svn_repo_url,omitempty"`
......@@ -264,12 +264,17 @@ func (m *Gerrit) GetDryRunSetsCqVerifiedLabel() bool {
// describes types of verifiers that should be applied to each CL and their
// parameters.
type Verifiers struct {
// This verifier is used to ensure that an LGTM was posted to the code review
// site from a valid project committer.
// It is ignored in case of Gerrit, and you should not declare it unless you
// use both Gerrit and Rietveld for codereview. Unlike Rietveld, Gerrit has
// its own ACL system which should be set up by project admins.
// [Rietveld only] This verifier is used to ensure that an LGTM was posted to
// the code review site from a valid project committer. It also validates
// ability of non-committers to trigger CQ, which for Gerrit is done by
// GerritCQAbilityVerifier.
ReviewerLgtm *Verifiers_ReviewerLgtmVerifier `protobuf:"bytes,1,opt,name=reviewer_lgtm,json=reviewerLgtm" json:"reviewer_lgtm,omitempty"`
// [Gerrit only] GerritCQAbilityVerifier ensures that a user who triggered
// this CQ attempt has actually rights to do so based on 3 factors:
// * membership of the user in committers & dryrunners group,
// * the state of CL/patchset on which CQ is triggered,
// * relationship of the user to the CL.
GerritCqAbility *Verifiers_GerritCQAbilityVerifier `protobuf:"bytes,5,opt,name=gerrit_cq_ability,json=gerritCqAbility" json:"gerrit_cq_ability,omitempty"`
// This verifier is used to check tree status before committing a CL. If the
// tree is closed, then the verifier will wait until it is reopened.
TreeStatus *Verifiers_TreeStatusLgtmVerifier `protobuf:"bytes,2,opt,name=tree_status,json=treeStatus" json:"tree_status,omitempty"`
......@@ -296,6 +301,13 @@ func (m *Verifiers) GetReviewerLgtm() *Verifiers_ReviewerLgtmVerifier {
return nil
}
func (m *Verifiers) GetGerritCqAbility() *Verifiers_GerritCQAbilityVerifier {
if m != nil {
return m.GerritCqAbility
}
return nil
}
func (m *Verifiers) GetTreeStatus() *Verifiers_TreeStatusLgtmVerifier {
if m != nil {
return m.TreeStatus
......@@ -373,6 +385,40 @@ func (m *Verifiers_ReviewerLgtmVerifier) GetDryRunAccessList() string {
return ""
}
type Verifiers_GerritCQAbilityVerifier struct {
// Required. Name of the chrome-infra-auth group, which contains the list of
// identities authorized to trigger CQ runs on any CLs in this project.
CommitterList *string `protobuf:"bytes,1,opt,name=committer_list,json=committerList" json:"committer_list,omitempty"`
// Optional, but strongly recommended. Name of the chrome-infra-auth group,
// which contains the list of identities authorized to trigger CQ dry run
// on Gerrit CLs they own (not to be confused with OWNER files) even if CL
// hasn't been approved.
// This is usually the same group as tryjob-access.
DryRunAccessList *string `protobuf:"bytes,4,opt,name=dry_run_access_list,json=dryRunAccessList" json:"dry_run_access_list,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Verifiers_GerritCQAbilityVerifier) Reset() { *m = Verifiers_GerritCQAbilityVerifier{} }
func (m *Verifiers_GerritCQAbilityVerifier) String() string { return proto.CompactTextString(m) }
func (*Verifiers_GerritCQAbilityVerifier) ProtoMessage() {}
func (*Verifiers_GerritCQAbilityVerifier) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{3, 1}
}
func (m *Verifiers_GerritCQAbilityVerifier) GetCommitterList() string {
if m != nil && m.CommitterList != nil {
return *m.CommitterList
}
return ""
}
func (m *Verifiers_GerritCQAbilityVerifier) GetDryRunAccessList() string {
if m != nil && m.DryRunAccessList != nil {
return *m.DryRunAccessList
}
return ""
}
type Verifiers_TreeStatusLgtmVerifier struct {
// Required. URL of the project tree status app.
TreeStatusUrl *string `protobuf:"bytes,1,opt,name=tree_status_url,json=treeStatusUrl" json:"tree_status_url,omitempty"`
......@@ -383,7 +429,7 @@ func (m *Verifiers_TreeStatusLgtmVerifier) Reset() { *m = Verifiers_Tree
func (m *Verifiers_TreeStatusLgtmVerifier) String() string { return proto.CompactTextString(m) }
func (*Verifiers_TreeStatusLgtmVerifier) ProtoMessage() {}
func (*Verifiers_TreeStatusLgtmVerifier) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{3, 1}
return fileDescriptor0, []int{3, 2}
}
func (m *Verifiers_TreeStatusLgtmVerifier) GetTreeStatusUrl() string {
......@@ -405,7 +451,7 @@ type Verifiers_TryJobVerifier struct {
func (m *Verifiers_TryJobVerifier) Reset() { *m = Verifiers_TryJobVerifier{} }
func (m *Verifiers_TryJobVerifier) String() string { return proto.CompactTextString(m) }
func (*Verifiers_TryJobVerifier) ProtoMessage() {}
func (*Verifiers_TryJobVerifier) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3, 2} }
func (*Verifiers_TryJobVerifier) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3, 3} }
func (m *Verifiers_TryJobVerifier) GetBuckets() []*Verifiers_TryJobVerifier_Bucket {
if m != nil {
......@@ -440,7 +486,7 @@ func (m *Verifiers_TryJobVerifier_Builder) Reset() { *m = Verifiers_TryJ
func (m *Verifiers_TryJobVerifier_Builder) String() string { return proto.CompactTextString(m) }
func (*Verifiers_TryJobVerifier_Builder) ProtoMessage() {}
func (*Verifiers_TryJobVerifier_Builder) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{3, 2, 0}
return fileDescriptor0, []int{3, 3, 0}
}
func (m *Verifiers_TryJobVerifier_Builder) GetName() string {
......@@ -478,7 +524,7 @@ func (m *Verifiers_TryJobVerifier_Bucket) Reset() { *m = Verifiers_TryJo
func (m *Verifiers_TryJobVerifier_Bucket) String() string { return proto.CompactTextString(m) }
func (*Verifiers_TryJobVerifier_Bucket) ProtoMessage() {}
func (*Verifiers_TryJobVerifier_Bucket) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{3, 2, 1}
return fileDescriptor0, []int{3, 3, 1}
}
func (m *Verifiers_TryJobVerifier_Bucket) GetName() string {
......@@ -517,7 +563,7 @@ func (m *Verifiers_TryJobVerifier_TryJobRetryConfig) String() string {
}
func (*Verifiers_TryJobVerifier_TryJobRetryConfig) ProtoMessage() {}
func (*Verifiers_TryJobVerifier_TryJobRetryConfig) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{3, 2, 2}
return fileDescriptor0, []int{3, 3, 2}
}
func (m *Verifiers_TryJobVerifier_TryJobRetryConfig) GetTryJobRetryQuota() int32 {
......@@ -562,7 +608,7 @@ type Verifiers_SignCLAVerifier struct {
func (m *Verifiers_SignCLAVerifier) Reset() { *m = Verifiers_SignCLAVerifier{} }
func (m *Verifiers_SignCLAVerifier) String() string { return proto.CompactTextString(m) }
func (*Verifiers_SignCLAVerifier) ProtoMessage() {}
func (*Verifiers_SignCLAVerifier) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3, 3} }
func (*Verifiers_SignCLAVerifier) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3, 4} }
func init() {
proto.RegisterType((*Config)(nil), "Config")
......@@ -570,6 +616,7 @@ func init() {
proto.RegisterType((*Gerrit)(nil), "Gerrit")
proto.RegisterType((*Verifiers)(nil), "Verifiers")
proto.RegisterType((*Verifiers_ReviewerLgtmVerifier)(nil), "Verifiers.ReviewerLgtmVerifier")
proto.RegisterType((*Verifiers_GerritCQAbilityVerifier)(nil), "Verifiers.GerritCQAbilityVerifier")
proto.RegisterType((*Verifiers_TreeStatusLgtmVerifier)(nil), "Verifiers.TreeStatusLgtmVerifier")
proto.RegisterType((*Verifiers_TryJobVerifier)(nil), "Verifiers.TryJobVerifier")
proto.RegisterType((*Verifiers_TryJobVerifier_Builder)(nil), "Verifiers.TryJobVerifier.Builder")
......@@ -581,65 +628,69 @@ func init() {
func init() { proto.RegisterFile("cq.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 959 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x55, 0x5b, 0x6f, 0x23, 0xb5,
0x17, 0x57, 0xd2, 0xe6, 0x76, 0x26, 0x69, 0x53, 0xff, 0xbb, 0x7f, 0xa6, 0x41, 0x74, 0xb3, 0x85,
0x45, 0x11, 0x97, 0x68, 0x15, 0xc4, 0x0b, 0x02, 0x89, 0x26, 0x2b, 0x10, 0xa8, 0xa0, 0xc5, 0xdd,
0x65, 0x1f, 0x40, 0xb2, 0x9c, 0x99, 0x93, 0x59, 0x2f, 0x73, 0x49, 0x6c, 0x4f, 0xda, 0x7c, 0x14,
0x78, 0x45, 0xbc, 0xf3, 0x11, 0x91, 0xed, 0x99, 0x49, 0xd2, 0x76, 0xdf, 0xe2, 0xdf, 0xe5, 0x78,
0xfc, 0xf3, 0x39, 0x0e, 0xb4, 0x83, 0xd5, 0x78, 0x29, 0x33, 0x9d, 0x5d, 0xfc, 0x7d, 0x08, 0xcd,
0x59, 0x96, 0x2e, 0x44,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 0xac, 0xc3, 0xc9, 0xbd,
0xc3, 0x9b, 0x3e, 0xd8, 0xcf, 0x71, 0x95, 0x67, 0x9a, 0x17, 0xff, 0x38, 0xfd, 0x9d, 0x64, 0x7e,
0x31, 0xb8, 0x79, 0xd5, 0xa3, 0x38, 0x9b, 0xf3, 0x78, 0x4f, 0xed, 0xfa, 0xaf, 0xef, 0x98, 0x1d,
0xf5, 0x33, 0x38, 0x5d, 0x70, 0x11, 0xe7, 0x12, 0x0b, 0xf9, 0x0d, 0x8a, 0xe8, 0x8d, 0xb6, 0xdd,
0xd8, 0xa0, 0xa4, 0xe0, 0xac, 0xe1, 0xb5, 0x65, 0xc8, 0x0c, 0xce, 0xb5, 0xe4, 0xa9, 0x12, 0x26,
0xb5, 0x07, 0xbd, 0x87, 0xd6, 0xfb, 0x7e, 0xa5, 0xfa, 0xee, 0x7e, 0x91, 0x67, 0x70, 0x6a, 0xde,
0xcf, 0x2c, 0xd7, 0xfb, 0xd6, 0x86, 0xdb, 0xb6, 0xe0, 0x76, 0x1c, 0x83, 0x13, 0x38, 0xbe, 0x33,
0xad, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xe7, 0xaf, 0xdd, 0x86, 0x94, 0x07, 0x00, 0x00,
// 1009 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x55, 0x6b, 0x8f, 0x1b, 0x35,
0x17, 0x56, 0xb2, 0x9b, 0xdb, 0x99, 0xa4, 0x9b, 0xf8, 0xdd, 0xbe, 0x9d, 0x06, 0xa9, 0x4d, 0x03,
0x45, 0x11, 0x97, 0xa8, 0x0a, 0xe2, 0x0b, 0x02, 0x89, 0x4d, 0x2a, 0x10, 0x68, 0xa9, 0x5a, 0x6f,
0x4b, 0x3f, 0x80, 0x64, 0x39, 0x33, 0x27, 0x53, 0x97, 0xb9, 0x24, 0xb6, 0x27, 0xbb, 0xf9, 0x29,
0xf0, 0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x53, 0xf4, 0x7b, 0x70,
0x72, 0xed, 0x7a, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0xf6, 0xac, 0x31, 0x61, 0x59, 0x08, 0x00,
0x00,
}
......@@ -45,10 +45,10 @@ message Config {
// source repository is not supported by luci-config (e.g. GitHub).
optional string git_repo_url = 10;
// Target ref to commit to. This can be used to specify a different ref than
// the one where the luci config is located. This is useful, e.g. for projects
// that use gnumbd where CQ should commit into a pending ref.
optional string target_ref = 11;
// DO NOT USE. Kept here for validator error messages
// and internal CQ usage (and insanity).
// TODO(tandrii): clean insanity internally and update this message.
optional string target_ref = 11 [deprecated = true];
// DO NOT USE. Kept here for validator error messages.
optional string svn_repo_url = 12 [deprecated = true];
......@@ -104,13 +104,19 @@ message Gerrit {
// describes types of verifiers that should be applied to each CL and their
// parameters.
message Verifiers {
// This verifier is used to ensure that an LGTM was posted to the code review
// site from a valid project committer.
// It is ignored in case of Gerrit, and you should not declare it unless you
// use both Gerrit and Rietveld for codereview. Unlike Rietveld, Gerrit has
// its own ACL system which should be set up by project admins.
// [Rietveld only] This verifier is used to ensure that an LGTM was posted to
// the code review site from a valid project committer. It also validates
// ability of non-committers to trigger CQ, which for Gerrit is done by
// GerritCQAbilityVerifier.
optional ReviewerLgtmVerifier reviewer_lgtm = 1;
// [Gerrit only] GerritCQAbilityVerifier ensures that a user who triggered
// this CQ attempt has actually rights to do so based on 3 factors:
// * membership of the user in committers & dryrunners group,
// * the state of CL/patchset on which CQ is triggered,
// * relationship of the user to the CL.
optional GerritCQAbilityVerifier gerrit_cq_ability = 5;
// This verifier is used to check tree status before committing a CL. If the
// tree is closed, then the verifier will wait until it is reopened.
optional TreeStatusLgtmVerifier tree_status = 2;
......@@ -148,6 +154,19 @@ message Verifiers {
optional string dry_run_access_list = 4;
}
message GerritCQAbilityVerifier {
// Required. Name of the chrome-infra-auth group, which contains the list of
// identities authorized to trigger CQ runs on any CLs in this project.
optional string committer_list = 1;
// Optional, but strongly recommended. Name of the chrome-infra-auth group,
// which contains the list of identities authorized to trigger CQ dry run
// on Gerrit CLs they own (not to be confused with OWNER files) even if CL
// hasn't been approved.
// This is usually the same group as tryjob-access.
optional string dry_run_access_list = 4;
}
message TreeStatusLgtmVerifier {
// Required. URL of the project tree status app.
optional string tree_status_url = 1;
......
......@@ -26,7 +26,7 @@ _sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='cq.proto',
package='',
serialized_pb=_b('\n\x08\x63q.proto\"\xeb\x02\n\x06\x43onfig\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12\x0f\n\x07\x63q_name\x18\x02 \x01(\t\x12\x1d\n\tverifiers\x18\x03 \x01(\x0b\x32\n.Verifiers\x12\x15\n\rcq_status_url\x18\x04 \x01(\t\x12%\n\x19hide_ref_in_committed_msg\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\x1a\n\x12\x63ommit_burst_delay\x18\x06 \x01(\x05\x12\x18\n\x10max_commit_burst\x18\x07 \x01(\x05\x12\x15\n\rin_production\x18\x08 \x01(\x08\x12\x1b\n\x08rietveld\x18\t \x01(\x0b\x32\t.Rietveld\x12\x17\n\x06gerrit\x18\x0f \x01(\x0b\x32\x07.Gerrit\x12\x14\n\x0cgit_repo_url\x18\n \x01(\t\x12\x12\n\ntarget_ref\x18\x0b \x01(\t\x12\x18\n\x0csvn_repo_url\x18\x0c \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x64raining_start_time\x18\r \x01(\t\".\n\x08Rietveld\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x15\n\rproject_bases\x18\x02 \x03(\t\"K\n\x06Gerrit\x12\x19\n\x11\x63q_verified_label\x18\x01 \x01(\t\x12&\n\x1e\x64ry_run_sets_cq_verified_label\x18\x02 \x01(\x08\"\xf3\x06\n\tVerifiers\x12\x36\n\rreviewer_lgtm\x18\x01 \x01(\x0b\x32\x1f.Verifiers.ReviewerLgtmVerifier\x12\x36\n\x0btree_status\x18\x02 \x01(\x0b\x32!.Verifiers.TreeStatusLgtmVerifier\x12*\n\x07try_job\x18\x03 \x01(\x0b\x32\x19.Verifiers.TryJobVerifier\x12,\n\x08sign_cla\x18\x04 \x01(\x0b\x32\x1a.Verifiers.SignCLAVerifier\x1aw\n\x14ReviewerLgtmVerifier\x12\x16\n\x0e\x63ommitter_list\x18\x01 \x01(\t\x12\x15\n\rmax_wait_secs\x18\x02 \x01(\x05\x12\x13\n\x0bno_lgtm_msg\x18\x03 \x01(\t\x12\x1b\n\x13\x64ry_run_access_list\x18\x04 \x01(\t\x1a\x31\n\x16TreeStatusLgtmVerifier\x12\x17\n\x0ftree_status_url\x18\x01 \x01(\t\x1a\xdc\x03\n\x0eTryJobVerifier\x12\x31\n\x07\x62uckets\x18\x01 \x03(\x0b\x32 .Verifiers.TryJobVerifier.Bucket\x12I\n\x14try_job_retry_config\x18\x02 \x01(\x0b\x32+.Verifiers.TryJobVerifier.TryJobRetryConfig\x1aL\n\x07\x42uilder\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0ctriggered_by\x18\x02 \x01(\t\x12\x1d\n\x15\x65xperiment_percentage\x18\x04 \x01(\x02\x1aK\n\x06\x42ucket\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x33\n\x08\x62uilders\x18\x02 \x03(\x0b\x32!.Verifiers.TryJobVerifier.Builder\x1a\xb0\x01\n\x11TryJobRetryConfig\x12\x1b\n\x13try_job_retry_quota\x18\x01 \x01(\x05\x12\x1a\n\x12global_retry_quota\x18\x02 \x01(\x05\x12\x1c\n\x14\x66\x61ilure_retry_weight\x18\x03 \x01(\x05\x12&\n\x1etransient_failure_retry_weight\x18\x04 \x01(\x05\x12\x1c\n\x14timeout_retry_weight\x18\x05 \x01(\x05\x1a\x11\n\x0fSignCLAVerifier')
serialized_pb=_b('\n\x08\x63q.proto\"\xef\x02\n\x06\x43onfig\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12\x0f\n\x07\x63q_name\x18\x02 \x01(\t\x12\x1d\n\tverifiers\x18\x03 \x01(\x0b\x32\n.Verifiers\x12\x15\n\rcq_status_url\x18\x04 \x01(\t\x12%\n\x19hide_ref_in_committed_msg\x18\x05 \x01(\x08\x42\x02\x18\x01\x12\x1a\n\x12\x63ommit_burst_delay\x18\x06 \x01(\x05\x12\x18\n\x10max_commit_burst\x18\x07 \x01(\x05\x12\x15\n\rin_production\x18\x08 \x01(\x08\x12\x1b\n\x08rietveld\x18\t \x01(\x0b\x32\t.Rietveld\x12\x17\n\x06gerrit\x18\x0f \x01(\x0b\x32\x07.Gerrit\x12\x14\n\x0cgit_repo_url\x18\n \x01(\t\x12\x16\n\ntarget_ref\x18\x0b \x01(\tB\x02\x18\x01\x12\x18\n\x0csvn_repo_url\x18\x0c \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x64raining_start_time\x18\r \x01(\t\".\n\x08Rietveld\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x15\n\rproject_bases\x18\x02 \x03(\t\"K\n\x06Gerrit\x12\x19\n\x11\x63q_verified_label\x18\x01 \x01(\t\x12&\n\x1e\x64ry_run_sets_cq_verified_label\x18\x02 \x01(\x08\"\x82\x08\n\tVerifiers\x12\x36\n\rreviewer_lgtm\x18\x01 \x01(\x0b\x32\x1f.Verifiers.ReviewerLgtmVerifier\x12=\n\x11gerrit_cq_ability\x18\x05 \x01(\x0b\x32\".Verifiers.GerritCQAbilityVerifier\x12\x36\n\x0btree_status\x18\x02 \x01(\x0b\x32!.Verifiers.TreeStatusLgtmVerifier\x12*\n\x07try_job\x18\x03 \x01(\x0b\x32\x19.Verifiers.TryJobVerifier\x12,\n\x08sign_cla\x18\x04 \x01(\x0b\x32\x1a.Verifiers.SignCLAVerifier\x1aw\n\x14ReviewerLgtmVerifier\x12\x16\n\x0e\x63ommitter_list\x18\x01 \x01(\t\x12\x15\n\rmax_wait_secs\x18\x02 \x01(\x05\x12\x13\n\x0bno_lgtm_msg\x18\x03 \x01(\t\x12\x1b\n\x13\x64ry_run_access_list\x18\x04 \x01(\t\x1aN\n\x17GerritCQAbilityVerifier\x12\x16\n\x0e\x63ommitter_list\x18\x01 \x01(\t\x12\x1b\n\x13\x64ry_run_access_list\x18\x04 \x01(\t\x1a\x31\n\x16TreeStatusLgtmVerifier\x12\x17\n\x0ftree_status_url\x18\x01 \x01(\t\x1a\xdc\x03\n\x0eTryJobVerifier\x12\x31\n\x07\x62uckets\x18\x01 \x03(\x0b\x32 .Verifiers.TryJobVerifier.Bucket\x12I\n\x14try_job_retry_config\x18\x02 \x01(\x0b\x32+.Verifiers.TryJobVerifier.TryJobRetryConfig\x1aL\n\x07\x42uilder\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0ctriggered_by\x18\x02 \x01(\t\x12\x1d\n\x15\x65xperiment_percentage\x18\x04 \x01(\x02\x1aK\n\x06\x42ucket\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x33\n\x08\x62uilders\x18\x02 \x03(\x0b\x32!.Verifiers.TryJobVerifier.Builder\x1a\xb0\x01\n\x11TryJobRetryConfig\x12\x1b\n\x13try_job_retry_quota\x18\x01 \x01(\x05\x12\x1a\n\x12global_retry_quota\x18\x02 \x01(\x05\x12\x1c\n\x14\x66\x61ilure_retry_weight\x18\x03 \x01(\x05\x12&\n\x1etransient_failure_retry_weight\x18\x04 \x01(\x05\x12\x1c\n\x14timeout_retry_weight\x18\x05 \x01(\x05\x1a\x11\n\x0fSignCLAVerifier')
)
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
......@@ -123,7 +123,7 @@ _CONFIG = _descriptor.Descriptor(
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))),
_descriptor.FieldDescriptor(
name='svn_repo_url', full_name='Config.svn_repo_url', index=12,
number=12, type=9, cpp_type=9, label=1,
......@@ -150,7 +150,7 @@ _CONFIG = _descriptor.Descriptor(
oneofs=[
],
serialized_start=13,
serialized_end=376,
serialized_end=380,
)
......@@ -186,8 +186,8 @@ _RIETVELD = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=378,
serialized_end=424,
serialized_start=382,
serialized_end=428,
)
......@@ -223,8 +223,8 @@ _GERRIT = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=426,
serialized_end=501,
serialized_start=430,
serialized_end=505,
)
......@@ -274,8 +274,44 @@ _VERIFIERS_REVIEWERLGTMVERIFIER = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=719,
serialized_end=838,
serialized_start=786,
serialized_end=905,
)
_VERIFIERS_GERRITCQABILITYVERIFIER = _descriptor.Descriptor(
name='GerritCQAbilityVerifier',
full_name='Verifiers.GerritCQAbilityVerifier',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='committer_list', full_name='Verifiers.GerritCQAbilityVerifier.committer_list', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='dry_run_access_list', full_name='Verifiers.GerritCQAbilityVerifier.dry_run_access_list', index=1,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
oneofs=[
],
serialized_start=907,
serialized_end=985,
)
_VERIFIERS_TREESTATUSLGTMVERIFIER = _descriptor.Descriptor(
......@@ -303,8 +339,8 @@ _VERIFIERS_TREESTATUSLGTMVERIFIER = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=840,
serialized_end=889,
serialized_start=987,
serialized_end=1036,
)
_VERIFIERS_TRYJOBVERIFIER_BUILDER = _descriptor.Descriptor(
......@@ -346,8 +382,8 @@ _VERIFIERS_TRYJOBVERIFIER_BUILDER = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1036,
serialized_end=1112,
serialized_start=1183,
serialized_end=1259,
)
_VERIFIERS_TRYJOBVERIFIER_BUCKET = _descriptor.Descriptor(
......@@ -382,8 +418,8 @@ _VERIFIERS_TRYJOBVERIFIER_BUCKET = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1114,
serialized_end=1189,
serialized_start=1261,
serialized_end=1336,
)
_VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG = _descriptor.Descriptor(
......@@ -439,8 +475,8 @@ _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1192,
serialized_end=1368,
serialized_start=1339,
serialized_end=1515,
)
_VERIFIERS_TRYJOBVERIFIER = _descriptor.Descriptor(
......@@ -475,8 +511,8 @@ _VERIFIERS_TRYJOBVERIFIER = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=892,
serialized_end=1368,
serialized_start=1039,
serialized_end=1515,
)
_VERIFIERS_SIGNCLAVERIFIER = _descriptor.Descriptor(
......@@ -497,8 +533,8 @@ _VERIFIERS_SIGNCLAVERIFIER = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1370,
serialized_end=1387,
serialized_start=1517,
serialized_end=1534,
)
_VERIFIERS = _descriptor.Descriptor(
......@@ -516,21 +552,28 @@ _VERIFIERS = _descriptor.Descriptor(
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='tree_status', full_name='Verifiers.tree_status', index=1,
name='gerrit_cq_ability', full_name='Verifiers.gerrit_cq_ability', index=1,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='tree_status', full_name='Verifiers.tree_status', index=2,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='try_job', full_name='Verifiers.try_job', index=2,
name='try_job', full_name='Verifiers.try_job', index=3,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='sign_cla', full_name='Verifiers.sign_cla', index=3,
name='sign_cla', full_name='Verifiers.sign_cla', index=4,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
......@@ -539,7 +582,7 @@ _VERIFIERS = _descriptor.Descriptor(
],
extensions=[
],
nested_types=[_VERIFIERS_REVIEWERLGTMVERIFIER, _VERIFIERS_TREESTATUSLGTMVERIFIER, _VERIFIERS_TRYJOBVERIFIER, _VERIFIERS_SIGNCLAVERIFIER, ],
nested_types=[_VERIFIERS_REVIEWERLGTMVERIFIER, _VERIFIERS_GERRITCQABILITYVERIFIER, _VERIFIERS_TREESTATUSLGTMVERIFIER, _VERIFIERS_TRYJOBVERIFIER, _VERIFIERS_SIGNCLAVERIFIER, ],
enum_types=[
],
options=None,
......@@ -547,14 +590,15 @@ _VERIFIERS = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=504,
serialized_end=1387,
serialized_start=508,
serialized_end=1534,
)
_CONFIG.fields_by_name['verifiers'].message_type = _VERIFIERS
_CONFIG.fields_by_name['rietveld'].message_type = _RIETVELD
_CONFIG.fields_by_name['gerrit'].message_type = _GERRIT
_VERIFIERS_REVIEWERLGTMVERIFIER.containing_type = _VERIFIERS
_VERIFIERS_GERRITCQABILITYVERIFIER.containing_type = _VERIFIERS
_VERIFIERS_TREESTATUSLGTMVERIFIER.containing_type = _VERIFIERS
_VERIFIERS_TRYJOBVERIFIER_BUILDER.containing_type = _VERIFIERS_TRYJOBVERIFIER
_VERIFIERS_TRYJOBVERIFIER_BUCKET.fields_by_name['builders'].message_type = _VERIFIERS_TRYJOBVERIFIER_BUILDER
......@@ -565,6 +609,7 @@ _VERIFIERS_TRYJOBVERIFIER.fields_by_name['try_job_retry_config'].message_type =
_VERIFIERS_TRYJOBVERIFIER.containing_type = _VERIFIERS
_VERIFIERS_SIGNCLAVERIFIER.containing_type = _VERIFIERS
_VERIFIERS.fields_by_name['reviewer_lgtm'].message_type = _VERIFIERS_REVIEWERLGTMVERIFIER
_VERIFIERS.fields_by_name['gerrit_cq_ability'].message_type = _VERIFIERS_GERRITCQABILITYVERIFIER
_VERIFIERS.fields_by_name['tree_status'].message_type = _VERIFIERS_TREESTATUSLGTMVERIFIER
_VERIFIERS.fields_by_name['try_job'].message_type = _VERIFIERS_TRYJOBVERIFIER
_VERIFIERS.fields_by_name['sign_cla'].message_type = _VERIFIERS_SIGNCLAVERIFIER
......@@ -603,6 +648,13 @@ Verifiers = _reflection.GeneratedProtocolMessageType('Verifiers', (_message.Mess
))
,
GerritCQAbilityVerifier = _reflection.GeneratedProtocolMessageType('GerritCQAbilityVerifier', (_message.Message,), dict(
DESCRIPTOR = _VERIFIERS_GERRITCQABILITYVERIFIER,
__module__ = 'cq_pb2'
# @@protoc_insertion_point(class_scope:Verifiers.GerritCQAbilityVerifier)
))
,
TreeStatusLgtmVerifier = _reflection.GeneratedProtocolMessageType('TreeStatusLgtmVerifier', (_message.Message,), dict(
DESCRIPTOR = _VERIFIERS_TREESTATUSLGTMVERIFIER,
__module__ = 'cq_pb2'
......@@ -650,6 +702,7 @@ Verifiers = _reflection.GeneratedProtocolMessageType('Verifiers', (_message.Mess
))
_sym_db.RegisterMessage(Verifiers)
_sym_db.RegisterMessage(Verifiers.ReviewerLgtmVerifier)
_sym_db.RegisterMessage(Verifiers.GerritCQAbilityVerifier)
_sym_db.RegisterMessage(Verifiers.TreeStatusLgtmVerifier)
_sym_db.RegisterMessage(Verifiers.TryJobVerifier)
_sym_db.RegisterMessage(Verifiers.TryJobVerifier.Builder)
......@@ -660,6 +713,8 @@ _sym_db.RegisterMessage(Verifiers.SignCLAVerifier)
_CONFIG.fields_by_name['hide_ref_in_committed_msg'].has_options = True
_CONFIG.fields_by_name['hide_ref_in_committed_msg']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
_CONFIG.fields_by_name['target_ref'].has_options = True
_CONFIG.fields_by_name['target_ref']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
_CONFIG.fields_by_name['svn_repo_url'].has_options = True
_CONFIG.fields_by_name['svn_repo_url']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
# @@protoc_insertion_point(module_scope)
......@@ -5,7 +5,6 @@ commit_burst_delay: 600
max_commit_burst: 10
in_production: false
git_repo_url: "http://chromium.googlesource.com/infra/infra.git"
target_ref: "refs/pending/heads/master"
rietveld {
url: "https://codereview.chromium.org"
......
......@@ -5,7 +5,6 @@ commit_burst_delay: 600
max_commit_burst: 10
in_production: false
git_repo_url: "https://chromium.googlesource.com/infra/infra.git"
target_ref: "refs/pending/heads/master"
gerrit {
cq_verified_label: "Commit-Queue-Verified"
......
......@@ -5,7 +5,6 @@ commit_burst_delay: 600
max_commit_burst: 10
in_production: false
git_repo_url: "http://github.com/infra/infra.git"
target_ref: "refs/pending/heads/master"
rietveld {
url: "https://codereview.chromium.org"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment