github.com/hernad/nomad@v1.6.112/ui/app/templates/components/job-deployment/task-groups.hbs (about)

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