Skip to content

Commit 262dac4

Browse files
committed
Do not display "scheduled" CFBot tasks as failed (#9)
As far as I can tell this doesn't matter in practice, because it seems that with the way we use CirrusCI it never actually returns the SCHEDULED status. I ran into this when working with some dummy development data though (see #8).
1 parent f97325e commit 262dac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgcommitfest/commitfest/templates/patch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{%for c in cfbot_tasks %}
3232
{%if c.status == 'COMPLETED'%}
3333
<a href="https://cirrusci.com/task/{{c.id}}" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/new_success.svg"/></a>
34-
{%elif c.status == 'CREATED' %}
34+
{%elif c.status == 'CREATED' or c.status == 'SCHEDULED' %}
3535
<a href="https://cirrusci.com/task/{{c.id}}" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/waiting_to_start.svg"/></a>
3636
{%elif c.status == 'EXECUTING' %}
3737
<a href="https://cirrusci.com/task/{{c.id}}" title="{{c.task_name}}: {{c.status}}"><img src="/media/commitfest/running.svg"/></a>

0 commit comments

Comments
 (0)