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

Unified Diff: appengine/cr-buildbucket/doc/swarming.md

Issue 2213723002: swarmbucket: allow overriding config (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@sb-cfg-refactoring
Patch Set: security warning 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 | « no previous file | appengine/cr-buildbucket/proto/project_config.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cr-buildbucket/doc/swarming.md
diff --git a/appengine/cr-buildbucket/doc/swarming.md b/appengine/cr-buildbucket/doc/swarming.md
index e69b174a4c5b10f25473cf4858156ebe79738a81..51915c5c3154432fcbf560e14bf341cb2584abf6 100644
--- a/appengine/cr-buildbucket/doc/swarming.md
+++ b/appengine/cr-buildbucket/doc/swarming.md
@@ -103,7 +103,27 @@ optional properties:
* `false`: do not use canary template.
* `null` (default): use canary template with some low probability if it
exists.
-
+* `"override_builder_cfg"`: can override builder configuration defined on the
+ server. See also a section about it below.
+
+#### Override configuration dynamically
+
+`swarming.override_builder_cfg` parameter can override builder configuration
+defined on the server. For example, value
+
+
+```javascript
+{
+ "dimensions": ["cores:64"]
+}
+```
+
+(re)defines "cores" dimension to be "64" for this particular build.
+
+The format is defined by the Builder message in
+[project_config.proto](../proto/project_config.proto); in practice, it is JSONPB
+of the message.
+
## Tags
A swarming task created by buildbucket has extra tags:
« no previous file with comments | « no previous file | appengine/cr-buildbucket/proto/project_config.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698