Re-implement log size limits
The old queue runner already had this. However, we now store "log limit exceeded" as a separate status code in the database.
This commit is contained in:
@ -206,6 +206,8 @@ BLOCK renderBuildStatusIcon;
|
||||
<img src="[% c.uri_for("/static/images/error_${size}.png") %]" alt="Failed with output" class="build-status" />
|
||||
[% ELSIF buildstatus == 7 %]
|
||||
<img src="[% c.uri_for("/static/images/warning_${size}.png") %]" alt="Timed out" class="build-status" />
|
||||
[% ELSIF buildstatus == 10 %]
|
||||
<img src="[% c.uri_for("/static/images/warning_${size}.png") %]" alt="Log limit exceeded" class="build-status" />
|
||||
[% ELSE %]
|
||||
<img src="[% c.uri_for("/static/images/error_${size}.png") %]" alt="Failed" class="build-status" />
|
||||
[% END;
|
||||
@ -235,6 +237,8 @@ BLOCK renderStatus;
|
||||
<span class="error">Timed out</span>
|
||||
[% ELSIF buildstatus == 9 %]
|
||||
<span class="error">Unsupported system type</span>
|
||||
[% ELSIF buildstatus == 10 %]
|
||||
<span class="error">Log limit exceeded</span>
|
||||
[% ELSE %]
|
||||
<span class="error">Aborted</span>
|
||||
(Hydra failure; see <a href="#nix-error">below</a>)
|
||||
|
Reference in New Issue
Block a user