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

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

Issue 1939343002: swarming: change meaning of inputs_ref (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: fix templates Created 4 years, 7 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
« no previous file with comments | « appengine/swarming/swarming_bot/bot_code/task_runner_test.py ('k') | client/swarming.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.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
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 %}
OLDNEW
« no previous file with comments | « appengine/swarming/swarming_bot/bot_code/task_runner_test.py ('k') | client/swarming.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698