I wish there was a better way to keep the artifacts in sync between these two modules. ie just pull everything from a directory and make an assumption on the file-type if its LOGS/RESULTS type. But I don't see anything obvious or easy right now. Just something to think about in the future.
100 + results. setdefault( 'artifacts' , []).append({ .format( self.logger_ name, name),
101 + 'name': '{}.{}'
102 + 'reference': url,
103 + 'type': kind,
104 + })
there's a method in the base class that does this now:
http:// bazaar. launchpad. net/~canonical- ci-engineering/ ubuntu- ci-services- itself/ trunk/view/ head:/ci- utils/ci_ utils/amqp_ worker. py#L135
7 def run_test(package): artifacts( self, logger, results, test_bed, package):
114 + def save_testbed_
I wish there was a better way to keep the artifacts in sync between these two modules. ie just pull everything from a directory and make an assumption on the file-type if its LOGS/RESULTS type. But I don't see anything obvious or easy right now. Just something to think about in the future.