Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2328)

Unified Diff: appengine/cr-buildbucket/proto/project_config_pb2.py

Issue 2209583003: swarmbucket: refactor builder defaults (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: deepcopy and subctx Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/cr-buildbucket/proto/project_config.proto ('k') | appengine/cr-buildbucket/swarming/swarming.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cr-buildbucket/proto/project_config_pb2.py
diff --git a/appengine/cr-buildbucket/proto/project_config_pb2.py b/appengine/cr-buildbucket/proto/project_config_pb2.py
index aad0d02bf06831a0c8337b45c8e8ced90c3e3cb0..5694a74c29100f155dd3ab496ef910d0605dc1f5 100644
--- a/appengine/cr-buildbucket/proto/project_config_pb2.py
+++ b/appengine/cr-buildbucket/proto/project_config_pb2.py
@@ -13,7 +13,7 @@ from google.protobuf import descriptor_pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='project_config.proto',
package='buildbucket',
- serialized_pb='\n\x14project_config.proto\x12\x0b\x62uildbucket\"z\n\x03\x41\x63l\x12#\n\x04role\x18\x01 \x01(\x0e\x32\x15.buildbucket.Acl.Role\x12\r\n\x05group\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\"-\n\x04Role\x12\n\n\x06READER\x10\x00\x12\r\n\tSCHEDULER\x10\x01\x12\n\n\x06WRITER\x10\x02\"\xac\x04\n\x08Swarming\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x12\n\nurl_format\x18\x02 \x01(\t\x12\x1c\n\x14\x63ommon_swarming_tags\x18\x03 \x03(\t\x12\x19\n\x11\x63ommon_dimensions\x18\x04 \x03(\t\x12/\n\x08\x62uilders\x18\x05 \x03(\x0b\x32\x1d.buildbucket.Swarming.Builder\x12\x33\n\rcommon_recipe\x18\x06 \x01(\x0b\x32\x1c.buildbucket.Swarming.Recipe\x12%\n\x1d\x63ommon_execution_timeout_secs\x18\x07 \x01(\r\x12\'\n\x1ftask_template_canary_percentage\x18\x08 \x01(\r\x1aT\n\x06Recipe\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nproperties\x18\x03 \x03(\t\x12\x14\n\x0cproperties_j\x18\x04 \x03(\t\x1a\xb4\x01\n\x07\x42uilder\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x06 \x01(\t\x12\x15\n\rswarming_tags\x18\x02 \x03(\t\x12\x12\n\ndimensions\x18\x03 \x03(\t\x12,\n\x06recipe\x18\x04 \x01(\x0b\x32\x1c.buildbucket.Swarming.Recipe\x12\x10\n\x08priority\x18\x05 \x01(\r\x12\x1e\n\x16\x65xecution_timeout_secs\x18\x07 \x01(\r\"_\n\x06\x42ucket\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x04\x61\x63ls\x18\x02 \x03(\x0b\x32\x10.buildbucket.Acl\x12\'\n\x08swarming\x18\x03 \x01(\x0b\x32\x15.buildbucket.Swarming\"6\n\x0e\x42uildbucketCfg\x12$\n\x07\x62uckets\x18\x01 \x03(\x0b\x32\x13.buildbucket.Bucket')
+ serialized_pb='\n\x14project_config.proto\x12\x0b\x62uildbucket\"z\n\x03\x41\x63l\x12#\n\x04role\x18\x01 \x01(\x0e\x32\x15.buildbucket.Acl.Role\x12\r\n\x05group\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\"-\n\x04Role\x12\n\n\x06READER\x10\x00\x12\r\n\tSCHEDULER\x10\x01\x12\n\n\x06WRITER\x10\x02\"\xe5\x04\n\x08Swarming\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x12\n\nurl_format\x18\x02 \x01(\t\x12\x37\n\x10\x62uilder_defaults\x18\t \x01(\x0b\x32\x1d.buildbucket.Swarming.Builder\x12\x1c\n\x14\x63ommon_swarming_tags\x18\x03 \x03(\t\x12\x19\n\x11\x63ommon_dimensions\x18\x04 \x03(\t\x12/\n\x08\x62uilders\x18\x05 \x03(\x0b\x32\x1d.buildbucket.Swarming.Builder\x12\x33\n\rcommon_recipe\x18\x06 \x01(\x0b\x32\x1c.buildbucket.Swarming.Recipe\x12%\n\x1d\x63ommon_execution_timeout_secs\x18\x07 \x01(\r\x12\'\n\x1ftask_template_canary_percentage\x18\x08 \x01(\r\x1aT\n\x06Recipe\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nproperties\x18\x03 \x03(\t\x12\x14\n\x0cproperties_j\x18\x04 \x03(\t\x1a\xb4\x01\n\x07\x42uilder\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x06 \x01(\t\x12\x15\n\rswarming_tags\x18\x02 \x03(\t\x12\x12\n\ndimensions\x18\x03 \x03(\t\x12,\n\x06recipe\x18\x04 \x01(\x0b\x32\x1c.buildbucket.Swarming.Recipe\x12\x10\n\x08priority\x18\x05 \x01(\r\x12\x1e\n\x16\x65xecution_timeout_secs\x18\x07 \x01(\r\"_\n\x06\x42ucket\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x04\x61\x63ls\x18\x02 \x03(\x0b\x32\x10.buildbucket.Acl\x12\'\n\x08swarming\x18\x03 \x01(\x0b\x32\x15.buildbucket.Swarming\"6\n\x0e\x42uildbucketCfg\x12$\n\x07\x62uckets\x18\x01 \x03(\x0b\x32\x13.buildbucket.Bucket')
@@ -130,8 +130,8 @@ _SWARMING_RECIPE = _descriptor.Descriptor(
options=None,
is_extendable=False,
extension_ranges=[],
- serialized_start=451,
- serialized_end=535,
+ serialized_start=508,
+ serialized_end=592,
)
_SWARMING_BUILDER = _descriptor.Descriptor(
@@ -199,8 +199,8 @@ _SWARMING_BUILDER = _descriptor.Descriptor(
options=None,
is_extendable=False,
extension_ranges=[],
- serialized_start=538,
- serialized_end=718,
+ serialized_start=595,
+ serialized_end=775,
)
_SWARMING = _descriptor.Descriptor(
@@ -225,42 +225,49 @@ _SWARMING = _descriptor.Descriptor(
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
- name='common_swarming_tags', full_name='buildbucket.Swarming.common_swarming_tags', index=2,
+ name='builder_defaults', full_name='buildbucket.Swarming.builder_defaults', index=2,
+ number=9, 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='common_swarming_tags', full_name='buildbucket.Swarming.common_swarming_tags', index=3,
number=3, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
- name='common_dimensions', full_name='buildbucket.Swarming.common_dimensions', index=3,
+ name='common_dimensions', full_name='buildbucket.Swarming.common_dimensions', index=4,
number=4, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
- name='builders', full_name='buildbucket.Swarming.builders', index=4,
+ name='builders', full_name='buildbucket.Swarming.builders', index=5,
number=5, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
- name='common_recipe', full_name='buildbucket.Swarming.common_recipe', index=5,
+ name='common_recipe', full_name='buildbucket.Swarming.common_recipe', index=6,
number=6, 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='common_execution_timeout_secs', full_name='buildbucket.Swarming.common_execution_timeout_secs', index=6,
+ name='common_execution_timeout_secs', full_name='buildbucket.Swarming.common_execution_timeout_secs', index=7,
number=7, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
- name='task_template_canary_percentage', full_name='buildbucket.Swarming.task_template_canary_percentage', index=7,
+ name='task_template_canary_percentage', full_name='buildbucket.Swarming.task_template_canary_percentage', index=8,
number=8, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
@@ -276,7 +283,7 @@ _SWARMING = _descriptor.Descriptor(
is_extendable=False,
extension_ranges=[],
serialized_start=162,
- serialized_end=718,
+ serialized_end=775,
)
@@ -317,8 +324,8 @@ _BUCKET = _descriptor.Descriptor(
options=None,
is_extendable=False,
extension_ranges=[],
- serialized_start=720,
- serialized_end=815,
+ serialized_start=777,
+ serialized_end=872,
)
@@ -345,8 +352,8 @@ _BUILDBUCKETCFG = _descriptor.Descriptor(
options=None,
is_extendable=False,
extension_ranges=[],
- serialized_start=817,
- serialized_end=871,
+ serialized_start=874,
+ serialized_end=928,
)
_ACL.fields_by_name['role'].enum_type = _ACL_ROLE
@@ -354,6 +361,7 @@ _ACL_ROLE.containing_type = _ACL;
_SWARMING_RECIPE.containing_type = _SWARMING;
_SWARMING_BUILDER.fields_by_name['recipe'].message_type = _SWARMING_RECIPE
_SWARMING_BUILDER.containing_type = _SWARMING;
+_SWARMING.fields_by_name['builder_defaults'].message_type = _SWARMING_BUILDER
_SWARMING.fields_by_name['builders'].message_type = _SWARMING_BUILDER
_SWARMING.fields_by_name['common_recipe'].message_type = _SWARMING_RECIPE
_BUCKET.fields_by_name['acls'].message_type = _ACL
« no previous file with comments | « appengine/cr-buildbucket/proto/project_config.proto ('k') | appengine/cr-buildbucket/swarming/swarming.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698