aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2017-08-11 15:00:48 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-15 11:58:25 +0000
commitb40902b6b8db8f1138facf67c39b169a21fab51b (patch)
tree9c99adaa78557b85c5f4f44b877f638c5f012e79 /infra/bots/recipe_modules
parent68d1879c90661ad6eadbfe1131026fcce0233285 (diff)
Add upload to task name schema file
Bug: skia: Change-Id: I65cd5761bb01e648db706878b902e6b6ed67fab9 Reviewed-on: https://skia-review.googlesource.com/33761 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'infra/bots/recipe_modules')
-rw-r--r--infra/bots/recipe_modules/builder_name_schema/builder_name_schema.json10
-rw-r--r--infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py4
2 files changed, 13 insertions, 1 deletions
diff --git a/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.json b/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.json
index 62971ee975..7991a57488 100644
--- a/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.json
+++ b/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.json
@@ -36,6 +36,16 @@
"compiler",
"target_arch",
"configuration"
+ ],
+ "Upload": [
+ "orig_role",
+ "os",
+ "compiler",
+ "model",
+ "cpu_or_gpu",
+ "cpu_or_gpu_value",
+ "arch",
+ "configuration"
]
},
"builder_name_sep": "-"
diff --git a/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py b/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py
index 2c875bacca..445373e4ac 100644
--- a/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py
+++ b/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py
@@ -26,12 +26,14 @@ BUILDER_ROLE_HOUSEKEEPER = 'Housekeeper'
BUILDER_ROLE_INFRA = 'Infra'
BUILDER_ROLE_PERF = 'Perf'
BUILDER_ROLE_TEST = 'Test'
+BUILDER_ROLE_UPLOAD = 'Upload'
BUILDER_ROLES = (BUILDER_ROLE_CANARY,
BUILDER_ROLE_BUILD,
BUILDER_ROLE_HOUSEKEEPER,
BUILDER_ROLE_INFRA,
BUILDER_ROLE_PERF,
- BUILDER_ROLE_TEST)
+ BUILDER_ROLE_TEST,
+ BUILDER_ROLE_UPLOAD)
def _LoadSchema():