resync hydra with upstream #4

Merged
ahuston-0 merged 36 commits from feature/resync into add-gitea-pulls 2025-04-09 11:38:41 -04:00
Showing only changes of commit d5fb163618 - Show all commits

View File

@ -96,9 +96,11 @@ BLOCK renderDrvInfo;
.substr(11) # strip `/nix/store/` .substr(11) # strip `/nix/store/`
.split('-').slice(1).join("-") # strip hash part .split('-').slice(1).join("-") # strip hash part
.substr(0, -4); # strip `.drv` .substr(0, -4); # strip `.drv`
IF drvname != releasename;
IF step.type == 0; action = "Build"; ELSE; action = "Substitution"; END; IF step.type == 0; action = "Build"; ELSE; action = "Substitution"; END;
IF drvname; %]<em> ([% action %] of [% drvname %])</em>[% END; IF drvname; %]<em> ([% action %] of [% drvname %])</em>[% END;
END; END;
END;
BLOCK renderBuildListHeader %] BLOCK renderBuildListHeader %]
@ -143,7 +145,7 @@ BLOCK renderBuildListBody;
<td> <td>
<a href="[%link%]">[% IF !hideJobsetName %][%build.jobset.get_column("project")%]:[%build.jobset.get_column("name")%]:[% END %][%build.get_column("job")%]</a> <a href="[%link%]">[% IF !hideJobsetName %][%build.jobset.get_column("project")%]:[%build.jobset.get_column("name")%]:[% END %][%build.get_column("job")%]</a>
[% IF showStepName %] [% IF showStepName %]
[% INCLUDE renderDrvInfo step=build.buildsteps %] [% INCLUDE renderDrvInfo step=build.buildsteps releasename=build.nixname %]
[% END %] [% END %]
</td> </td>
[% END %] [% END %]