github.com/manicqin/nomad@v0.9.5/ui/app/templates/components/job-deployment/task-groups.hbs (about)

     1  <div data-test-deployment-task-groups class="boxed-section">
     2    <div class="boxed-section-head">
     3      Task Groups
     4    </div>
     5    <div class="boxed-section-body is-full-bleed">
     6      {{#list-table
     7        source=deployment.taskGroupSummaries
     8        class="task-groups" as |t|}}
     9        {{#t.head}}
    10          <th>Name</th>
    11          <th>Needs Promotion?</th>
    12          <th>Auto Revert?</th>
    13          <th>Canaries</th>
    14          <th>Allocs</th>
    15          <th>Healthy Allocs</th>
    16          <th>Unhealthy Allocs</th>
    17          <th>Progress Deadline</th>
    18        {{/t.head}}
    19        {{#t.body as |row|}}
    20          <tr data-test-deployment-task-group>
    21            <td data-test-deployment-task-group-name>{{row.model.name}}</td>
    22            <td data-test-deployment-task-group-promotion>
    23              {{#if row.model.requiresPromotion}}
    24                {{if row.model.promoted "No" "Yes"}}
    25              {{else}}
    26                N/A
    27              {{/if}}
    28            </td>
    29            <td data-test-deployment-task-group-auto-revert>{{if row.model.autoRevert "Yes" "No"}}</td>
    30            <td data-test-deployment-task-group-canaries>{{or row.model.placedCanaries 0}} / {{row.model.desiredCanaries}}</td>
    31            <td data-test-deployment-task-group-allocs>{{row.model.placedAllocs}} / {{row.model.desiredTotal}}</td>
    32            <td data-test-deployment-task-group-healthy>{{row.model.healthyAllocs}}</td>
    33            <td data-test-deployment-task-group-unhealthy>{{row.model.unhealthyAllocs}}</td>
    34            <td data-test-deployment-task-group-progress-deadline>
    35              <span class="nowrap">{{format-ts row.model.requireProgressBy}}</span>
    36            </td>
    37          </tr>
    38        {{/t.body}}
    39      {{/list-table}}
    40    </div>
    41  </div>
    42