Commit Graph

19 Commits

Author SHA1 Message Date
Zack Cerza
636dc8676e Move part of report_all_runs() into report_runs()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-11 10:48:02 -05:00
Zack Cerza
61606fe0fa Set a default timeout of 20s for HTTP connections
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-11 10:23:00 -05:00
Zack Cerza
bd9cbdba03 Don't attempt to report if there's no job_id
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-10 19:09:35 -05:00
Zack Cerza
7ab9726737 Move teuthology-report's arg parsing to scripts/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-10 19:09:34 -05:00
Zack Cerza
1c32b1b886 Reflect paddles API change: jobs in jobs/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-07 10:01:48 -05:00
Zack Cerza
972ab1cf22 Tweak logic of try_push_job_info()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-04 15:01:16 -05:00
Zack Cerza
2270db724d Add (and use) try_push_job_info() for easy pushin'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-04 11:07:33 -05:00
Zack Cerza
ff120d7fb5 Escape reserved characters in URIs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-03 16:08:12 -05:00
Zack Cerza
f0b35fca70 Add more documentation.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-03 16:08:12 -05:00
Zack Cerza
058a27bf59 Add create_run() and push_job_info() with docs.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00
Zack Cerza
fe64887ec6 s/submit_/report_/g
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00
Zack Cerza
555e55ff61 Rename ResultsPoster to ResultsReporter
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00
Zack Cerza
79e27abfe9 Add create_run; allow passing json to submit_job
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00
Zack Cerza
52282fb7f4 Overhaul posting logic to avoid some corner cases
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00
Zack Cerza
4bcae4b18b Add flag for refreshing already-pushed runs
Also tweak implementation of save_last_run

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00
Zack Cerza
da4a7b860d Remove old method used for testing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00
Zack Cerza
8b9a69138e Add --server flag
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00
Zack Cerza
cf68a3ac3a Reuse connection objects.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00
Zack Cerza
f77ee6e0ef Add argument parsing to make this a proper script.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-02 18:34:04 -05:00