| OLD | NEW |
| 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 Loading... |
| 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.inputs_ref %} | 222 {% if request.properties.inputs_ref and request.properties.inputs_ref.is
olated %} |
| 223 <tr title="Inputs files"> | 223 <tr title="Inputs files"> |
| 224 <td>Isolated inputs</td> | 224 <td>Isolated inputs</td> |
| 225 <td> | 225 <td> |
| 226 <a | 226 <a |
| 227 href="{{request.properties.inputs_ref.isolatedserver}}/browse?na
mespace={{request.properties.inputs_ref.namespace}}&hash={{request.properties.in
puts_ref.isolated}}"> | 227 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}} | 228 {{request.properties.inputs_ref.isolated}} |
| 229 </a> | 229 </a> |
| 230 </td> | 230 </td> |
| 231 </tr> | 231 </tr> |
| 232 <tr title="Extra arguments if applicable"> | 232 <tr title="Extra arguments if applicable"> |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 <td>{{summarize_array(task.performance_stats.isolated_upload.items_col
d_array)}}</td> | 485 <td>{{summarize_array(task.performance_stats.isolated_upload.items_col
d_array)}}</td> |
| 486 </tr> | 486 </tr> |
| 487 {% endif %} | 487 {% endif %} |
| 488 </tbody> | 488 </tbody> |
| 489 </table> | 489 </table> |
| 490 </div> | 490 </div> |
| 491 | 491 |
| 492 <br> | 492 <br> |
| 493 <div class=highlight_section> | 493 <div class=highlight_section> |
| 494 <h2>Help</h2> | 494 <h2>Help</h2> |
| 495 {% if request.properties.inputs_ref %} | 495 {% if request.properties.inputs_ref and request.properties.inputs_ref.isolated %
} |
| 496 <div>Download inputs files into directory <i>foo</i>:</div> | 496 <div>Download inputs files into directory <i>foo</i>:</div> |
| 497 <div class=code> python isolateserver.py download -I {{request.properties.input
s_ref.isolatedserver}} --namespace {{request.properties.inputs_ref.namespace}} -
s {{request.properties.inputs_ref.isolated}} --target foo</div> | 497 <div class=code> python isolateserver.py download -I {{request.properties.input
s_ref.isolatedserver}} --namespace {{request.properties.inputs_ref.namespace}} -
s {{request.properties.inputs_ref.isolated}} --target foo</div> |
| 498 <br> | 498 <br> |
| 499 {%endif%} | 499 {%endif%} |
| 500 <div>Run this task locally:</div> | 500 <div>Run this task locally:</div> |
| 501 <div class=code> python swarming.py reproduce -S {{host_url}} {{task.task_id}}<
/div> | 501 <div class=code> python swarming.py reproduce -S {{host_url}} {{task.task_id}}<
/div> |
| 502 <br> | 502 <br> |
| 503 <div>Download output results into directory <i>foo</i>:</div> | 503 <div>Download output results into directory <i>foo</i>:</div> |
| 504 <div class=code> python swarming.py collect -S {{host_url}} --task-output-dir=f
oo {{task.task_id}}</div> | 504 <div class=code> python swarming.py collect -S {{host_url}} --task-output-dir=f
oo {{task.task_id}}</div> |
| 505 <br> | 505 <br> |
| 506 <div>Looking for <i>swarming.py</i>?</div> | 506 <div>Looking for <i>swarming.py</i>?</div> |
| 507 <div class=code> git clone https://github.com/luci/client-py</div> | 507 <div class=code> git clone https://github.com/luci/client-py</div> |
| 508 </div> | 508 </div> |
| 509 | 509 |
| 510 {% set output = task.get_output() %} | 510 {% set output = task.get_output() %} |
| 511 {% if output is not none %} | 511 {% if output is not none %} |
| 512 <h3>Output:</h3> | 512 <h3>Output:</h3> |
| 513 <pre> | 513 <pre> |
| 514 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con
sole"><span class="blink">|</span>{% endif %} | 514 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con
sole"><span class="blink">|</span>{% endif %} |
| 515 </pre> | 515 </pre> |
| 516 {% endif %} | 516 {% endif %} |
| 517 | 517 |
| 518 {% endblock %} | 518 {% endblock %} |
| OLD | NEW |