Commit aaf8237b authored by Mitar's avatar Mitar

Less debug messages.

parent c74bcde6
......@@ -865,8 +865,6 @@ def validate_installation(primitive_names, interface_version, installation, anno
pipeline_runs_tar_bytes = io.BytesIO()
with tarfile.open(mode='w', fileobj=pipeline_runs_tar_bytes) as tar:
for pipeline_run_path in pipeline_run_paths:
if arguments.debug:
print("Adding pipeline run '{pipeline_run_path}' to tar.".format(pipeline_run_path=pipeline_run_path), flush=True)
pipeline_run_name = os.path.basename(pipeline_run_path)
tar.add(pipeline_run_path, pipeline_run_name)
assert pipeline_run_name.endswith('.gz')
......@@ -876,16 +874,10 @@ def validate_installation(primitive_names, interface_version, installation, anno
docker_exec(docker_container, ['rm', '-rf', '/tmp/pipeline_runs'])
docker_exec(docker_container, ['mkdir', '/tmp/pipeline_runs'])
if arguments.debug:
print("Putting tar archive.", flush=True)
docker_container.put_archive('/tmp/pipeline_runs', pipeline_runs_tar_bytes)
if arguments.debug:
print("Decompressing pipeline runs.", flush=True)
docker_exec(docker_container, ['bash', '-c', 'cd /tmp/pipeline_runs; gzip -d *.gz'])
if arguments.debug:
print("Validating pipeline runs.", flush=True)
docker_exec(
docker_container,
[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment