Submit test-perf CSV files to S3.

This commit is contained in:
Alan Jeffrey 2017-11-15 17:42:56 -06:00
parent 3864f320e8
commit be5eaa4447
5 changed files with 85 additions and 16 deletions

View file

@ -186,12 +186,6 @@ class MachCommands(CommandBase):
if base:
cmd += ["--base", base]
if submit:
if not ("TREEHERDER_CLIENT_ID" in os.environ and
"TREEHERDER_CLIENT_SECRET" in os.environ):
print("Please set the environment variable \"TREEHERDER_CLIENT_ID\""
" and \"TREEHERDER_CLIENT_SECRET\" to submit the performance"
" test result to perfherder")
return 1
cmd += ["--submit"]
return call(cmd,
env=env,