mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[IMP] removes meaningless running and testing max
the runbot don't know how many machines are working and their specific configurations.
This commit is contained in:
parent
533b96bba5
commit
b424851a1f
@ -987,8 +987,6 @@ class RunbotController(http.Controller):
|
|||||||
context = {
|
context = {
|
||||||
'repos': repos,
|
'repos': repos,
|
||||||
'repo': repo,
|
'repo': repo,
|
||||||
'workers': icp.get_param(cr, uid, 'runbot.workers', default=6),
|
|
||||||
'running_max': icp.get_param(cr, uid, 'runbot.running_max', default=75),
|
|
||||||
'pending_total': build_obj.search_count(cr, uid, [('state','=','pending')]),
|
'pending_total': build_obj.search_count(cr, uid, [('state','=','pending')]),
|
||||||
'testing_total': build_obj.search_count(cr, uid, [('state','=','testing')]),
|
'testing_total': build_obj.search_count(cr, uid, [('state','=','testing')]),
|
||||||
'running_total': build_obj.search_count(cr, uid, [('state','=','running')]),
|
'running_total': build_obj.search_count(cr, uid, [('state','=','running')]),
|
||||||
|
@ -348,8 +348,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<span class="navbar-brand navbar-right">
|
<span class="navbar-brand navbar-right">
|
||||||
<t t-esc="testing_total"/>/<t t-esc="workers"/> testing,
|
<t t-esc="testing_total"/> testing,
|
||||||
<t t-esc="running_total"/>/<t t-esc="running_max"/> running,
|
<t t-esc="running_total"/> running,
|
||||||
<t t-esc="pending_total"/> pending
|
<t t-esc="pending_total"/> pending
|
||||||
</span>
|
</span>
|
||||||
</t>
|
</t>
|
||||||
|
Loading…
Reference in New Issue
Block a user