| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 66 } |
| 67 | 67 |
| 68 .spaced { | 68 .spaced { |
| 69 margin-top: 10px; | 69 margin-top: 10px; |
| 70 margin-bottom: 5px; | 70 margin-bottom: 5px; |
| 71 } | 71 } |
| 72 | 72 |
| 73 .package-list { | 73 .package-list { |
| 74 margin-left: 1em; | 74 margin-left: 1em; |
| 75 } | 75 } |
| 76 |
| 77 .package-pin-name { |
| 78 font-weight: bold; |
| 79 } |
| 80 |
| 81 .package-pin-version { |
| 82 color: blue; |
| 83 } |
| 76 </style> | 84 </style> |
| 77 {% endblock %} | 85 {% endblock %} |
| 78 | 86 |
| 79 | 87 |
| 80 {% block body %} | 88 {% block body %} |
| 81 {% import 'swarming/bot_view.html' as bot_view %} | 89 {% import 'swarming/bot_view.html' as bot_view %} |
| 82 | 90 |
| 83 | 91 |
| 84 {% macro summarize_array(values) %} | 92 {% macro summarize_array(values) %} |
| 85 {% if not values %} | 93 {% if not values %} |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 <td>{{request.properties.io_timeout_secs}}</td> | 224 <td>{{request.properties.io_timeout_secs}}</td> |
| 217 </tr> | 225 </tr> |
| 218 <tr title="Additional environment variables to the one provided by the b
ot."> | 226 <tr title="Additional environment variables to the one provided by the b
ot."> |
| 219 <td>Env vars</td> | 227 <td>Env vars</td> |
| 220 <td>{{bot_view.render_dict(request.properties.env)}}</td> | 228 <td>{{bot_view.render_dict(request.properties.env)}}</td> |
| 221 </tr> | 229 </tr> |
| 222 <tr title="If True, successful task results may be reused for subsequent
requests, so the task can be deduped."> | 230 <tr title="If True, successful task results may be reused for subsequent
requests, so the task can be deduped."> |
| 223 <td>Idempotent</td> | 231 <td>Idempotent</td> |
| 224 <td>{{request.properties.idempotent}}</td> | 232 <td>{{request.properties.idempotent}}</td> |
| 225 </tr> | 233 </tr> |
| 226 {% if request.properties.cipd_input %} | 234 {% if cipd %} |
| 227 <tr title="CIPD server"> | 235 <tr title="CIPD server"> |
| 228 <td>CIPD server</td> | 236 <td>CIPD server</td> |
| 229 <td>{{request.properties.cipd_input.server}}</td> | 237 <td>{{cipd.server}}</td> |
| 230 </tr> | 238 </tr> |
| 231 <tr title="CIPD client"> | 239 <tr title="CIPD client"> |
| 232 <td>CIPD client</td> | 240 <td>CIPD client</td> |
| 233 <td>{{request.properties.cipd_input.client_package}}</td> | 241 <td>{{cipd.client_package.pkg}}</td> |
| 234 </tr> | 242 </tr> |
| 235 <tr title="CIPD pacakges"> | 243 {% if cipd.packages %} |
| 236 <td>CIPD packages</td> | 244 <tr title="CIPD pacakges"> |
| 237 <td> | 245 <td>CIPD packages</td> |
| 238 {% for path, packages in request.properties.cipd_input.packages_gr
ouped_by_path() %} | 246 <td> |
| 239 <div>{{ path or '.'}}/</div> | 247 {% for path, pins in cipd.packages %} |
| 240 <div class="package-list"> | 248 <div>{{ path or '.'}}/</div> |
| 241 {{packages|join('<br>'|safe)}} | 249 <div class="package-list"> |
| 242 </div> | 250 {% for pin in pins %} |
| 243 {% endfor %} | 251 {{pin.pkg}}{% if not loop.last %}<br>{% endif %} |
| 244 </td> | 252 {% endfor %} |
| 245 </tr> | 253 </div> |
| 254 {% endfor %} |
| 255 </td> |
| 256 </tr> |
| 257 {% endif %} |
| 246 {% endif %} | 258 {% endif %} |
| 247 {% if request.properties.inputs_ref and request.properties.inputs_ref.is
olated %} | 259 {% if request.properties.inputs_ref and request.properties.inputs_ref.is
olated %} |
| 248 <tr title="Inputs files"> | 260 <tr title="Inputs files"> |
| 249 <td>Isolated inputs</td> | 261 <td>Isolated inputs</td> |
| 250 <td> | 262 <td> |
| 251 <a | 263 <a |
| 252 href="{{request.properties.inputs_ref.isolatedserver}}/browse?na
mespace={{request.properties.inputs_ref.namespace}}&hash={{request.properties.in
puts_ref.isolated}}"> | 264 href="{{request.properties.inputs_ref.isolatedserver}}/browse?na
mespace={{request.properties.inputs_ref.namespace}}&hash={{request.properties.in
puts_ref.isolated}}"> |
| 253 {{request.properties.inputs_ref.isolated}} | 265 {{request.properties.inputs_ref.isolated}} |
| 254 </a> | 266 </a> |
| 255 </td> | 267 </td> |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 <tr title="Current bot dimensions."> | 423 <tr title="Current bot dimensions."> |
| 412 <td>Bot dimensions</td> | 424 <td>Bot dimensions</td> |
| 413 <td> | 425 <td> |
| 414 {% if task.bot_dimensions %} | 426 {% if task.bot_dimensions %} |
| 415 {{bot_view.render_dict(task.bot_dimensions)}} | 427 {{bot_view.render_dict(task.bot_dimensions)}} |
| 416 {% else %} | 428 {% else %} |
| 417 {{bot_view.bot_dimensions(bot)}} | 429 {{bot_view.bot_dimensions(bot)}} |
| 418 {% endif %} | 430 {% endif %} |
| 419 </td> | 431 </td> |
| 420 </tr> | 432 </tr> |
| 433 {% if cipd_pinned %} |
| 434 <tr title="CIPD client"> |
| 435 <td>CIPD client</td> |
| 436 <td>{{cipd.client_package.pin}}</td> |
| 437 </tr> |
| 438 {% if cipd.packages %} |
| 439 <tr title="CIPD pacakges"> |
| 440 <td>CIPD packages</td> |
| 441 <td> |
| 442 {% for path, pins in cipd.packages %} |
| 443 <div>{{ path or '.'}}/</div> |
| 444 <div class="package-list"> |
| 445 {% for pin in pins %} |
| 446 {{pin.pin}}{% if not loop.last %}<br>{% endif %} |
| 447 {% endfor %} |
| 448 </div> |
| 449 {% endfor %} |
| 450 </td> |
| 451 </tr> |
| 452 {% endif %} |
| 453 {% endif %} |
| 421 <tr title="Current bot version. TODO(maruel): List bot version at time of
task reaping."> | 454 <tr title="Current bot version. TODO(maruel): List bot version at time of
task reaping."> |
| 422 <td>Bot version</td> | 455 <td>Bot version</td> |
| 423 <td>{{task.bot_version}}</td> | 456 <td>{{task.bot_version}}</td> |
| 424 </tr> | 457 </tr> |
| 425 <tr title="List of server versions that touched this task."> | 458 <tr title="List of server versions that touched this task."> |
| 426 <td>Server version</td> | 459 <td>Server version</td> |
| 427 <td> | 460 <td> |
| 428 {% for v in task.server_versions %} | 461 {% for v in task.server_versions %} |
| 429 {% if is_gae_admin %} | 462 {% if is_gae_admin %} |
| 430 <a href="https://appengine.google.com/logs?&app_id={{full_appid}}&
version_id={{v}}"> | 463 <a href="https://appengine.google.com/logs?&app_id={{full_appid}}&
version_id={{v}}"> |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 | 572 |
| 540 {% set output = task.get_output() %} | 573 {% set output = task.get_output() %} |
| 541 {% if output is not none %} | 574 {% if output is not none %} |
| 542 <h3>Output:</h3> | 575 <h3>Output:</h3> |
| 543 <pre> | 576 <pre> |
| 544 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con
sole"><span class="blink">|</span>{% endif %} | 577 {{task.get_output().decode('utf-8', 'replace')}}{% if is_running %}<p class="con
sole"><span class="blink">|</span>{% endif %} |
| 545 </pre> | 578 </pre> |
| 546 {% endif %} | 579 {% endif %} |
| 547 | 580 |
| 548 {% endblock %} | 581 {% endblock %} |
| OLD | NEW |