From 7b884f4e01f301bba1009633581bda354dd270d3 Mon Sep 17 00:00:00 2001 From: Lukas Brabec Date: May 03 2018 11:43:41 +0000 Subject: create file indicating that results were reported --- diff --git a/libtaskotron/executor.py b/libtaskotron/executor.py index 36315a8..79ab07d 100644 --- a/libtaskotron/executor.py +++ b/libtaskotron/executor.py @@ -319,6 +319,11 @@ class Executor(object): rdb = resultsdb_directive.ResultsdbDirective() rdb.process(params={"file": results_file}, arg_data=self.arg_data) + # create file indicating that results were reported to resultsdb + reported_file = os.path.join(self.arg_data['artifactsdir'], + test_playbook, 'taskotron', 'results.yml.reported_ok') + open(reported_file, 'a').close() + def execute(self): '''Execute all the tasks in the taskdir