diff --git a/taskcluster/taskgraph/actions/registry.py b/taskcluster/taskgraph/actions/registry.py index 060c4551965c1..7e376caf3c101 100644 --- a/taskcluster/taskgraph/actions/registry.py +++ b/taskcluster/taskgraph/actions/registry.py @@ -166,7 +166,9 @@ def register_callback_action(name, title, symbol, description, order=10000, def register_callback(cb): assert isinstance(cb, FunctionType), 'callback must be a function' assert isinstance(symbol, basestring), 'symbol must be a string' - assert 1 <= len(symbol) <= 25, 'symbol must be between 1 and 25 characters' + # Allow for json-e > 25 chars in the symbol. + if '$' not in symbol: + assert 1 <= len(symbol) <= 25, 'symbol must be between 1 and 25 characters' assert not mem['registered'], 'register_callback_action must be used as decorator' assert cb.__name__ not in callbacks, 'callback name {} is not unique'.format(cb.__name__) diff --git a/taskcluster/taskgraph/actions/release_promotion.py b/taskcluster/taskgraph/actions/release_promotion.py index f0ab6ef84b688..ace3f24d37776 100644 --- a/taskcluster/taskgraph/actions/release_promotion.py +++ b/taskcluster/taskgraph/actions/release_promotion.py @@ -89,7 +89,7 @@ def is_release_promotion_available(parameters): @register_callback_action( name='release-promotion', title='Release Promotion', - symbol='Relpro', + symbol='${input.release_promotion_flavor}', description="Promote a release.", order=10000, context=[],