Commit ab63ade5 authored by Mitar's avatar Mitar

Allow debugging.

parent e5b5fb24
Pipeline #98850253 failed with stages
in 40 minutes and 42 seconds
......@@ -7,6 +7,7 @@ import glob
import hashlib
import io
import json
import os
import os.path
import pprint
import re
......@@ -129,6 +130,10 @@ parser.add_argument(
'-c', '--clean', action='store_true',
help="remove existing Docker images before downloading new ones"
'--debug', action='store_true', default=bool(os.environ.get('D3M_VALIDATION_DEBUG', False)),
help="be more verbose to help with debugging"
'--parallel-index', metavar='I', type=int, action='store',
help="index of a job when running multiple jobs in parallel"
......@@ -167,6 +172,9 @@ def make_hashable(obj):
def docker_exec(docker_container, args, *, print_output=True, run_as_nobody=False):
if arguments.debug:
print_output = True
if run_as_nobody:
user = 'nobody:nogroup'
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