python script updated
This commit is contained in:
parent
2826ced949
commit
6f99e219ca
1 changed files with 5 additions and 0 deletions
|
|
@ -72,10 +72,15 @@ def run_specific(index):
|
||||||
|
|
||||||
logging.info(f"Copying files from {DATA_ROOT_DIR}/{folders[index]}/clearing_testing_utils/ to {CLR_TEST_DIR}/clearing-all/clearing_testing_utils/")
|
logging.info(f"Copying files from {DATA_ROOT_DIR}/{folders[index]}/clearing_testing_utils/ to {CLR_TEST_DIR}/clearing-all/clearing_testing_utils/")
|
||||||
shutil.copytree(f"{DATA_ROOT_DIR}/{folders[index]}/clearing_testing_utils/", f"{CLR_TEST_DIR}/clearing-all/clearing_testing_utils/", dirs_exist_ok=True)
|
shutil.copytree(f"{DATA_ROOT_DIR}/{folders[index]}/clearing_testing_utils/", f"{CLR_TEST_DIR}/clearing-all/clearing_testing_utils/", dirs_exist_ok=True)
|
||||||
|
|
||||||
remove_files_with_extensions(".xml")
|
remove_files_with_extensions(".xml")
|
||||||
change_date(folders[index])
|
change_date(folders[index])
|
||||||
run_docker(folders[index])
|
run_docker(folders[index])
|
||||||
|
|
||||||
|
logging.info(f"Removing folder {CLR_TEST_DIR}/mnt/dbfout")
|
||||||
|
shutil.rmtree(f"{CLR_TEST_DIR}/mnt/dbfout")
|
||||||
|
os.mkdir(f"{CLR_TEST_DIR}/mnt/dbfout")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
folders = [i for i in sorted(os.listdir(DATA_ROOT_DIR)) if re.search("\\d{1,}.\\d{1,}.*", i)]
|
folders = [i for i in sorted(os.listdir(DATA_ROOT_DIR)) if re.search("\\d{1,}.\\d{1,}.*", i)]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue