Skip to content
Snippets Groups Projects

WS-1242: Added new workflow for vlass image caching

Merged Nathan Bockisch requested to merge ws1215-add-workflow into main
4 files
+ 309
2
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -57,6 +57,7 @@ class DeliveryConveyor(ConveyorIF):
# make new cache directory with name matching workspaces parent directory and unzip weblog into it
os.makedirs(weblog_location)
os.chmod(weblog_location, 0o2770)
location_path = self.settings["destination_dir"] + "/products"
if pathlib.Path(location_path + "/weblog.tgz").exists():
tar = tarfile.open(location_path + "/weblog.tgz")
@@ -99,6 +100,8 @@ class DeliveryConveyor(ConveyorIF):
if not pathlib.Path(qa_path).exists():
os.makedirs(qa_path)
os.chown(qa_path, vlapipe_id, vlapipe_id)
os.chmod(qa_path, 0o2770)
else:
self.logger.info(f"Delivering to existing {qa_path}:")
self.logger.info(os.listdir(qa_path))
Loading