Bug 1637544 - Run no-sccache verification only on release projects. r=tomprince

Differential Revision: https://phabricator.services.mozilla.com/D77248
This commit is contained in:
Marco Castelluccio 2020-06-04 19:40:54 +00:00
Родитель b2e275bf31
Коммит 525a47b947
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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'):