bug 1423081 - add generate_bz2_blob to schema identifiers. r=callek
MozReview-Commit-ID: 7uCbhFeUdHK
--- a/taskcluster/taskgraph/util/schema.py
+++ b/taskcluster/taskgraph/util/schema.py
@@ -143,16 +143,17 @@ def resolve_keyed_by(item, field, item_n
# they can be whitelisted here.
WHITELISTED_SCHEMA_IDENTIFIERS = [
# upstream-artifacts are handed directly to scriptWorker, which expects interCaps
lambda path: "[u'upstream-artifacts']" in path,
# bbb release promotion properties
lambda path: path.endswith("[u'build_number']"),
lambda path: path.endswith("[u'tuxedo_server_url']"),
lambda path: path.endswith("[u'release_promotion']"),
+ lambda path: path.endswith("[u'generate_bz2_blob']"),
]
def check_schema(schema):
identifier_re = re.compile('^[a-z][a-z0-9-]*$')
def whitelisted(path):
return any(f(path) for f in WHITELISTED_SCHEMA_IDENTIFIERS)