libv8 6.3.292.48.1 → 6.7.288.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +10 -34
  3. data/CHANGELOG.md +16 -0
  4. data/README.md +9 -63
  5. data/Rakefile +2 -2
  6. data/ext/libv8/builder.rb +22 -87
  7. data/ext/libv8/extconf.rb +1 -1
  8. data/ext/libv8/paths.rb +5 -18
  9. data/lib/libv8/version.rb +1 -1
  10. data/spec/location_spec.rb +1 -2
  11. data/spec/spec_helper.rb +0 -1
  12. data/vendor/depot_tools/.gitattributes +1 -2
  13. data/vendor/depot_tools/OWNERS +0 -1
  14. data/vendor/depot_tools/PRESUBMIT.py +11 -6
  15. data/vendor/depot_tools/README.md +0 -1
  16. data/vendor/depot_tools/WATCHLISTS +0 -6
  17. data/vendor/depot_tools/auth.py +129 -87
  18. data/vendor/depot_tools/autoninja +11 -1
  19. data/vendor/depot_tools/autoninja.bat +7 -1
  20. data/vendor/depot_tools/autoninja.py +14 -6
  21. data/vendor/depot_tools/bootstrap/win/manifest.txt +1 -1
  22. data/vendor/depot_tools/bootstrap/win/manifest_bleeding_edge.txt +1 -1
  23. data/vendor/depot_tools/cipd +23 -2
  24. data/vendor/depot_tools/cipd.bat +2 -2
  25. data/vendor/depot_tools/cipd_client_version +1 -1
  26. data/vendor/depot_tools/cipd_manifest.txt +17 -7
  27. data/vendor/depot_tools/cit.py +7 -6
  28. data/vendor/depot_tools/cpplint.py +195 -35
  29. data/vendor/depot_tools/detect_host_arch.py +51 -0
  30. data/vendor/depot_tools/download_from_google_storage.py +85 -26
  31. data/vendor/depot_tools/fetch.py +11 -6
  32. data/vendor/depot_tools/fetch_configs/chromium.py +0 -1
  33. data/vendor/depot_tools/fetch_configs/goma_client.py +41 -0
  34. data/vendor/depot_tools/fetch_configs/infra.py +0 -1
  35. data/vendor/depot_tools/fetch_configs/infra_internal.py +0 -1
  36. data/vendor/depot_tools/gclient-new-workdir.py +4 -0
  37. data/vendor/depot_tools/gclient.py +732 -476
  38. data/vendor/depot_tools/gclient_eval.py +569 -58
  39. data/vendor/depot_tools/gclient_scm.py +258 -46
  40. data/vendor/depot_tools/gclient_utils.py +17 -1
  41. data/vendor/depot_tools/gerrit_util.py +46 -13
  42. data/vendor/depot_tools/git_cache.py +0 -2
  43. data/vendor/depot_tools/git_cl.py +176 -335
  44. data/vendor/depot_tools/git_common.py +19 -16
  45. data/vendor/depot_tools/git_footers.py +19 -5
  46. data/vendor/depot_tools/git_hyper_blame.py +9 -3
  47. data/vendor/depot_tools/git_new_branch.py +15 -3
  48. data/vendor/depot_tools/git_upstream_diff.py +7 -2
  49. data/vendor/depot_tools/gsutil.py +1 -1
  50. data/vendor/depot_tools/infra/config/cq.cfg +1 -2
  51. data/vendor/depot_tools/infra/config/recipes.cfg +1 -1
  52. data/vendor/depot_tools/luci-auth +13 -0
  53. data/vendor/depot_tools/luci-auth.bat +8 -0
  54. data/vendor/depot_tools/man/html/depot_tools.html +0 -8
  55. data/vendor/depot_tools/man/html/git-upstream-diff.html +20 -3
  56. data/vendor/depot_tools/man/man1/git-upstream-diff.1 +27 -6
  57. data/vendor/depot_tools/man/man7/depot_tools.7 +0 -5
  58. data/vendor/depot_tools/man/man7/depot_tools_tutorial.7 +2 -2
  59. data/vendor/depot_tools/man/src/git-upstream-diff.txt +21 -3
  60. data/vendor/depot_tools/man/src/make_docs.sh +6 -0
  61. data/vendor/depot_tools/my_activity.py +283 -93
  62. data/vendor/depot_tools/owners.py +9 -4
  63. data/vendor/depot_tools/owners_finder.py +7 -3
  64. data/vendor/depot_tools/post_build_ninja_summary.py +322 -0
  65. data/vendor/depot_tools/presubmit_canned_checks.py +91 -106
  66. data/vendor/depot_tools/presubmit_support.py +219 -157
  67. data/vendor/depot_tools/prpc +13 -0
  68. data/vendor/depot_tools/prpc.bat +8 -0
  69. data/vendor/depot_tools/recipes/OWNERS +3 -1
  70. data/vendor/depot_tools/recipes/README.recipes.md +70 -111
  71. data/vendor/depot_tools/recipes/recipe_modules/bot_update/__init__.py +12 -5
  72. data/vendor/depot_tools/recipes/recipe_modules/bot_update/api.py +36 -68
  73. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/deprecated_got_revision_mapping.json +0 -8
  74. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{trychange_oauth2_json.json → no_apply_patch_on_gclient.json} +64 -10
  75. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{no_shallow.json → shallow.json} +1 -1
  76. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob.json +0 -8
  77. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_empty_revision.json +0 -8
  78. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail.json +0 -6
  79. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch.json +0 -7
  80. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_fail_patch_download.json +0 -6
  81. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_gerrit_angle_deprecated.json +44 -0
  82. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/{trychange_oauth2_buildbot.json → tryjob_gerrit_branch_heads.json} +51 -5
  83. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8.json +0 -8
  84. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/tryjob_v8_head_by_default.json +48 -8
  85. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.py +19 -26
  86. data/vendor/depot_tools/recipes/recipe_modules/bot_update/resources/bot_update.py +193 -155
  87. data/vendor/depot_tools/recipes/recipe_modules/bot_update/test_api.py +9 -0
  88. data/vendor/depot_tools/recipes/recipe_modules/gclient/api.py +2 -7
  89. data/vendor/depot_tools/recipes/recipe_modules/gclient/config.py +31 -5
  90. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/basic.json +37 -19
  91. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/buildbot.json +37 -19
  92. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/revision.json +37 -19
  93. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.expected/tryserver.json +37 -23
  94. data/vendor/depot_tools/recipes/recipe_modules/gclient/examples/full.py +4 -0
  95. data/vendor/depot_tools/recipes/recipe_modules/gerrit/api.py +40 -8
  96. data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.expected/basic.json +3 -3
  97. data/vendor/depot_tools/recipes/recipe_modules/gerrit/examples/full.py +6 -3
  98. data/vendor/depot_tools/recipes/recipe_modules/gitiles/OWNERS +0 -1
  99. data/vendor/depot_tools/recipes/recipe_modules/tryserver/__init__.py +0 -1
  100. data/vendor/depot_tools/recipes/recipe_modules/tryserver/api.py +7 -56
  101. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_wrong_patch.json +0 -1
  102. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.py +15 -16
  103. data/vendor/depot_tools/recipes/recipes.py +4 -2
  104. data/vendor/depot_tools/recipes/trigger_recipe_roller.txt +12 -0
  105. data/vendor/depot_tools/roll_dep.py +35 -37
  106. data/vendor/depot_tools/support/chromite_wrapper +1 -1
  107. data/vendor/depot_tools/third_party/logilab/astroid/README.chromium +3 -3
  108. data/vendor/depot_tools/third_party/logilab/astroid/__pkginfo__.py +2 -2
  109. data/vendor/depot_tools/third_party/logilab/astroid/astpeephole.py +86 -0
  110. data/vendor/depot_tools/third_party/logilab/astroid/bases.py +53 -66
  111. data/vendor/depot_tools/third_party/logilab/astroid/brain/py2pytest.py +31 -31
  112. data/vendor/depot_tools/third_party/logilab/astroid/brain/pynose.py +39 -16
  113. data/vendor/depot_tools/third_party/logilab/astroid/brain/pysix_moves.py +225 -189
  114. data/vendor/depot_tools/third_party/logilab/astroid/inference.py +45 -41
  115. data/vendor/depot_tools/third_party/logilab/astroid/manager.py +1 -0
  116. data/vendor/depot_tools/third_party/logilab/astroid/modutils.py +2 -2
  117. data/vendor/depot_tools/third_party/logilab/astroid/node_classes.py +3 -2
  118. data/vendor/depot_tools/third_party/logilab/astroid/nodes.py +1 -0
  119. data/vendor/depot_tools/third_party/logilab/astroid/protocols.py +57 -3
  120. data/vendor/depot_tools/third_party/logilab/astroid/raw_building.py +1 -1
  121. data/vendor/depot_tools/third_party/logilab/astroid/rebuilder.py +21 -1
  122. data/vendor/depot_tools/third_party/logilab/astroid/scoped_nodes.py +58 -33
  123. data/vendor/depot_tools/third_party/pylint/README.chromium +2 -2
  124. data/vendor/depot_tools/third_party/pylint/__pkginfo__.py +3 -3
  125. data/vendor/depot_tools/third_party/pylint/checkers/base.py +6 -18
  126. data/vendor/depot_tools/third_party/pylint/checkers/classes.py +64 -63
  127. data/vendor/depot_tools/third_party/pylint/checkers/design_analysis.py +25 -57
  128. data/vendor/depot_tools/third_party/pylint/checkers/format.py +14 -10
  129. data/vendor/depot_tools/third_party/pylint/checkers/python3.py +142 -37
  130. data/vendor/depot_tools/third_party/pylint/checkers/spelling.py +10 -1
  131. data/vendor/depot_tools/third_party/pylint/checkers/stdlib.py +50 -7
  132. data/vendor/depot_tools/third_party/pylint/checkers/strings.py +1 -1
  133. data/vendor/depot_tools/third_party/pylint/epylint.py +2 -1
  134. data/vendor/depot_tools/third_party/pylint/gui.py +1 -1
  135. data/vendor/depot_tools/third_party/pylint/lint.py +88 -23
  136. data/vendor/depot_tools/third_party/pylint/reporters/html.py +37 -5
  137. data/vendor/depot_tools/third_party/pylint/testutils.py +1 -1
  138. data/vendor/depot_tools/third_party/pylint/utils.py +5 -0
  139. data/vendor/depot_tools/vpython +31 -1
  140. data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +35 -2
  141. data/vendor/depot_tools/win_toolchain/package_from_installed.py +0 -15
  142. data/vendor/depot_tools/yapf +17 -0
  143. data/vendor/depot_tools/{apply_issue.bat → yapf.bat} +2 -2
  144. metadata +16 -58
  145. data/ext/libv8/compiler.rb +0 -39
  146. data/ext/libv8/compiler/apple_llvm.rb +0 -22
  147. data/ext/libv8/compiler/clang.rb +0 -22
  148. data/ext/libv8/compiler/gcc.rb +0 -22
  149. data/ext/libv8/compiler/generic_compiler.rb +0 -66
  150. data/ext/libv8/make.rb +0 -13
  151. data/ext/libv8/patcher.rb +0 -21
  152. data/patches/0001-Build-a-standalone-static-library.patch +0 -26
  153. data/patches/0002-Don-t-compile-unnecessary-stuff.patch +0 -85
  154. data/patches/0003-Use-the-fPIC-flag-for-the-static-library.patch +0 -25
  155. data/patches/0004-Do-not-embed-debug-symbols-in-macOS-libraries.patch +0 -25
  156. data/patches/0005-Remove-TryInstallOptimizedCode.patch +0 -321
  157. data/patches/mingw-generate-makefiles.sh +0 -97
  158. data/spec/compiler/apple_llvm_spec.rb +0 -37
  159. data/spec/compiler/clang_spec.rb +0 -37
  160. data/spec/compiler/gcc_spec.rb +0 -37
  161. data/spec/compiler/generic_compiler_spec.rb +0 -50
  162. data/spec/compiler_spec.rb +0 -45
  163. data/spec/support/compiler_helpers.rb +0 -47
  164. data/vendor/depot_tools/apply_issue +0 -8
  165. data/vendor/depot_tools/apply_issue.py +0 -315
  166. data/vendor/depot_tools/man/html/git-cherry-pick-upload.html +0 -815
  167. data/vendor/depot_tools/man/man1/git-cherry-pick-upload.1 +0 -80
  168. data/vendor/depot_tools/man/src/_git-cherry-pick-upload_desc.helper.txt +0 -1
  169. data/vendor/depot_tools/man/src/git-cherry-pick-upload.demo.1.sh +0 -17
  170. data/vendor/depot_tools/man/src/git-cherry-pick-upload.txt +0 -35
  171. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2.json +0 -8
  172. data/vendor/depot_tools/recipes/recipe_modules/bot_update/examples/full.expected/trychange_oauth2_json_win.json +0 -196
  173. data/vendor/depot_tools/recipes/recipe_modules/rietveld/__init__.py +0 -6
  174. data/vendor/depot_tools/recipes/recipe_modules/rietveld/api.py +0 -97
  175. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/basic.json +0 -8
  176. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/buildbot.json +0 -30
  177. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.expected/no_auth.json +0 -27
  178. data/vendor/depot_tools/recipes/recipe_modules/rietveld/examples/full.py +0 -38
  179. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_rietveld_patch.json +0 -69
  180. data/vendor/depot_tools/recipes/recipe_modules/tryserver/examples/full.expected/with_rietveld_patch_new.json +0 -69
  181. data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -2
  182. data/vendor/depot_tools/third_party/cq_client/README.depot_tools.md +0 -2
  183. data/vendor/depot_tools/third_party/cq_client/README.md +0 -59
  184. data/vendor/depot_tools/third_party/cq_client/__init__.py +0 -3
  185. data/vendor/depot_tools/third_party/cq_client/v1/__init__.py +0 -3
  186. data/vendor/depot_tools/third_party/cq_client/v1/cq.pb.go +0 -810
  187. data/vendor/depot_tools/third_party/cq_client/v1/cq.proto +0 -281
  188. data/vendor/depot_tools/third_party/cq_client/v1/cq_pb2.py +0 -794
  189. data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_both.cfg +0 -71
  190. data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_gerrit.cfg +0 -58
  191. data/vendor/depot_tools/third_party/cq_client/v1/testdata/cq_rietveld.cfg +0 -60
  192. data/vendor/depot_tools/third_party/cq_client/v2/__init__.py +0 -3
  193. data/vendor/depot_tools/third_party/cq_client/v2/cq.pb.go +0 -792
  194. data/vendor/depot_tools/third_party/cq_client/v2/cq.proto +0 -270
  195. data/vendor/depot_tools/third_party/cq_client/v2/cq_pb2.py +0 -841
@@ -1,270 +0,0 @@
1
- syntax = "proto2";
2
-
3
- // This message describes a Commit Queue configuration for an entire project.
4
- // The config file cq.cfg should be stored in the project's config directory.
5
- message Config {
6
- // Required. Version of the config format.
7
- optional int32 version = 1;
8
-
9
- // The actual configurations, shared across multiple repositories.
10
- repeated SharedConfig configs = 2;
11
- }
12
-
13
- // This message describes a shared configuration for multiple repositories.
14
- message SharedConfig {
15
- message Repository {
16
- // Required. URL to repository and also its identifier.
17
- optional string url = 1;
18
-
19
- // Refs to follow for the repository.
20
- // If this field is left unspecified, refs/heads/master will be used.
21
- repeated string refs = 2;
22
- }
23
-
24
- // At least one required. List repositories which share this CQ configuration.
25
- repeated Repository repos = 1;
26
-
27
- // List of verifiers that verify if the CL is ready to be committed.
28
- optional Verifiers verifiers = 2;
29
-
30
- // URL of the CQ status app to push updates to.
31
- optional string cq_status_url = 3;
32
-
33
- // Delay between commit bursts in seconds. Default value is 480.
34
- optional int32 commit_burst_delay = 4;
35
-
36
- // Maximum number of commits done sequentially, before waiting for
37
- // commit_burst_delay. Default value is 4.
38
- optional int32 max_commit_burst = 5;
39
-
40
- // Configuration options for Rietveld code review.
41
- // DEPRECATED, will be removed.
42
- optional Rietveld rietveld = 6 [deprecated = true];
43
-
44
- // Configuration options for Gerrit code review.
45
- optional Gerrit gerrit = 7;
46
-
47
- // If present, the CQ will refrain from processing any CLs which CQ was
48
- // triggered after this time. Setting this time very far in the past will
49
- // effectively make CQ not process any CLs.
50
- //
51
- // This is an UTC RFC3339 (stiptime(tm)) string representing the time.
52
- // For example, "2017-12-23T15:47:58Z" and Z is required.
53
- optional string draining_start_time = 8;
54
- }
55
-
56
- message Rietveld {
57
- // Required. URL of the codereview site.
58
- optional string url = 1;
59
- }
60
-
61
- // Unlike Rietveld, Gerrit doesn't need a separate url.
62
- // Instead, the Repository url must be specified on the Gerrit instance,
63
- // and CQ will deduce Gerrit url from it.
64
- // Also, gerrit_cq_ability verifier must be defined in case of Gerrit.
65
- //
66
- // For example, if https://chromium.googlesource.com/infra/infra.git is your
67
- // repo url provided in `git_repo_url` above, then
68
- // https://chromium-review.googlesource.com/#/admin/projects/infra/infra should
69
- // show general properties of your project.
70
- //
71
- // Also,
72
- // https://chromium-review.googlesource.com/#/admin/projects/infra/infra,access
73
- // should show ACLs for refs in your project, but you may need to be admin to
74
- // see it. This will come handy to enable and customize the CQ-related workflows
75
- // for your project.
76
- message Gerrit {
77
- // Optional. If set, tells CQ to vote on a given label to mark result of CQ
78
- // run. The vote is either -1 if failed or 1 on success, and will be given on
79
- // non-dry runs only.
80
- // This vote can then be used in Gerrit's rule for submitting issues, so as to
81
- // require CQ run. CQ will attempt to submit issue only after setting this
82
- // label.
83
- optional string cq_verified_label = 1;
84
-
85
- // Optional and only allowed if cq_verified_label is set. Default: False.
86
- // If set, tells CQ to vote on the Verified label even on dry run.
87
- // This is useful if CQ has no presubmit builders, as dry run would be
88
- // totally equivalent to full run, except that CQ won't try to actually submit
89
- // the code.
90
- optional bool dry_run_sets_cq_verified_label = 2;
91
- }
92
-
93
- // Verifiers are various types of checks that a Commit Queue performs on a CL.
94
- // All verifiers must pass in order for a CL to be landed. Configuration file
95
- // describes types of verifiers that should be applied to each CL and their
96
- // parameters.
97
- message Verifiers {
98
- // [Rietveld only] This verifier is used to ensure that an LGTM was posted to
99
- // the code review site from a valid project committer. It also validates
100
- // ability of non-committers to trigger CQ, which for Gerrit is done by
101
- // GerritCQAbilityVerifier.
102
- optional ReviewerLgtmVerifier reviewer_lgtm = 1;
103
-
104
- // [Gerrit only] GerritCQAbilityVerifier ensures that a user who triggered
105
- // this CQ attempt has actually rights to do so based on 3 factors:
106
- // * membership of the user in committers & dryrunners group,
107
- // * the state of CL/patchset on which CQ is triggered,
108
- // * relationship of the user to the CL.
109
- // This verifier must be specified for Gerrit.
110
- optional GerritCQAbilityVerifier gerrit_cq_ability = 5;
111
-
112
- // This verifier is used to check tree status before committing a CL. If the
113
- // tree is closed, then the verifier will wait until it is reopened.
114
- optional TreeStatusLgtmVerifier tree_status = 2;
115
-
116
- // This verifier triggers a set of tryjobs that are to be run on builders on
117
- // Buildbot. It automatically retries failed try-jobs and only allows CL to
118
- // land if each builder has succeeded in the latest retry. If a given tryjob
119
- // result is too old (>1 day) it is ignored.
120
- optional TryJobVerifier try_job = 3;
121
-
122
- // This verifier is used to ensure that the author has signed Google's
123
- // Contributor License Agreement.
124
- optional SignCLAVerifier sign_cla = 4;
125
-
126
- message ReviewerLgtmVerifier {
127
- // Required. Name of the chrome-infra-auth group, which contains the list of
128
- // identities authorized to approve (lgtm) a CL and trigger CQ run or dry
129
- // run.
130
- optional string committer_list = 1;
131
-
132
- // Number of seconds to wait for LGTM on CQ. Default value is 0.
133
- optional int32 max_wait_secs = 2;
134
-
135
- // Message to be posted to code review site when no LGTM is found. Default
136
- // value is "No LGTM from a valid reviewer yet. Only full committers are "
137
- // "accepted.\nEven if an LGTM may have been provided, it was from a "
138
- // "non-committer,\n_not_ a full super star committer.\nSee "
139
- // "http://www.chromium.org/getting-involved/become-a-committer\nNote that "
140
- // "this has nothing to do with OWNERS files."
141
- optional string no_lgtm_msg = 3;
142
-
143
- // Optional, but recommended. Name of the chrome-infra-auth group,
144
- // which contains the list of identities authorized to trigger CQ dry run.
145
- // This is usually the same group as tryjob-access.
146
- optional string dry_run_access_list = 4;
147
- }
148
-
149
- message GerritCQAbilityVerifier {
150
- // Required. Name of the chrome-infra-auth group, which contains the list of
151
- // identities authorized to trigger CQ runs on any CLs in this project.
152
- optional string committer_list = 1;
153
-
154
- // Optional, but strongly recommended. Name of the chrome-infra-auth group,
155
- // which contains the list of identities authorized to trigger CQ dry run
156
- // on Gerrit CLs they own (not to be confused with OWNER files) even if CL
157
- // hasn't been approved.
158
- // This is usually the same group as tryjob-access.
159
- optional string dry_run_access_list = 4;
160
-
161
- // Optional. allow_submit_with_open_deps controls how CQ full run behaves
162
- // when current Gerrit CL has open dependencies (not yet submitted CLs on
163
- // which *this* CL depends).
164
- //
165
- // If set to false (default), CQ will abort full run attempt immediately if
166
- // open dependencies are detected.
167
- //
168
- // If set to true, then CQ will not abort full run and upon passing all
169
- // other verifiers, CQ will attempt to submit the CL regardless of open
170
- // dependencies. In turn, if Gerrit project config allows this, Gerrit will
171
- // execute submit all dependent CLs first and then this CL.
172
- optional bool allow_submit_with_open_deps = 5;
173
- }
174
-
175
- message TreeStatusLgtmVerifier {
176
- // Required. URL of the project tree status app.
177
- optional string tree_status_url = 1;
178
- }
179
-
180
- message TryJobVerifier {
181
- message EquivalentBuilder {
182
- // Required. Bucket name of this builder.
183
- optional string bucket = 1;
184
- // Required. Name of this builder.
185
- optional string builder = 2;
186
- // Percentage expressing probability of CQ requiring this builder
187
- // instead of the builder to which this builder is equilvanet to.
188
- //
189
- // If not specified, defaults to 50.
190
- //
191
- // A choice itself is made deterministicly based on CL alone, hereby
192
- // all CQ attempts on all patchsets of a given CL will require the same
193
- // builder, assuming CQ config doesn't change in the mean time.
194
- //
195
- // Note that if `owner_whitelist_group` is also specified, the choice over
196
- // two builders will be made only for CLs owned by whitelisted group.
197
- //
198
- // To illustrate, suppose percentage=10. Then,
199
- // Without owner_whitelist_group,
200
- // ~10% of all CQ attempts will choose this builder.
201
- // With owner_whitelist_group set and, suppose, 1/5 of CQ attempts are
202
- // ran on CLs owned by this group, then only ~(1/10)*(1/5) or
203
- // ~2% of all CQ attempts will choose this builder.
204
- optional int32 percentage = 3;
205
- // If not specified, limits the builder to CL owners in this group.
206
- optional string owner_whitelist_group = 4;
207
- }
208
-
209
- message Builder {
210
- // Name of the builder.
211
- optional string name = 1;
212
-
213
- // Optionally specify a builder name that triggers the given builder.
214
- // Otherwise, CQ will trigger this builder (default). If in doubt, you
215
- // probably won't need this.
216
- optional string triggered_by = 2;
217
-
218
- // When this field is present, it marks given builder as experimental. It
219
- // is only executed on a given percentage of the CLs and the outcome does
220
- // not affect the decicion whether a CL can land or not. This is typically
221
- // used to test new builders and estimate their capacity requirements.
222
- optional float experiment_percentage = 4;
223
-
224
- // Optionally specified alternative builder for CQ to choose instead.
225
- // If provided, CQ will choose only one of the equivalent builders as
226
- // required based purely on given CL and CL's owner and **regardless** of
227
- // the possibly already completed try jobs.
228
- //
229
- // Note: none of the equivalent builders should be part of triggered_by
230
- // chain, although CQ may eventually relax this requirement somewhat.
231
- optional EquivalentBuilder equivalent_to = 5;
232
- }
233
-
234
- message Bucket {
235
- // Name of the bucket. This is typically the same as a master name without
236
- // the 'master.' prefix, e.g. 'chromium.linux' or 'tryserver.webrtc'. CQ
237
- // will automatically add 'master.' prefix if not there.
238
- optional string name = 1;
239
-
240
- // Builders on which tryjobs should be triggered.
241
- repeated Builder builders = 2;
242
- }
243
-
244
- // Buckets on which tryjobs are triggered/watched.
245
- repeated Bucket buckets = 1;
246
-
247
- message TryJobRetryConfig {
248
- // Retry quota for a single tryjob.
249
- optional int32 try_job_retry_quota = 1;
250
-
251
- // Retry quota for all tryjobs in a CL.
252
- optional int32 global_retry_quota = 2;
253
-
254
- // The weight assigned to each tryjob failure.
255
- optional int32 failure_retry_weight = 3;
256
-
257
- // The weight assigned to each transient failure.
258
- optional int32 transient_failure_retry_weight = 4;
259
-
260
- // The weight assigned to tryjob timeouts.
261
- optional int32 timeout_retry_weight = 5;
262
- }
263
-
264
- // Provides project specific trybot retry configuration. This overrides the
265
- // defaults used in the CQ.
266
- optional TryJobRetryConfig try_job_retry_config = 2;
267
- }
268
-
269
- message SignCLAVerifier {}
270
- }
@@ -1,841 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: cq.proto
3
-
4
- import sys
5
- _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import message as _message
8
- from google.protobuf import reflection as _reflection
9
- from google.protobuf import symbol_database as _symbol_database
10
- from google.protobuf import descriptor_pb2
11
- # @@protoc_insertion_point(imports)
12
-
13
- _sym_db = _symbol_database.Default()
14
-
15
-
16
-
17
-
18
- DESCRIPTOR = _descriptor.FileDescriptor(
19
- name='cq.proto',
20
- package='',
21
- syntax='proto2',
22
- serialized_pb=_b('\n\x08\x63q.proto\"9\n\x06\x43onfig\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12\x1e\n\x07\x63onfigs\x18\x02 \x03(\x0b\x32\r.SharedConfig\"\xa3\x02\n\x0cSharedConfig\x12\'\n\x05repos\x18\x01 \x03(\x0b\x32\x18.SharedConfig.Repository\x12\x1d\n\tverifiers\x18\x02 \x01(\x0b\x32\n.Verifiers\x12\x15\n\rcq_status_url\x18\x03 \x01(\t\x12\x1a\n\x12\x63ommit_burst_delay\x18\x04 \x01(\x05\x12\x18\n\x10max_commit_burst\x18\x05 \x01(\x05\x12\x1f\n\x08rietveld\x18\x06 \x01(\x0b\x32\t.RietveldB\x02\x18\x01\x12\x17\n\x06gerrit\x18\x07 \x01(\x0b\x32\x07.Gerrit\x12\x1b\n\x13\x64raining_start_time\x18\x08 \x01(\t\x1a\'\n\nRepository\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04refs\x18\x02 \x03(\t\"\x17\n\x08Rietveld\x12\x0b\n\x03url\x18\x01 \x01(\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\"\xd5\t\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\x1as\n\x17GerritCQAbilityVerifier\x12\x16\n\x0e\x63ommitter_list\x18\x01 \x01(\t\x12\x1b\n\x13\x64ry_run_access_list\x18\x04 \x01(\t\x12#\n\x1b\x61llow_submit_with_open_deps\x18\x05 \x01(\x08\x1a\x31\n\x16TreeStatusLgtmVerifier\x12\x17\n\x0ftree_status_url\x18\x01 \x01(\t\x1a\x8a\x05\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\x1ag\n\x11\x45quivalentBuilder\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x0f\n\x07\x62uilder\x18\x02 \x01(\t\x12\x12\n\npercentage\x18\x03 \x01(\x05\x12\x1d\n\x15owner_whitelist_group\x18\x04 \x01(\t\x1a\x90\x01\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\x12\x42\n\requivalent_to\x18\x05 \x01(\x0b\x32+.Verifiers.TryJobVerifier.EquivalentBuilder\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')
23
- )
24
-
25
-
26
-
27
-
28
- _CONFIG = _descriptor.Descriptor(
29
- name='Config',
30
- full_name='Config',
31
- filename=None,
32
- file=DESCRIPTOR,
33
- containing_type=None,
34
- fields=[
35
- _descriptor.FieldDescriptor(
36
- name='version', full_name='Config.version', index=0,
37
- number=1, type=5, cpp_type=1, label=1,
38
- has_default_value=False, default_value=0,
39
- message_type=None, enum_type=None, containing_type=None,
40
- is_extension=False, extension_scope=None,
41
- options=None),
42
- _descriptor.FieldDescriptor(
43
- name='configs', full_name='Config.configs', index=1,
44
- number=2, type=11, cpp_type=10, label=3,
45
- has_default_value=False, default_value=[],
46
- message_type=None, enum_type=None, containing_type=None,
47
- is_extension=False, extension_scope=None,
48
- options=None),
49
- ],
50
- extensions=[
51
- ],
52
- nested_types=[],
53
- enum_types=[
54
- ],
55
- options=None,
56
- is_extendable=False,
57
- syntax='proto2',
58
- extension_ranges=[],
59
- oneofs=[
60
- ],
61
- serialized_start=12,
62
- serialized_end=69,
63
- )
64
-
65
-
66
- _SHAREDCONFIG_REPOSITORY = _descriptor.Descriptor(
67
- name='Repository',
68
- full_name='SharedConfig.Repository',
69
- filename=None,
70
- file=DESCRIPTOR,
71
- containing_type=None,
72
- fields=[
73
- _descriptor.FieldDescriptor(
74
- name='url', full_name='SharedConfig.Repository.url', index=0,
75
- number=1, type=9, cpp_type=9, label=1,
76
- has_default_value=False, default_value=_b("").decode('utf-8'),
77
- message_type=None, enum_type=None, containing_type=None,
78
- is_extension=False, extension_scope=None,
79
- options=None),
80
- _descriptor.FieldDescriptor(
81
- name='refs', full_name='SharedConfig.Repository.refs', index=1,
82
- number=2, type=9, cpp_type=9, label=3,
83
- has_default_value=False, default_value=[],
84
- message_type=None, enum_type=None, containing_type=None,
85
- is_extension=False, extension_scope=None,
86
- options=None),
87
- ],
88
- extensions=[
89
- ],
90
- nested_types=[],
91
- enum_types=[
92
- ],
93
- options=None,
94
- is_extendable=False,
95
- syntax='proto2',
96
- extension_ranges=[],
97
- oneofs=[
98
- ],
99
- serialized_start=324,
100
- serialized_end=363,
101
- )
102
-
103
- _SHAREDCONFIG = _descriptor.Descriptor(
104
- name='SharedConfig',
105
- full_name='SharedConfig',
106
- filename=None,
107
- file=DESCRIPTOR,
108
- containing_type=None,
109
- fields=[
110
- _descriptor.FieldDescriptor(
111
- name='repos', full_name='SharedConfig.repos', index=0,
112
- number=1, type=11, cpp_type=10, label=3,
113
- has_default_value=False, default_value=[],
114
- message_type=None, enum_type=None, containing_type=None,
115
- is_extension=False, extension_scope=None,
116
- options=None),
117
- _descriptor.FieldDescriptor(
118
- name='verifiers', full_name='SharedConfig.verifiers', index=1,
119
- number=2, type=11, cpp_type=10, label=1,
120
- has_default_value=False, default_value=None,
121
- message_type=None, enum_type=None, containing_type=None,
122
- is_extension=False, extension_scope=None,
123
- options=None),
124
- _descriptor.FieldDescriptor(
125
- name='cq_status_url', full_name='SharedConfig.cq_status_url', index=2,
126
- number=3, type=9, cpp_type=9, label=1,
127
- has_default_value=False, default_value=_b("").decode('utf-8'),
128
- message_type=None, enum_type=None, containing_type=None,
129
- is_extension=False, extension_scope=None,
130
- options=None),
131
- _descriptor.FieldDescriptor(
132
- name='commit_burst_delay', full_name='SharedConfig.commit_burst_delay', index=3,
133
- number=4, type=5, cpp_type=1, label=1,
134
- has_default_value=False, default_value=0,
135
- message_type=None, enum_type=None, containing_type=None,
136
- is_extension=False, extension_scope=None,
137
- options=None),
138
- _descriptor.FieldDescriptor(
139
- name='max_commit_burst', full_name='SharedConfig.max_commit_burst', index=4,
140
- number=5, type=5, cpp_type=1, label=1,
141
- has_default_value=False, default_value=0,
142
- message_type=None, enum_type=None, containing_type=None,
143
- is_extension=False, extension_scope=None,
144
- options=None),
145
- _descriptor.FieldDescriptor(
146
- name='rietveld', full_name='SharedConfig.rietveld', index=5,
147
- number=6, type=11, cpp_type=10, label=1,
148
- has_default_value=False, default_value=None,
149
- message_type=None, enum_type=None, containing_type=None,
150
- is_extension=False, extension_scope=None,
151
- options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))),
152
- _descriptor.FieldDescriptor(
153
- name='gerrit', full_name='SharedConfig.gerrit', index=6,
154
- number=7, type=11, cpp_type=10, label=1,
155
- has_default_value=False, default_value=None,
156
- message_type=None, enum_type=None, containing_type=None,
157
- is_extension=False, extension_scope=None,
158
- options=None),
159
- _descriptor.FieldDescriptor(
160
- name='draining_start_time', full_name='SharedConfig.draining_start_time', index=7,
161
- number=8, type=9, cpp_type=9, label=1,
162
- has_default_value=False, default_value=_b("").decode('utf-8'),
163
- message_type=None, enum_type=None, containing_type=None,
164
- is_extension=False, extension_scope=None,
165
- options=None),
166
- ],
167
- extensions=[
168
- ],
169
- nested_types=[_SHAREDCONFIG_REPOSITORY, ],
170
- enum_types=[
171
- ],
172
- options=None,
173
- is_extendable=False,
174
- syntax='proto2',
175
- extension_ranges=[],
176
- oneofs=[
177
- ],
178
- serialized_start=72,
179
- serialized_end=363,
180
- )
181
-
182
-
183
- _RIETVELD = _descriptor.Descriptor(
184
- name='Rietveld',
185
- full_name='Rietveld',
186
- filename=None,
187
- file=DESCRIPTOR,
188
- containing_type=None,
189
- fields=[
190
- _descriptor.FieldDescriptor(
191
- name='url', full_name='Rietveld.url', index=0,
192
- number=1, type=9, cpp_type=9, label=1,
193
- has_default_value=False, default_value=_b("").decode('utf-8'),
194
- message_type=None, enum_type=None, containing_type=None,
195
- is_extension=False, extension_scope=None,
196
- options=None),
197
- ],
198
- extensions=[
199
- ],
200
- nested_types=[],
201
- enum_types=[
202
- ],
203
- options=None,
204
- is_extendable=False,
205
- syntax='proto2',
206
- extension_ranges=[],
207
- oneofs=[
208
- ],
209
- serialized_start=365,
210
- serialized_end=388,
211
- )
212
-
213
-
214
- _GERRIT = _descriptor.Descriptor(
215
- name='Gerrit',
216
- full_name='Gerrit',
217
- filename=None,
218
- file=DESCRIPTOR,
219
- containing_type=None,
220
- fields=[
221
- _descriptor.FieldDescriptor(
222
- name='cq_verified_label', full_name='Gerrit.cq_verified_label', index=0,
223
- number=1, type=9, cpp_type=9, label=1,
224
- has_default_value=False, default_value=_b("").decode('utf-8'),
225
- message_type=None, enum_type=None, containing_type=None,
226
- is_extension=False, extension_scope=None,
227
- options=None),
228
- _descriptor.FieldDescriptor(
229
- name='dry_run_sets_cq_verified_label', full_name='Gerrit.dry_run_sets_cq_verified_label', index=1,
230
- number=2, type=8, cpp_type=7, label=1,
231
- has_default_value=False, default_value=False,
232
- message_type=None, enum_type=None, containing_type=None,
233
- is_extension=False, extension_scope=None,
234
- options=None),
235
- ],
236
- extensions=[
237
- ],
238
- nested_types=[],
239
- enum_types=[
240
- ],
241
- options=None,
242
- is_extendable=False,
243
- syntax='proto2',
244
- extension_ranges=[],
245
- oneofs=[
246
- ],
247
- serialized_start=390,
248
- serialized_end=465,
249
- )
250
-
251
-
252
- _VERIFIERS_REVIEWERLGTMVERIFIER = _descriptor.Descriptor(
253
- name='ReviewerLgtmVerifier',
254
- full_name='Verifiers.ReviewerLgtmVerifier',
255
- filename=None,
256
- file=DESCRIPTOR,
257
- containing_type=None,
258
- fields=[
259
- _descriptor.FieldDescriptor(
260
- name='committer_list', full_name='Verifiers.ReviewerLgtmVerifier.committer_list', index=0,
261
- number=1, type=9, cpp_type=9, label=1,
262
- has_default_value=False, default_value=_b("").decode('utf-8'),
263
- message_type=None, enum_type=None, containing_type=None,
264
- is_extension=False, extension_scope=None,
265
- options=None),
266
- _descriptor.FieldDescriptor(
267
- name='max_wait_secs', full_name='Verifiers.ReviewerLgtmVerifier.max_wait_secs', index=1,
268
- number=2, type=5, cpp_type=1, label=1,
269
- has_default_value=False, default_value=0,
270
- message_type=None, enum_type=None, containing_type=None,
271
- is_extension=False, extension_scope=None,
272
- options=None),
273
- _descriptor.FieldDescriptor(
274
- name='no_lgtm_msg', full_name='Verifiers.ReviewerLgtmVerifier.no_lgtm_msg', index=2,
275
- number=3, type=9, cpp_type=9, label=1,
276
- has_default_value=False, default_value=_b("").decode('utf-8'),
277
- message_type=None, enum_type=None, containing_type=None,
278
- is_extension=False, extension_scope=None,
279
- options=None),
280
- _descriptor.FieldDescriptor(
281
- name='dry_run_access_list', full_name='Verifiers.ReviewerLgtmVerifier.dry_run_access_list', index=3,
282
- number=4, type=9, cpp_type=9, label=1,
283
- has_default_value=False, default_value=_b("").decode('utf-8'),
284
- message_type=None, enum_type=None, containing_type=None,
285
- is_extension=False, extension_scope=None,
286
- options=None),
287
- ],
288
- extensions=[
289
- ],
290
- nested_types=[],
291
- enum_types=[
292
- ],
293
- options=None,
294
- is_extendable=False,
295
- syntax='proto2',
296
- extension_ranges=[],
297
- oneofs=[
298
- ],
299
- serialized_start=746,
300
- serialized_end=865,
301
- )
302
-
303
- _VERIFIERS_GERRITCQABILITYVERIFIER = _descriptor.Descriptor(
304
- name='GerritCQAbilityVerifier',
305
- full_name='Verifiers.GerritCQAbilityVerifier',
306
- filename=None,
307
- file=DESCRIPTOR,
308
- containing_type=None,
309
- fields=[
310
- _descriptor.FieldDescriptor(
311
- name='committer_list', full_name='Verifiers.GerritCQAbilityVerifier.committer_list', index=0,
312
- number=1, type=9, cpp_type=9, label=1,
313
- has_default_value=False, default_value=_b("").decode('utf-8'),
314
- message_type=None, enum_type=None, containing_type=None,
315
- is_extension=False, extension_scope=None,
316
- options=None),
317
- _descriptor.FieldDescriptor(
318
- name='dry_run_access_list', full_name='Verifiers.GerritCQAbilityVerifier.dry_run_access_list', index=1,
319
- number=4, type=9, cpp_type=9, label=1,
320
- has_default_value=False, default_value=_b("").decode('utf-8'),
321
- message_type=None, enum_type=None, containing_type=None,
322
- is_extension=False, extension_scope=None,
323
- options=None),
324
- _descriptor.FieldDescriptor(
325
- name='allow_submit_with_open_deps', full_name='Verifiers.GerritCQAbilityVerifier.allow_submit_with_open_deps', index=2,
326
- number=5, type=8, cpp_type=7, label=1,
327
- has_default_value=False, default_value=False,
328
- message_type=None, enum_type=None, containing_type=None,
329
- is_extension=False, extension_scope=None,
330
- options=None),
331
- ],
332
- extensions=[
333
- ],
334
- nested_types=[],
335
- enum_types=[
336
- ],
337
- options=None,
338
- is_extendable=False,
339
- syntax='proto2',
340
- extension_ranges=[],
341
- oneofs=[
342
- ],
343
- serialized_start=867,
344
- serialized_end=982,
345
- )
346
-
347
- _VERIFIERS_TREESTATUSLGTMVERIFIER = _descriptor.Descriptor(
348
- name='TreeStatusLgtmVerifier',
349
- full_name='Verifiers.TreeStatusLgtmVerifier',
350
- filename=None,
351
- file=DESCRIPTOR,
352
- containing_type=None,
353
- fields=[
354
- _descriptor.FieldDescriptor(
355
- name='tree_status_url', full_name='Verifiers.TreeStatusLgtmVerifier.tree_status_url', index=0,
356
- number=1, type=9, cpp_type=9, label=1,
357
- has_default_value=False, default_value=_b("").decode('utf-8'),
358
- message_type=None, enum_type=None, containing_type=None,
359
- is_extension=False, extension_scope=None,
360
- options=None),
361
- ],
362
- extensions=[
363
- ],
364
- nested_types=[],
365
- enum_types=[
366
- ],
367
- options=None,
368
- is_extendable=False,
369
- syntax='proto2',
370
- extension_ranges=[],
371
- oneofs=[
372
- ],
373
- serialized_start=984,
374
- serialized_end=1033,
375
- )
376
-
377
- _VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER = _descriptor.Descriptor(
378
- name='EquivalentBuilder',
379
- full_name='Verifiers.TryJobVerifier.EquivalentBuilder',
380
- filename=None,
381
- file=DESCRIPTOR,
382
- containing_type=None,
383
- fields=[
384
- _descriptor.FieldDescriptor(
385
- name='bucket', full_name='Verifiers.TryJobVerifier.EquivalentBuilder.bucket', index=0,
386
- number=1, type=9, cpp_type=9, label=1,
387
- has_default_value=False, default_value=_b("").decode('utf-8'),
388
- message_type=None, enum_type=None, containing_type=None,
389
- is_extension=False, extension_scope=None,
390
- options=None),
391
- _descriptor.FieldDescriptor(
392
- name='builder', full_name='Verifiers.TryJobVerifier.EquivalentBuilder.builder', index=1,
393
- number=2, type=9, cpp_type=9, label=1,
394
- has_default_value=False, default_value=_b("").decode('utf-8'),
395
- message_type=None, enum_type=None, containing_type=None,
396
- is_extension=False, extension_scope=None,
397
- options=None),
398
- _descriptor.FieldDescriptor(
399
- name='percentage', full_name='Verifiers.TryJobVerifier.EquivalentBuilder.percentage', index=2,
400
- number=3, type=5, cpp_type=1, label=1,
401
- has_default_value=False, default_value=0,
402
- message_type=None, enum_type=None, containing_type=None,
403
- is_extension=False, extension_scope=None,
404
- options=None),
405
- _descriptor.FieldDescriptor(
406
- name='owner_whitelist_group', full_name='Verifiers.TryJobVerifier.EquivalentBuilder.owner_whitelist_group', index=3,
407
- number=4, type=9, cpp_type=9, label=1,
408
- has_default_value=False, default_value=_b("").decode('utf-8'),
409
- message_type=None, enum_type=None, containing_type=None,
410
- is_extension=False, extension_scope=None,
411
- options=None),
412
- ],
413
- extensions=[
414
- ],
415
- nested_types=[],
416
- enum_types=[
417
- ],
418
- options=None,
419
- is_extendable=False,
420
- syntax='proto2',
421
- extension_ranges=[],
422
- oneofs=[
423
- ],
424
- serialized_start=1180,
425
- serialized_end=1283,
426
- )
427
-
428
- _VERIFIERS_TRYJOBVERIFIER_BUILDER = _descriptor.Descriptor(
429
- name='Builder',
430
- full_name='Verifiers.TryJobVerifier.Builder',
431
- filename=None,
432
- file=DESCRIPTOR,
433
- containing_type=None,
434
- fields=[
435
- _descriptor.FieldDescriptor(
436
- name='name', full_name='Verifiers.TryJobVerifier.Builder.name', index=0,
437
- number=1, type=9, cpp_type=9, label=1,
438
- has_default_value=False, default_value=_b("").decode('utf-8'),
439
- message_type=None, enum_type=None, containing_type=None,
440
- is_extension=False, extension_scope=None,
441
- options=None),
442
- _descriptor.FieldDescriptor(
443
- name='triggered_by', full_name='Verifiers.TryJobVerifier.Builder.triggered_by', index=1,
444
- number=2, type=9, cpp_type=9, label=1,
445
- has_default_value=False, default_value=_b("").decode('utf-8'),
446
- message_type=None, enum_type=None, containing_type=None,
447
- is_extension=False, extension_scope=None,
448
- options=None),
449
- _descriptor.FieldDescriptor(
450
- name='experiment_percentage', full_name='Verifiers.TryJobVerifier.Builder.experiment_percentage', index=2,
451
- number=4, type=2, cpp_type=6, label=1,
452
- has_default_value=False, default_value=float(0),
453
- message_type=None, enum_type=None, containing_type=None,
454
- is_extension=False, extension_scope=None,
455
- options=None),
456
- _descriptor.FieldDescriptor(
457
- name='equivalent_to', full_name='Verifiers.TryJobVerifier.Builder.equivalent_to', index=3,
458
- number=5, type=11, cpp_type=10, label=1,
459
- has_default_value=False, default_value=None,
460
- message_type=None, enum_type=None, containing_type=None,
461
- is_extension=False, extension_scope=None,
462
- options=None),
463
- ],
464
- extensions=[
465
- ],
466
- nested_types=[],
467
- enum_types=[
468
- ],
469
- options=None,
470
- is_extendable=False,
471
- syntax='proto2',
472
- extension_ranges=[],
473
- oneofs=[
474
- ],
475
- serialized_start=1286,
476
- serialized_end=1430,
477
- )
478
-
479
- _VERIFIERS_TRYJOBVERIFIER_BUCKET = _descriptor.Descriptor(
480
- name='Bucket',
481
- full_name='Verifiers.TryJobVerifier.Bucket',
482
- filename=None,
483
- file=DESCRIPTOR,
484
- containing_type=None,
485
- fields=[
486
- _descriptor.FieldDescriptor(
487
- name='name', full_name='Verifiers.TryJobVerifier.Bucket.name', index=0,
488
- number=1, type=9, cpp_type=9, label=1,
489
- has_default_value=False, default_value=_b("").decode('utf-8'),
490
- message_type=None, enum_type=None, containing_type=None,
491
- is_extension=False, extension_scope=None,
492
- options=None),
493
- _descriptor.FieldDescriptor(
494
- name='builders', full_name='Verifiers.TryJobVerifier.Bucket.builders', index=1,
495
- number=2, type=11, cpp_type=10, label=3,
496
- has_default_value=False, default_value=[],
497
- message_type=None, enum_type=None, containing_type=None,
498
- is_extension=False, extension_scope=None,
499
- options=None),
500
- ],
501
- extensions=[
502
- ],
503
- nested_types=[],
504
- enum_types=[
505
- ],
506
- options=None,
507
- is_extendable=False,
508
- syntax='proto2',
509
- extension_ranges=[],
510
- oneofs=[
511
- ],
512
- serialized_start=1432,
513
- serialized_end=1507,
514
- )
515
-
516
- _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG = _descriptor.Descriptor(
517
- name='TryJobRetryConfig',
518
- full_name='Verifiers.TryJobVerifier.TryJobRetryConfig',
519
- filename=None,
520
- file=DESCRIPTOR,
521
- containing_type=None,
522
- fields=[
523
- _descriptor.FieldDescriptor(
524
- name='try_job_retry_quota', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.try_job_retry_quota', index=0,
525
- number=1, type=5, cpp_type=1, label=1,
526
- has_default_value=False, default_value=0,
527
- message_type=None, enum_type=None, containing_type=None,
528
- is_extension=False, extension_scope=None,
529
- options=None),
530
- _descriptor.FieldDescriptor(
531
- name='global_retry_quota', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.global_retry_quota', index=1,
532
- number=2, type=5, cpp_type=1, label=1,
533
- has_default_value=False, default_value=0,
534
- message_type=None, enum_type=None, containing_type=None,
535
- is_extension=False, extension_scope=None,
536
- options=None),
537
- _descriptor.FieldDescriptor(
538
- name='failure_retry_weight', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.failure_retry_weight', index=2,
539
- number=3, type=5, cpp_type=1, label=1,
540
- has_default_value=False, default_value=0,
541
- message_type=None, enum_type=None, containing_type=None,
542
- is_extension=False, extension_scope=None,
543
- options=None),
544
- _descriptor.FieldDescriptor(
545
- name='transient_failure_retry_weight', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.transient_failure_retry_weight', index=3,
546
- number=4, type=5, cpp_type=1, label=1,
547
- has_default_value=False, default_value=0,
548
- message_type=None, enum_type=None, containing_type=None,
549
- is_extension=False, extension_scope=None,
550
- options=None),
551
- _descriptor.FieldDescriptor(
552
- name='timeout_retry_weight', full_name='Verifiers.TryJobVerifier.TryJobRetryConfig.timeout_retry_weight', index=4,
553
- number=5, type=5, cpp_type=1, label=1,
554
- has_default_value=False, default_value=0,
555
- message_type=None, enum_type=None, containing_type=None,
556
- is_extension=False, extension_scope=None,
557
- options=None),
558
- ],
559
- extensions=[
560
- ],
561
- nested_types=[],
562
- enum_types=[
563
- ],
564
- options=None,
565
- is_extendable=False,
566
- syntax='proto2',
567
- extension_ranges=[],
568
- oneofs=[
569
- ],
570
- serialized_start=1510,
571
- serialized_end=1686,
572
- )
573
-
574
- _VERIFIERS_TRYJOBVERIFIER = _descriptor.Descriptor(
575
- name='TryJobVerifier',
576
- full_name='Verifiers.TryJobVerifier',
577
- filename=None,
578
- file=DESCRIPTOR,
579
- containing_type=None,
580
- fields=[
581
- _descriptor.FieldDescriptor(
582
- name='buckets', full_name='Verifiers.TryJobVerifier.buckets', index=0,
583
- number=1, type=11, cpp_type=10, label=3,
584
- has_default_value=False, default_value=[],
585
- message_type=None, enum_type=None, containing_type=None,
586
- is_extension=False, extension_scope=None,
587
- options=None),
588
- _descriptor.FieldDescriptor(
589
- name='try_job_retry_config', full_name='Verifiers.TryJobVerifier.try_job_retry_config', index=1,
590
- number=2, type=11, cpp_type=10, label=1,
591
- has_default_value=False, default_value=None,
592
- message_type=None, enum_type=None, containing_type=None,
593
- is_extension=False, extension_scope=None,
594
- options=None),
595
- ],
596
- extensions=[
597
- ],
598
- nested_types=[_VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER, _VERIFIERS_TRYJOBVERIFIER_BUILDER, _VERIFIERS_TRYJOBVERIFIER_BUCKET, _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG, ],
599
- enum_types=[
600
- ],
601
- options=None,
602
- is_extendable=False,
603
- syntax='proto2',
604
- extension_ranges=[],
605
- oneofs=[
606
- ],
607
- serialized_start=1036,
608
- serialized_end=1686,
609
- )
610
-
611
- _VERIFIERS_SIGNCLAVERIFIER = _descriptor.Descriptor(
612
- name='SignCLAVerifier',
613
- full_name='Verifiers.SignCLAVerifier',
614
- filename=None,
615
- file=DESCRIPTOR,
616
- containing_type=None,
617
- fields=[
618
- ],
619
- extensions=[
620
- ],
621
- nested_types=[],
622
- enum_types=[
623
- ],
624
- options=None,
625
- is_extendable=False,
626
- syntax='proto2',
627
- extension_ranges=[],
628
- oneofs=[
629
- ],
630
- serialized_start=1688,
631
- serialized_end=1705,
632
- )
633
-
634
- _VERIFIERS = _descriptor.Descriptor(
635
- name='Verifiers',
636
- full_name='Verifiers',
637
- filename=None,
638
- file=DESCRIPTOR,
639
- containing_type=None,
640
- fields=[
641
- _descriptor.FieldDescriptor(
642
- name='reviewer_lgtm', full_name='Verifiers.reviewer_lgtm', index=0,
643
- number=1, type=11, cpp_type=10, label=1,
644
- has_default_value=False, default_value=None,
645
- message_type=None, enum_type=None, containing_type=None,
646
- is_extension=False, extension_scope=None,
647
- options=None),
648
- _descriptor.FieldDescriptor(
649
- name='gerrit_cq_ability', full_name='Verifiers.gerrit_cq_ability', index=1,
650
- number=5, type=11, cpp_type=10, label=1,
651
- has_default_value=False, default_value=None,
652
- message_type=None, enum_type=None, containing_type=None,
653
- is_extension=False, extension_scope=None,
654
- options=None),
655
- _descriptor.FieldDescriptor(
656
- name='tree_status', full_name='Verifiers.tree_status', index=2,
657
- number=2, type=11, cpp_type=10, label=1,
658
- has_default_value=False, default_value=None,
659
- message_type=None, enum_type=None, containing_type=None,
660
- is_extension=False, extension_scope=None,
661
- options=None),
662
- _descriptor.FieldDescriptor(
663
- name='try_job', full_name='Verifiers.try_job', index=3,
664
- number=3, type=11, cpp_type=10, label=1,
665
- has_default_value=False, default_value=None,
666
- message_type=None, enum_type=None, containing_type=None,
667
- is_extension=False, extension_scope=None,
668
- options=None),
669
- _descriptor.FieldDescriptor(
670
- name='sign_cla', full_name='Verifiers.sign_cla', index=4,
671
- number=4, type=11, cpp_type=10, label=1,
672
- has_default_value=False, default_value=None,
673
- message_type=None, enum_type=None, containing_type=None,
674
- is_extension=False, extension_scope=None,
675
- options=None),
676
- ],
677
- extensions=[
678
- ],
679
- nested_types=[_VERIFIERS_REVIEWERLGTMVERIFIER, _VERIFIERS_GERRITCQABILITYVERIFIER, _VERIFIERS_TREESTATUSLGTMVERIFIER, _VERIFIERS_TRYJOBVERIFIER, _VERIFIERS_SIGNCLAVERIFIER, ],
680
- enum_types=[
681
- ],
682
- options=None,
683
- is_extendable=False,
684
- syntax='proto2',
685
- extension_ranges=[],
686
- oneofs=[
687
- ],
688
- serialized_start=468,
689
- serialized_end=1705,
690
- )
691
-
692
- _CONFIG.fields_by_name['configs'].message_type = _SHAREDCONFIG
693
- _SHAREDCONFIG_REPOSITORY.containing_type = _SHAREDCONFIG
694
- _SHAREDCONFIG.fields_by_name['repos'].message_type = _SHAREDCONFIG_REPOSITORY
695
- _SHAREDCONFIG.fields_by_name['verifiers'].message_type = _VERIFIERS
696
- _SHAREDCONFIG.fields_by_name['rietveld'].message_type = _RIETVELD
697
- _SHAREDCONFIG.fields_by_name['gerrit'].message_type = _GERRIT
698
- _VERIFIERS_REVIEWERLGTMVERIFIER.containing_type = _VERIFIERS
699
- _VERIFIERS_GERRITCQABILITYVERIFIER.containing_type = _VERIFIERS
700
- _VERIFIERS_TREESTATUSLGTMVERIFIER.containing_type = _VERIFIERS
701
- _VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER.containing_type = _VERIFIERS_TRYJOBVERIFIER
702
- _VERIFIERS_TRYJOBVERIFIER_BUILDER.fields_by_name['equivalent_to'].message_type = _VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER
703
- _VERIFIERS_TRYJOBVERIFIER_BUILDER.containing_type = _VERIFIERS_TRYJOBVERIFIER
704
- _VERIFIERS_TRYJOBVERIFIER_BUCKET.fields_by_name['builders'].message_type = _VERIFIERS_TRYJOBVERIFIER_BUILDER
705
- _VERIFIERS_TRYJOBVERIFIER_BUCKET.containing_type = _VERIFIERS_TRYJOBVERIFIER
706
- _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG.containing_type = _VERIFIERS_TRYJOBVERIFIER
707
- _VERIFIERS_TRYJOBVERIFIER.fields_by_name['buckets'].message_type = _VERIFIERS_TRYJOBVERIFIER_BUCKET
708
- _VERIFIERS_TRYJOBVERIFIER.fields_by_name['try_job_retry_config'].message_type = _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG
709
- _VERIFIERS_TRYJOBVERIFIER.containing_type = _VERIFIERS
710
- _VERIFIERS_SIGNCLAVERIFIER.containing_type = _VERIFIERS
711
- _VERIFIERS.fields_by_name['reviewer_lgtm'].message_type = _VERIFIERS_REVIEWERLGTMVERIFIER
712
- _VERIFIERS.fields_by_name['gerrit_cq_ability'].message_type = _VERIFIERS_GERRITCQABILITYVERIFIER
713
- _VERIFIERS.fields_by_name['tree_status'].message_type = _VERIFIERS_TREESTATUSLGTMVERIFIER
714
- _VERIFIERS.fields_by_name['try_job'].message_type = _VERIFIERS_TRYJOBVERIFIER
715
- _VERIFIERS.fields_by_name['sign_cla'].message_type = _VERIFIERS_SIGNCLAVERIFIER
716
- DESCRIPTOR.message_types_by_name['Config'] = _CONFIG
717
- DESCRIPTOR.message_types_by_name['SharedConfig'] = _SHAREDCONFIG
718
- DESCRIPTOR.message_types_by_name['Rietveld'] = _RIETVELD
719
- DESCRIPTOR.message_types_by_name['Gerrit'] = _GERRIT
720
- DESCRIPTOR.message_types_by_name['Verifiers'] = _VERIFIERS
721
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
722
-
723
- Config = _reflection.GeneratedProtocolMessageType('Config', (_message.Message,), dict(
724
- DESCRIPTOR = _CONFIG,
725
- __module__ = 'cq_pb2'
726
- # @@protoc_insertion_point(class_scope:Config)
727
- ))
728
- _sym_db.RegisterMessage(Config)
729
-
730
- SharedConfig = _reflection.GeneratedProtocolMessageType('SharedConfig', (_message.Message,), dict(
731
-
732
- Repository = _reflection.GeneratedProtocolMessageType('Repository', (_message.Message,), dict(
733
- DESCRIPTOR = _SHAREDCONFIG_REPOSITORY,
734
- __module__ = 'cq_pb2'
735
- # @@protoc_insertion_point(class_scope:SharedConfig.Repository)
736
- ))
737
- ,
738
- DESCRIPTOR = _SHAREDCONFIG,
739
- __module__ = 'cq_pb2'
740
- # @@protoc_insertion_point(class_scope:SharedConfig)
741
- ))
742
- _sym_db.RegisterMessage(SharedConfig)
743
- _sym_db.RegisterMessage(SharedConfig.Repository)
744
-
745
- Rietveld = _reflection.GeneratedProtocolMessageType('Rietveld', (_message.Message,), dict(
746
- DESCRIPTOR = _RIETVELD,
747
- __module__ = 'cq_pb2'
748
- # @@protoc_insertion_point(class_scope:Rietveld)
749
- ))
750
- _sym_db.RegisterMessage(Rietveld)
751
-
752
- Gerrit = _reflection.GeneratedProtocolMessageType('Gerrit', (_message.Message,), dict(
753
- DESCRIPTOR = _GERRIT,
754
- __module__ = 'cq_pb2'
755
- # @@protoc_insertion_point(class_scope:Gerrit)
756
- ))
757
- _sym_db.RegisterMessage(Gerrit)
758
-
759
- Verifiers = _reflection.GeneratedProtocolMessageType('Verifiers', (_message.Message,), dict(
760
-
761
- ReviewerLgtmVerifier = _reflection.GeneratedProtocolMessageType('ReviewerLgtmVerifier', (_message.Message,), dict(
762
- DESCRIPTOR = _VERIFIERS_REVIEWERLGTMVERIFIER,
763
- __module__ = 'cq_pb2'
764
- # @@protoc_insertion_point(class_scope:Verifiers.ReviewerLgtmVerifier)
765
- ))
766
- ,
767
-
768
- GerritCQAbilityVerifier = _reflection.GeneratedProtocolMessageType('GerritCQAbilityVerifier', (_message.Message,), dict(
769
- DESCRIPTOR = _VERIFIERS_GERRITCQABILITYVERIFIER,
770
- __module__ = 'cq_pb2'
771
- # @@protoc_insertion_point(class_scope:Verifiers.GerritCQAbilityVerifier)
772
- ))
773
- ,
774
-
775
- TreeStatusLgtmVerifier = _reflection.GeneratedProtocolMessageType('TreeStatusLgtmVerifier', (_message.Message,), dict(
776
- DESCRIPTOR = _VERIFIERS_TREESTATUSLGTMVERIFIER,
777
- __module__ = 'cq_pb2'
778
- # @@protoc_insertion_point(class_scope:Verifiers.TreeStatusLgtmVerifier)
779
- ))
780
- ,
781
-
782
- TryJobVerifier = _reflection.GeneratedProtocolMessageType('TryJobVerifier', (_message.Message,), dict(
783
-
784
- EquivalentBuilder = _reflection.GeneratedProtocolMessageType('EquivalentBuilder', (_message.Message,), dict(
785
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER_EQUIVALENTBUILDER,
786
- __module__ = 'cq_pb2'
787
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier.EquivalentBuilder)
788
- ))
789
- ,
790
-
791
- Builder = _reflection.GeneratedProtocolMessageType('Builder', (_message.Message,), dict(
792
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER_BUILDER,
793
- __module__ = 'cq_pb2'
794
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier.Builder)
795
- ))
796
- ,
797
-
798
- Bucket = _reflection.GeneratedProtocolMessageType('Bucket', (_message.Message,), dict(
799
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER_BUCKET,
800
- __module__ = 'cq_pb2'
801
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier.Bucket)
802
- ))
803
- ,
804
-
805
- TryJobRetryConfig = _reflection.GeneratedProtocolMessageType('TryJobRetryConfig', (_message.Message,), dict(
806
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER_TRYJOBRETRYCONFIG,
807
- __module__ = 'cq_pb2'
808
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier.TryJobRetryConfig)
809
- ))
810
- ,
811
- DESCRIPTOR = _VERIFIERS_TRYJOBVERIFIER,
812
- __module__ = 'cq_pb2'
813
- # @@protoc_insertion_point(class_scope:Verifiers.TryJobVerifier)
814
- ))
815
- ,
816
-
817
- SignCLAVerifier = _reflection.GeneratedProtocolMessageType('SignCLAVerifier', (_message.Message,), dict(
818
- DESCRIPTOR = _VERIFIERS_SIGNCLAVERIFIER,
819
- __module__ = 'cq_pb2'
820
- # @@protoc_insertion_point(class_scope:Verifiers.SignCLAVerifier)
821
- ))
822
- ,
823
- DESCRIPTOR = _VERIFIERS,
824
- __module__ = 'cq_pb2'
825
- # @@protoc_insertion_point(class_scope:Verifiers)
826
- ))
827
- _sym_db.RegisterMessage(Verifiers)
828
- _sym_db.RegisterMessage(Verifiers.ReviewerLgtmVerifier)
829
- _sym_db.RegisterMessage(Verifiers.GerritCQAbilityVerifier)
830
- _sym_db.RegisterMessage(Verifiers.TreeStatusLgtmVerifier)
831
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier)
832
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier.EquivalentBuilder)
833
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier.Builder)
834
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier.Bucket)
835
- _sym_db.RegisterMessage(Verifiers.TryJobVerifier.TryJobRetryConfig)
836
- _sym_db.RegisterMessage(Verifiers.SignCLAVerifier)
837
-
838
-
839
- _SHAREDCONFIG.fields_by_name['rietveld'].has_options = True
840
- _SHAREDCONFIG.fields_by_name['rietveld']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
841
- # @@protoc_insertion_point(module_scope)