1577253: Remove writing dependencies to an artifact (#4999)
parent
aa5069caca
commit
ad80317fc8
|
@ -81,9 +81,6 @@ def push():
|
|||
other_tasks = all_tasks[-1]
|
||||
other_tasks[taskcluster.slugId()] = BUILDER.craft_ui_tests_task()
|
||||
|
||||
if SHORT_HEAD_BRANCH == 'master':
|
||||
other_tasks[taskcluster.slugId()] = BUILDER.craft_dependencies_task()
|
||||
|
||||
return all_tasks
|
||||
|
||||
|
||||
|
|
|
@ -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(
|
||||
self, name, description, gradle_task, artifacts=None, routes=None, treeherder=None, scopes=None
|
||||
):
|
||||
|
|
Loading…
Reference in New Issue