* Added a status page that shows all the currently executing build steps.

* Store the system type in the BuildSteps table.
* Don't query the queue size when serving static pages.  This prevents
  two unnecessary database queries per request.
This commit is contained in:
Eelco Dolstra
2010-08-31 15:27:46 +00:00
parent eb0c477549
commit f6715fa0ef
7 changed files with 73 additions and 9 deletions

View File

@ -104,6 +104,13 @@ __PACKAGE__->table("BuildSteps");
is_nullable: 0
size: undef
=head2 system
data_type: text
default_value: undef
is_nullable: 1
size: undef
=cut
__PACKAGE__->add_columns(
@ -187,6 +194,13 @@ __PACKAGE__->add_columns(
},
"machine",
{ data_type => "text", default_value => "''", is_nullable => 0, size => undef },
"system",
{
data_type => "text",
default_value => undef,
is_nullable => 1,
size => undef,
},
);
__PACKAGE__->set_primary_key("build", "stepnr");
@ -203,7 +217,13 @@ Related object: L<Hydra::Schema::Builds>
__PACKAGE__->belongs_to("build", "Hydra::Schema::Builds", { id => "build" }, {});
# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-08-31 15:40:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CC/XBHMiRLuQSI+nEFW50g
# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-08-31 17:19:01
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BU1na1One0SzUwilm7YmQQ
__PACKAGE__->belongs_to(
"schedulingInfo",
"Hydra::Schema::BuildSchedulingInfo",
{ id => "build" },
);
1;