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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « master/templates/builder.html ('k') | master/templates/change_macros.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: master/templates/buildslave.html
diff --git a/master/templates/buildslave.html b/master/templates/buildslave.html
deleted file mode 100644
index 22fc0d85b20725fff9dcf8a985ead9df9392e797..0000000000000000000000000000000000000000
--- a/master/templates/buildslave.html
+++ /dev/null
@@ -1,112 +0,0 @@
-{% from 'build_line.html' import build_table, build_line %}
-{% import 'forms.html' as forms %}
-
-{% extends "layout.html" %}
-{% block content %}
-<h1>Buildslave: {{ slavename|e }}</h1>
-
-<div class="column">
-
-<!--
-This section adds information about the build slave's host machine, which may be
-relevant in diagnosing failures.
--->
-{% for slave_host_name, slave_host_cfg in slave_hosts_cfg.iteritems() %}
- {% for possible_slavename, slave_id, _ in slave_host_cfg['slaves'] %}
- {% if slavename == possible_slavename %}
- <h2>Host Machine:</h2>
- <table class="info">
- {% set alt_class = cycler('alt', '') %}
- {% for item in (('Hostname', slave_host_cfg.hostname),
- ('IP', slave_host_cfg.ip),
- ('KVM #', slave_host_cfg.kvm_num),
- ('How to login', ' '.join(slave_host_cfg.login_cmd or []))) %}
- {% if item[1] %}
- {% set alt = alt_class.next() %}
- <tr class="{{ alt }}"><td style="text-align: right;">{{ item[0] }}</td><td style="text-align: left;">{{ item[1] }}</td></tr>
- {% endif %}
- {% endfor %}
- {% set alt = alt_class.next() %}
- <tr class="{{ alt }}">
- <td style="text-align: right;">Slaves</td>
- <td style="text-align: left;">
- {% for slave_name, slave_id in slave_host_cfg['slaves'] %}
- {{ slave_name }}<br/>
- {% endfor %}
- </td>
- </tr>
- </table>
- {% endif %}
- {% endfor %}
-{% endfor %}
-
-{% if current %}
- <h2>Currently building:</h2>
- <ul>
- {% for b in current %}
- <li>{{ build_line(b, True) }}
- <form method="post" action="{{ b.buildurl }}/stop" class="command stopbuild" style="display:inline">
- <input type="submit" value="Stop Build" />
- <input type="hidden" name="url" value="{{ this_url }}" />
- </form>
- </li>
- {% endfor %}
- </ul>
-{% else %}
- <h2>No current builds</h2>
-{% endif %}
-
-<h2>Recent builds</h2>
-{{ build_table(recent, True) }}
-
-</div>
-<div class="column">
-{% if access_uri %}
- <a href="{{ access_uri|e }}">Click to Access Slave</a>
-{% endif %}
-
-{% if admin %}
- <h2>Administrator</h2>
- <p>{{ admin|email }}</p>
-{% endif %}
-
-{% if host %}
- <h2>Slave information</h2>
- Buildbot-Slave {{ slave_version }}
-{% endif %}
-
-<!--
-This section displays the list of builders which may be run on this build slave.
--->
-{% for slave_info in slaves_cfg %}
- {% if slave_info['hostname'] == slavename %}
- <h2>Builders run by this slave</h2>
- <table class="info">
- {% set alt_class = cycler('alt', '') %}
- {% for builder in slave_info['builder'] %}
- {% set alt = alt_class.next() %}
- <tr class="{{ alt }}"><td><a href="{{ path_to_root }}builders/{{ builder }}">{{ builder }}</a></td></tr>
- {% endfor %}
- </table>
- {% endif %}
-{% endfor %}
-
-<h2>Connection Status</h2>
-<p>
-{{ connect_count }} connection(s) in the last hour
-{% if not slave.isConnected() %}
-(not currently connected)
-{% else %}
-</p>
- {% if authz.advertiseAction('gracefulShutdown') %}
- <h2>Graceful Shutdown</h2>
- {% if slave.getGraceful() %}
- <p>Slave will shut down gracefully when it is idle.</p>
- {% else %}
- {{ forms.graceful_shutdown(shutdown_url, authz) }}
- {% endif %}
- {% endif %}
-{% endif %}
-</div>
-
-{% endblock %}
« 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