Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: appengine/swarming/templates/user_task.html

Issue 2043853002: Complete CIPD integration (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@run-isolated-cipd
Patch Set: nit Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 {% extends "swarming/base.html" %} 1 {% extends "swarming/base.html" %}
2 2
3 3
4 {% block headers %} 4 {% block headers %}
5 <style> 5 <style>
6 h1 { 6 h1 {
7 margin-top: 10px; 7 margin-top: 10px;
8 margin-bottom: 10px; 8 margin-bottom: 10px;
9 } 9 }
10 10
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 <td>{{request.properties.io_timeout_secs}}</td> 212 <td>{{request.properties.io_timeout_secs}}</td>
213 </tr> 213 </tr>
214 <tr title="Additional environment variables to the one provided by the b ot."> 214 <tr title="Additional environment variables to the one provided by the b ot.">
215 <td>Env vars</td> 215 <td>Env vars</td>
216 <td>{{bot_view.render_dict(request.properties.env)}}</td> 216 <td>{{bot_view.render_dict(request.properties.env)}}</td>
217 </tr> 217 </tr>
218 <tr title="If True, successful task results may be reused for subsequent requests, so the task can be deduped."> 218 <tr title="If True, successful task results may be reused for subsequent requests, so the task can be deduped.">
219 <td>Idempotent</td> 219 <td>Idempotent</td>
220 <td>{{request.properties.idempotent}}</td> 220 <td>{{request.properties.idempotent}}</td>
221 </tr> 221 </tr>
222 {% if request.properties.cipd_input %}
223 <tr title="CIPD server">
224 <td>CIPD server</td>
225 <td>{{request.properties.cipd_input.server}}</td>
226 </tr>
227 <tr title="CIPD client">
228 <td>CIPD client</td>
229 <td>{{request.properties.cipd_input.client_package}}</td>
230 </tr>
231 <tr title="CIPD pacakges">
232 <td>CIPD packages</td>
233 <td>{{request.properties.cipd_input.packages|join('<br>'|safe)}}</td >
234 </tr>
235 {% endif %}
222 {% if request.properties.inputs_ref and request.properties.inputs_ref.is olated %} 236 {% if request.properties.inputs_ref and request.properties.inputs_ref.is olated %}
223 <tr title="Inputs files"> 237 <tr title="Inputs files">
224 <td>Isolated inputs</td> 238 <td>Isolated inputs</td>
225 <td> 239 <td>
226 <a 240 <a
227 href="{{request.properties.inputs_ref.isolatedserver}}/browse?na mespace={{request.properties.inputs_ref.namespace}}&hash={{request.properties.in puts_ref.isolated}}"> 241 href="{{request.properties.inputs_ref.isolatedserver}}/browse?na mespace={{request.properties.inputs_ref.namespace}}&hash={{request.properties.in puts_ref.isolated}}">
228 {{request.properties.inputs_ref.isolated}} 242 {{request.properties.inputs_ref.isolated}}
229 </a> 243 </a>
230 </td> 244 </td>
231 </tr> 245 </tr>
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 <td>Pending time</td> 437 <td>Pending time</td>
424 <td> 438 <td>
425 {{bot_view.pending_star(task)}}{{task.pending_now(now)|timedeltaformat (include_ms=True)}} 439 {{bot_view.pending_star(task)}}{{task.pending_now(now)|timedeltaformat (include_ms=True)}}
426 </td> 440 </td>
427 </tr> 441 </tr>
428 <tr title="Duration of the task, up to now if the task is still on-going." > 442 <tr title="Duration of the task, up to now if the task is still on-going." >
429 <td>Duration </td> 443 <td>Duration </td>
430 <td>{{task.duration_now(now)|timedeltaformat(include_ms=True)}}</td> 444 <td>{{task.duration_now(now)|timedeltaformat(include_ms=True)}}</td>
431 </tr> 445 </tr>
432 {% if task.performance_stats_key %} 446 {% if task.performance_stats_key %}
447 <tr title="Overhead from installing CIPD packages">
448 <td>Overhead CIPD packages</td>
449 <td>{{task.overhead_package_installation|timedeltaformat(include_ms=Tr ue)}}</td>
450 </tr>
433 <tr title="Overhead from installing isolated inputs"> 451 <tr title="Overhead from installing isolated inputs">
434 <td>Overhead isolated inputs</td> 452 <td>Overhead isolated inputs</td>
435 <td>{{task.overhead_isolated_inputs|timedeltaformat(include_ms=True)}} </td> 453 <td>{{task.overhead_isolated_inputs|timedeltaformat(include_ms=True)}} </td>
436 </tr> 454 </tr>
437 <tr title="Overhead from pushing isolated outputs"> 455 <tr title="Overhead from pushing isolated outputs">
438 <td>Overhead isolated outputs</td> 456 <td>Overhead isolated outputs</td>
439 <td>{{task.overhead_isolated_outputs|timedeltaformat(include_ms=True)} }</td> 457 <td>{{task.overhead_isolated_outputs|timedeltaformat(include_ms=True)} }</td>
440 </tr> 458 </tr>
441 {% endif %} 459 {% endif %}
442 <tr title="Overhead from task_runner This is bot side overheads excluding isolated setup and teardown."> 460 <tr title="Overhead from task_runner This is bot side overheads excluding isolated setup and teardown.">
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 528
511 {% set output = task.get_output() %} 529 {% set output = task.get_output() %}
512 {% if output is not none %} 530 {% if output is not none %}
513 <h3>Output:</h3> 531 <h3>Output:</h3>
514 <pre> 532 <pre>
515 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con sole"><span class="blink">|</span>{% endif %} 533 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con sole"><span class="blink">|</span>{% endif %}
516 </pre> 534 </pre>
517 {% endif %} 535 {% endif %}
518 536
519 {% endblock %} 537 {% endblock %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698