1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

commands/run: add run.log as an Artifact

Add run.log as an Artifact to the output, once it has been created.
Every file outsize of __meta (excepting result.json) should have an
associated artifact to describe it.
This commit is contained in:
Sergei Trofimov 2018-06-22 16:47:13 +01:00 committed by Marc Bonnici
parent 8da911e9d5
commit 6486378c89

View File

@ -87,6 +87,8 @@ class RunCommand(Command):
def execute(self, config, args):
output = self.set_up_output_directory(config, args)
log.add_file(output.logfile)
output.add_artifact('runlog', output.logfile, kind='log',
description='Run log.')
disabled_augmentations = toggle_set([i != '~~' and "~{}".format(i) or i
for i in args.augmentations_to_disable])