From 525a47b947dba586aa5a6d337f5658da60fd9396 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 4 Jun 2020 19:40:54 +0000 Subject: [PATCH] Bug 1637544 - Run no-sccache verification only on release projects. r=tomprince Differential Revision: https://phabricator.services.mozilla.com/D77248 --- taskcluster/taskgraph/util/verify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taskcluster/taskgraph/util/verify.py b/taskcluster/taskgraph/util/verify.py index 7bab5ea301cb..3aea8a9dd693 100644 --- a/taskcluster/taskgraph/util/verify.py +++ b/taskcluster/taskgraph/util/verify.py @@ -14,7 +14,7 @@ import six from .. import GECKO from .treeherder import join_symbol -from taskgraph.util.attributes import match_run_on_projects +from taskgraph.util.attributes import match_run_on_projects, RELEASE_PROJECTS logger = logging.getLogger(__name__) doc_base_path = os.path.join(GECKO, 'taskcluster', 'docs') @@ -302,7 +302,7 @@ def verify_always_optimized(task, taskgraph, scratch_pad, graph_config): raise Exception('Could not optimize the task {!r}'.format(task.label)) -@verifications.add('full_task_graph') +@verifications.add('full_task_graph', run_on_projects=RELEASE_PROJECTS) def verify_shippable_no_sccache(task, taskgraph, scratch_pad, graph_config): if task and task.attributes.get('shippable'): if task.task.get('payload', {}).get('env', {}).get('USE_SCCACHE'):