Record which build a failed build step was propagated from
[?]
Feb 25, 2015, 3:42 PM
UJOSXBZIZYRUNHMYJGMNG5WCV5DAAWATX3HOR4PSZEDOGKZJHQZACDependencies
- [2]
R7MDDCB2Some unnecessary job names - [3]
BIVZGPUTOptimise clickable rows - [4]
LZVO64YGMerge in the first bits of the API work - [5]
SX5XYD6IWhen propagating failure, propagate the duration and machine - [6]
JGLE5BRNAdd separate build step status codes for cached failures and timeouts - [7]
PMNWRTGJAdd multiple output support - [8]
3E6IP3R3* Add the name of the jobset to ReleaseSetJobs, otherwise we can't - [9]
CLJQCY2X* Store info about all the build actions and allow them to be - [10]
KN3VYE5P* Cleaned up the foreign key constraints. - [11]
4SJPAAJXPass failing dependent builds to buildFinished - [12]
4WZQW2N6Fix indentation and get rid of some unnecessary whitespace in the output - [13]
MNZ67UXOIf a build step fail, immediately fail all queued builds that depend on it - [14]
AS5PAYLI - [15]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [*]
SB2V735VKeep track of the database schema version - [*]
EFWN7JBV* Added a status page that shows all the currently executing build steps. - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
2GUAKGTBFix indentation of build.tt - [*]
IK53RV4V - [*]
7YBYT2LQ - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
D5QIOJGP* Move everything up one directory.
Change contents
- edit in src/lib/Hydra/Schema/BuildSteps.pm at line 93
is_nullable: 1=head2 propagatedfromdata_type: 'integer'is_foreign_key: 1 - edit in src/lib/Hydra/Schema/BuildSteps.pm at line 126
"propagatedfrom",{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, - edit in src/lib/Hydra/Schema/BuildSteps.pm at line 176
=head2 propagatedfrom - replacement in src/lib/Hydra/Schema/BuildSteps.pm at line 178
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-06-13 01:54:50# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OZsXJniZ/7EB2iSz7p5y4AType: belongs_toRelated object: L<Hydra::Schema::Builds>=cut__PACKAGE__->belongs_to("propagatedfrom","Hydra::Schema::Builds",{ id => "propagatedfrom" },{is_deferrable => 0,join_type => "LEFT",on_delete => "CASCADE",on_update => "NO ACTION",},);# Created by DBIx::Class::Schema::Loader v0.07033 @ 2015-02-25 16:27:20# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZbOxzCzFN7fIT9M2BFY0iQ - edit in src/root/build.tt at line 59
[%+ IF step.propagatedfrom; %](propagated from [% INCLUDE renderBuildIdLink id=step.propagatedfrom.get_column('id') %])[% END %] - replacement in src/root/common.tt at line 171
BLOCK renderBuildLink; %]<a href="[% c.uri_for('/build' build.id) %]">build [% build.id %]</a>BLOCK renderBuildIdLink; %]<a href="[% c.uri_for('/build' id) %]">build [% id %]</a> - edit in src/root/common.tt at line 176
BLOCK renderBuildLink; INCLUDE renderBuildIdLink id=build.id; END; - replacement in src/script/hydra-build at line 42
my ($drvPath, $status, $errorMsg, $dependents, $startTime, $stopTime, $machine) = @_;my ($drvPath, $status, $errorMsg, $dependents, $startTime, $stopTime, $machine, $propagatedFrom) = @_; - edit in src/script/hydra-build at line 78
, propagatedfrom => $propagatedFrom->id - replacement in src/script/hydra-build at line 240
failDependents($drvPathStep, $status, $errorMsg, $dependents, $stepStartTime, $stepStopTime, $machine);failDependents($drvPathStep, $status, $errorMsg, $dependents, $stepStartTime, $stepStopTime, $machine, $build); - edit in src/sql/hydra.sql at line 235
propagatedFrom integer, - replacement in src/sql/hydra.sql at line 239
foreign key (build) references Builds(id) on delete cascadeforeign key (build) references Builds(id) on delete cascade,foreign key (propagatedFrom) references Builds(id) on delete cascade - file addition: upgrade-32.sql[24.3004]
alter table BuildStepsadd column propagatedFrom integer,add foreign key (propagatedFrom) references Builds(id) on delete cascade;