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

Side by Side Diff: master/templates/buildslave.html

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Address comment Created 6 years, 2 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 | « master/templates/builder.html ('k') | master/templates/change_macros.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {% from 'build_line.html' import build_table, build_line %}
2 {% import 'forms.html' as forms %}
3
4 {% extends "layout.html" %}
5 {% block content %}
6 <h1>Buildslave: {{ slavename|e }}</h1>
7
8 <div class="column">
9
10 <!--
11 This section adds information about the build slave's host machine, which may be
12 relevant in diagnosing failures.
13 -->
14 {% for slave_host_name, slave_host_cfg in slave_hosts_cfg.iteritems() %}
15 {% for possible_slavename, slave_id, _ in slave_host_cfg['slaves'] %}
16 {% if slavename == possible_slavename %}
17 <h2>Host Machine:</h2>
18 <table class="info">
19 {% set alt_class = cycler('alt', '') %}
20 {% for item in (('Hostname', slave_host_cfg.hostname),
21 ('IP', slave_host_cfg.ip),
22 ('KVM #', slave_host_cfg.kvm_num),
23 ('How to login', ' '.join(slave_host_cfg.login_cmd or [])) ) %}
24 {% if item[1] %}
25 {% set alt = alt_class.next() %}
26 <tr class="{{ alt }}"><td style="text-align: right;">{{ item[0] }}</td ><td style="text-align: left;">{{ item[1] }}</td></tr>
27 {% endif %}
28 {% endfor %}
29 {% set alt = alt_class.next() %}
30 <tr class="{{ alt }}">
31 <td style="text-align: right;">Slaves</td>
32 <td style="text-align: left;">
33 {% for slave_name, slave_id in slave_host_cfg['slaves'] %}
34 {{ slave_name }}<br/>
35 {% endfor %}
36 </td>
37 </tr>
38 </table>
39 {% endif %}
40 {% endfor %}
41 {% endfor %}
42
43 {% if current %}
44 <h2>Currently building:</h2>
45 <ul>
46 {% for b in current %}
47 <li>{{ build_line(b, True) }}
48 <form method="post" action="{{ b.buildurl }}/stop" class="command stopbuild " style="display:inline">
49 <input type="submit" value="Stop Build" />
50 <input type="hidden" name="url" value="{{ this_url }}" />
51 </form>
52 </li>
53 {% endfor %}
54 </ul>
55 {% else %}
56 <h2>No current builds</h2>
57 {% endif %}
58
59 <h2>Recent builds</h2>
60 {{ build_table(recent, True) }}
61
62 </div>
63 <div class="column">
64 {% if access_uri %}
65 <a href="{{ access_uri|e }}">Click to Access Slave</a>
66 {% endif %}
67
68 {% if admin %}
69 <h2>Administrator</h2>
70 <p>{{ admin|email }}</p>
71 {% endif %}
72
73 {% if host %}
74 <h2>Slave information</h2>
75 Buildbot-Slave {{ slave_version }}
76 {% endif %}
77
78 <!--
79 This section displays the list of builders which may be run on this build slave.
80 -->
81 {% for slave_info in slaves_cfg %}
82 {% if slave_info['hostname'] == slavename %}
83 <h2>Builders run by this slave</h2>
84 <table class="info">
85 {% set alt_class = cycler('alt', '') %}
86 {% for builder in slave_info['builder'] %}
87 {% set alt = alt_class.next() %}
88 <tr class="{{ alt }}"><td><a href="{{ path_to_root }}builders/{{ builder } }">{{ builder }}</a></td></tr>
89 {% endfor %}
90 </table>
91 {% endif %}
92 {% endfor %}
93
94 <h2>Connection Status</h2>
95 <p>
96 {{ connect_count }} connection(s) in the last hour
97 {% if not slave.isConnected() %}
98 (not currently connected)
99 {% else %}
100 </p>
101 {% if authz.advertiseAction('gracefulShutdown') %}
102 <h2>Graceful Shutdown</h2>
103 {% if slave.getGraceful() %}
104 <p>Slave will shut down gracefully when it is idle.</p>
105 {% else %}
106 {{ forms.graceful_shutdown(shutdown_url, authz) }}
107 {% endif %}
108 {% endif %}
109 {% endif %}
110 </div>
111
112 {% endblock %}
OLDNEW
« no previous file with comments | « master/templates/builder.html ('k') | master/templates/change_macros.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698