Zack Cerza
8583306769
Return corrected tube_name
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-27 14:41:58 -06:00
Zack Cerza
2e18fddb6f
Only delete jobs that match the pattern
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-25 12:54:24 -06:00
Zack Cerza
e7323da58b
Swap order of job_id and run_name when deleting
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-25 12:54:24 -06:00
Zack Cerza
f69f2dffa9
Automatically watch 'multi' tube if tube_name
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-10 14:40:37 -05:00
Zack Cerza
3b382b7011
Process queued jobs synchronously
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-21 16:18:00 -05:00
Zack Cerza
33dbffff1d
Avoid calling yaml.safe_load() twice on each job
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-19 11:12:07 -05:00
Zack Cerza
debf84ed88
Split progress indicator out to separate functions
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-19 11:12:07 -05:00
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