2018-05-04 22:03:00 +00:00
|
|
|
<ol class="timeline">
|
2020-07-13 14:26:12 +00:00
|
|
|
{{#if @allocation.nextAllocation}}
|
2020-06-01 19:03:56 +00:00
|
|
|
<RescheduleEventRow
|
|
|
|
@label="Next Allocation"
|
2020-07-13 14:26:12 +00:00
|
|
|
@allocation={{@allocation.nextAllocation}}
|
|
|
|
@time={{@allocation.nextAllocation.modifyTime}} />
|
2018-05-04 22:03:00 +00:00
|
|
|
{{/if}}
|
2020-07-13 14:26:12 +00:00
|
|
|
{{#if @allocation.hasStoppedRescheduling}}
|
2018-05-05 02:04:36 +00:00
|
|
|
<li class="timeline-note" data-test-stop-warning>
|
2020-10-26 21:52:25 +00:00
|
|
|
{{x-icon "alert-triangle" class="is-warning is-text"}} Nomad has stopped attempting to reschedule this allocation.
|
2018-05-04 22:03:00 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
2020-07-13 14:26:12 +00:00
|
|
|
{{#if (and @allocation.followUpEvaluation.waitUntil (not @allocation.nextAllocation))}}
|
2018-05-05 02:04:36 +00:00
|
|
|
<li class="timeline-note" data-test-attempt-notice>
|
2018-05-04 22:03:00 +00:00
|
|
|
{{x-icon "clock" class="is-info is-text"}} Nomad will attempt to reschedule
|
2020-07-13 14:26:12 +00:00
|
|
|
<span class="tooltip" aria-label="{{format-ts @allocation.followUpEvaluation.waitUntil}}">
|
|
|
|
{{moment-from-now @allocation.followUpEvaluation.waitUntil interval=1000}}
|
2019-01-30 17:57:55 +00:00
|
|
|
</span>
|
2018-05-04 22:03:00 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
2020-06-01 19:03:56 +00:00
|
|
|
<RescheduleEventRow
|
2020-07-13 14:26:12 +00:00
|
|
|
@allocation={{@allocation}}
|
2020-06-01 19:03:56 +00:00
|
|
|
@linkToAllocation={{false}}
|
2020-07-13 14:26:12 +00:00
|
|
|
@time={{@allocation.modifyTime}} />
|
2018-05-04 22:03:00 +00:00
|
|
|
|
2020-07-13 14:26:12 +00:00
|
|
|
{{#each (reverse @allocation.rescheduleEvents) as |event|}}
|
2020-06-01 19:03:56 +00:00
|
|
|
<RescheduleEventRow
|
|
|
|
@allocationId={{event.previousAllocationId}}
|
|
|
|
@time={{event.time}} />
|
2018-05-04 22:03:00 +00:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|