Lines Matching +full:upload +full:- +full:dir
19 USAGE="""tko-publish [options] <resultsdir> <rsync-destination-path>
25 <rsync-destination-path> A valid rsync destination path where to upload the
29 RSYNC_COMMAND = 'rsync -aqz "%s" "%s"'
33 regex = re.compile('[1-9][0-9]*-')
36 for dir in os.listdir(path):
37 # skip directories not matching the job result dir pattern
38 if not regex.match(dir):
41 dir = os.path.join(options.resultsdir, dir)
42 if (os.path.isdir(dir)
43 and not os.path.exists(os.path.join(dir, PUBLISH_FLAGFILE))):
44 jobdirs.append(dir)
75 job_id = int(os.path.basename(jobdir).split('-')[0])
95 parser.add_option('--jobname-pattern', dest='jobname_pattern',
99 parser.add_option('--job-owner', dest='job_owner', default=None,
106 sys.exit(-1)