Commit Graph

9 Commits

Author SHA1 Message Date
Zack Cerza
3fa6271f1a Calculate a timeout to use based on queue size
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-04-30 14:30:43 -05:00
Zack Cerza
041666b07a Add --runs, to print only run names
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-04-30 14:30:43 -05:00
Zack Cerza
a9d7aa3514 Refactor teuthology.beanstalk
This architecture will make it easier to add new functionality.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-04-30 14:30:43 -05:00
Zack Cerza
1449e753ab Use shared methods to connect to beanstalkd
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-04-17 12:27:41 -05:00
Zack Cerza
b3d0c19f5f Exit gracefully on KeyboardInterrupt
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:40:56 -05:00
Zack Cerza
03974bf583 Add --description flag
Default to not printing job descriptions. Add -d/--description flag to
control that behavior. Change --delete's short option to -D. Other small
output tweaks.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:38:34 -05:00
Zack Cerza
381ecea8b6 Fix lots of linter errors
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:27:54 -05:00
Sandon Van Ness
26f00fc541 Make help a bit more obvious. Misc tweeks.
Put each yaml in the job_description on its own line so not so
wide of a line. Make delete default None not False in function.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-02-25 19:57:41 -08:00
Sandon Van Ness
e04f8fd3cd Add teuthology-queue command for beanstalk Managmeent.
Supports listing entire queue of machine type and deleting test
suite runs from the queue without wiping the entire queue.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-02-25 11:13:31 -08:00