| Index: appengine/swarming/templates/root.html
|
| diff --git a/appengine/swarming/templates/root.html b/appengine/swarming/templates/root.html
|
| deleted file mode 100644
|
| index 6bfb2aa72c7005006cf0a824b3e0631c399d2828..0000000000000000000000000000000000000000
|
| --- a/appengine/swarming/templates/root.html
|
| +++ /dev/null
|
| @@ -1,126 +0,0 @@
|
| -{% extends "swarming/base.html" %}
|
| -
|
| -
|
| -{% block headers %}
|
| -<script src="/third_party/webcomponentsjs/webcomponents.min.js"></script>
|
| -<style>
|
| - .highlight_section {
|
| - background-color: #ffffee;
|
| - border-radius: 20px;
|
| - padding: 10px;
|
| - }
|
| - .admin a {
|
| - {% if not is_admin %}
|
| - color: gray;
|
| - text-decoration: line-through;
|
| - {% endif %}
|
| - }
|
| - .command {
|
| - font-family: monospace;
|
| - margin-bottom: 10px;
|
| - margin-top: 10px;
|
| - white-space: pre-wrap;
|
| - }
|
| - .privileged_user a {
|
| - {% if not is_privileged_user %}
|
| - color: gray;
|
| - text-decoration: line-through;
|
| - {% endif %}
|
| - }
|
| - .user a {
|
| - {% if not is_user %}
|
| - color: gray;
|
| - text-decoration: line-through;
|
| - {% endif %}
|
| - }
|
| - stats-overview {
|
| - min-width: 600px;
|
| - }
|
| -</style>
|
| -{% endblock %}
|
| -
|
| -
|
| -{% block body %}
|
| -
|
| -<h1>Swarming Server</h1>
|
| -<div layout horizontal>
|
| - <div>
|
| - <div class=highlight_section>
|
| - Swarming Server is an open source task distribution service. It is written
|
| - in python and runs on <a
|
| - href="https://cloud.google.com/appengine/">AppEngine</a>. It is part of
|
| - <a href="https://github.com/luci/luci-py">LUCI</a>.
|
| - </div>
|
| - <p>
|
| -
|
| - {% if user_type %}
|
| - As a {{user_type}}, you are entitled to see these pages:
|
| - {% else %}
|
| - Please <a href="{{signin_link|safe}}">sign in</a> for more access.
|
| - {% endif %}
|
| -
|
| - <h3>Service Status</h3>
|
| - <ul>
|
| - <li class="user"><a href="/stats">Usage statistics</a></li>
|
| - <li class="admin"><a href="/restricted/ereporter2/report">Exceptions in server log</a></li>
|
| - <li class="admin"><a href="/restricted/ereporter2/errors">Ereporter2 errors</a></li>
|
| - <li class="admin"><a href="/restricted/mapreduce/status">Map reduce jobs</a></li>
|
| - <li class="admin">
|
| - <a href="https://console.cloud.google.com/appengine?project={{app_id|utf8}}&versionId={{app_version|utf8}}&duration=P2D&graph=AE_INSTANCES">View instances on AppEngine</a>
|
| - </li>
|
| - <li class="admin">
|
| - <a href="https://console.cloud.google.com/appengine?project={{app_id|utf8}}&versionId={{app_version|utf8}}&duration=P2D&graph=AE_ERROR_DETAILS">View HTTP 4xx/5xx on AppEngine</a>
|
| - </li>
|
| - </ul>
|
| -
|
| - <h3>Configuration</h3>
|
| - <ul class="admin">
|
| - <li><a href="/restricted/config">Server config</a></li>
|
| - <li><a href="/restricted/upload/bootstrap">bootstrap.py</a></li>
|
| - <li><a href="/restricted/upload/bot_config">bot_config.py</a></li>
|
| - <li><a href="/auth/groups">User groups</a></li>
|
| - </ul>
|
| -
|
| - <h3>Running a bot</h3>
|
| - {% if is_bootstrapper %}
|
| - To bootstrap a bot, run one of these (all links are valid for 1 hour):
|
| - {% else %}
|
| - To bootstrap a bot, an admin can run one of these:
|
| - {% endif %}
|
| - <ol>
|
| - <li>
|
| - <strong> TL;DR; </strong>
|
| -<pre class="command">python -c "import urllib; exec urllib.urlopen('{{host_url}}/bootstrap?tok={{bootstrap_token}}').read()"</pre>
|
| - </li>
|
| - <li>
|
| - Escaped version to pass as a ssh argument:
|
| -<pre class="command">'python -c "import urllib; exec urllib.urlopen('"'{{host_url}}/bootstrap?tok={{bootstrap_token}}'"').read()"'</pre>
|
| - </li>
|
| - <li>
|
| - Manually:
|
| -<pre class="command" style="margin-bottom:0">mkdir bot; cd bot
|
| -rm -f swarming_bot.zip; curl -sSLOJ {{host_url}}/bot_code?tok={{bootstrap_token}}
|
| -python swarming_bot.zip</pre>
|
| - </li>
|
| - </ol>
|
| - </li>
|
| -
|
| - {% if is_admin %}
|
| - <h3>Map reduce jobs</h3>
|
| - <ul class="admin">
|
| - {% for job in mapreduce_jobs %}
|
| - <li>
|
| - <form action="/restricted/launch_mapreduce" method="post">
|
| - <input type="hidden" name="xsrf_token" value="{{xsrf_token}}" />
|
| - <input type="hidden" name="job_id" value="{{job.id}}" />
|
| - <button type="submit">Launch '{{job.name}}'</button>
|
| - </form>
|
| - </li>
|
| - {% endfor %}
|
| - </ul>
|
| - {% endif %}
|
| - </div>
|
| - <stats-overview flex></stats-overview>
|
| -</div>
|
| -
|
| -{% endblock %}
|
|
|