|
|
@ -272,35 +272,6 @@ class TaskBuilder(object):
|
|
|
|
},
|
|
|
|
},
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
def craft_dependencies_task(self):
|
|
|
|
|
|
|
|
# Output the dependencies to an artifact. This is used by the
|
|
|
|
|
|
|
|
# telemetry probe scraper to determine all of the metrics that
|
|
|
|
|
|
|
|
# Fenix might send (both from itself and any of its dependent
|
|
|
|
|
|
|
|
# libraries that use Glean).
|
|
|
|
|
|
|
|
return self._craft_clean_gradle_task(
|
|
|
|
|
|
|
|
name='dependencies',
|
|
|
|
|
|
|
|
description='Write dependencies to a build artifact',
|
|
|
|
|
|
|
|
gradle_task='app:dependencies --configuration implementation > dependencies.txt',
|
|
|
|
|
|
|
|
treeherder={
|
|
|
|
|
|
|
|
'jobKind': 'test',
|
|
|
|
|
|
|
|
'machine': {
|
|
|
|
|
|
|
|
'platform': 'lint',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
'symbol': 'dependencies',
|
|
|
|
|
|
|
|
'tier': 1,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
routes=[
|
|
|
|
|
|
|
|
'index.project.mobile.fenix.v2.branch.master.revision.{}'.format(self.commit)
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
artifacts={
|
|
|
|
|
|
|
|
'public/dependencies.txt': {
|
|
|
|
|
|
|
|
"type": 'file',
|
|
|
|
|
|
|
|
"path": '/opt/fenix/dependencies.txt',
|
|
|
|
|
|
|
|
"expires": taskcluster.stringDate(taskcluster.fromNow(DEFAULT_EXPIRES_IN)),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def _craft_clean_gradle_task(
|
|
|
|
def _craft_clean_gradle_task(
|
|
|
|
self, name, description, gradle_task, artifacts=None, routes=None, treeherder=None, scopes=None
|
|
|
|
self, name, description, gradle_task, artifacts=None, routes=None, treeherder=None, scopes=None
|
|
|
|
):
|
|
|
|
):
|
|
|
|