* Queue runner: don't start scheduled builds builds if they belong to

[?]
Nov 30, 2008, 6:53 PM
QZLMDKMUE7CJ4IMNIM5VJUGF54XXUYETOVI6VTCZ627ADOM4PPKAC

Dependencies

  • [2] TP3PFR5K
  • [3] L7LFU6IQ * Make build steps clickable as well.
  • [4] DQD7JMSU * Fix the terminology.
  • [5] 4S4ZMFJK * Links on trs.
  • [6] 7YBYT2LQ
  • [7] NREF6YOA * Don't start more builds concurrently than allowed for each system
  • [8] JLDUSNUO * Unify rendering of finished and scheduled builds.
  • [9] TWVSALRL * Allow the maximum number of concurrent builds per platform to be
  • [10] DVNWJXWW * Generic declaration of build products.
  • [11] L2E6EVE2 * Merged the Build and Job tables.
  • [12] YTSIRIMK * Separate job status and all builds pages.
  • [13] UVMFS73T * Some jQuery / CSS hackery.
  • [*] IK53RV4V
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • replacement in src/Hydra/root/common.tt at line 41
    [5.1162][3.180:264]()
    <tr class="clickable [% IF build.schedulingInfo.busy %]runningJob[% END %]"
    [5.1162]
    [5.115]
    <tr class="clickable [% IF build.schedulingInfo.busy %]runningBuild[% END %] [% IF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END %]"
  • replacement in src/Hydra/root/queue.tt at line 12
    [2.165][2.165:249]()
    <p>Note: jobs in <span class="runningJob">red</span> are currently executing.</p>
    [2.165]
    [2.249]
    <p>Note: Builds in <span class="runningBuild">red</span> are
    currently executing. Builds in <span
    class="disabledBuild">grey</span> are currently disabled.</p>
  • replacement in src/Hydra/root/static/css/hydra.css at line 175
    [5.251][5.2396:2410]()
    .runningJob {
    [5.251]
    [5.1554]
    .runningBuild {
  • edit in src/Hydra/root/static/css/hydra.css at line 178
    [5.1603]
    [5.1603]
    }
    .disabledBuild {
    background-color: #b0b0b0;
  • replacement in src/Hydra/script/hydra_queue_runner.pl at line 61
    [5.139][5.11733:11773](),[5.11733][5.11733:11773](),[5.11773][5.140:235]()
    {finished => 0, busy => 0},
    {join => 'schedulingInfo', select => [{distinct => 'system'}], as => ['system']});
    [5.139]
    [5.8604]
    { finished => 0, busy => 0, enabled => 1, disabled => 0 },
    { join => ['schedulingInfo', 'project'], select => [{distinct => 'system'}], as => ['system'] });
  • replacement in src/Hydra/script/hydra_queue_runner.pl at line 82
    [4.625][5.1087:1248](),[5.1087][5.1087:1248]()
    { finished => 0, busy => 0, system => $system->system },
    { join => 'schedulingInfo', order_by => ["priority DESC", "timestamp"],
    [4.625]
    [5.1248]
    { finished => 0, busy => 0, system => $system->system, enabled => 1, disabled => 0 },
    { join => ['schedulingInfo', 'project'], order_by => ["priority DESC", "timestamp"],