mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +00:00
Framework: Moved resource deployment to base workload
This commit is contained in:
parent
bc5b43df30
commit
30da77a1cf
@ -81,7 +81,8 @@ class Workload(TargetedPlugin):
|
|||||||
validated.
|
validated.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
pass
|
for asset in self.deployable_assets:
|
||||||
|
self.asset_files.append(context.resolver.get(File(self, asset)))
|
||||||
|
|
||||||
@once_per_instance
|
@once_per_instance
|
||||||
def initialize(self, context):
|
def initialize(self, context):
|
||||||
@ -229,10 +230,6 @@ class ApkWorkload(Workload):
|
|||||||
uninstall=self.uninstall,
|
uninstall=self.uninstall,
|
||||||
exact_abi=self.exact_abi)
|
exact_abi=self.exact_abi)
|
||||||
|
|
||||||
def init_resources(self, context):
|
|
||||||
for asset in self.deployable_assets:
|
|
||||||
self.asset_files.append(context.resolver.get(File(self, asset)))
|
|
||||||
|
|
||||||
@once_per_instance
|
@once_per_instance
|
||||||
def initialize(self, context):
|
def initialize(self, context):
|
||||||
super(ApkWorkload, self).initialize(context)
|
super(ApkWorkload, self).initialize(context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user