mirror of https://github.com/zulip/zulip.git
Document Zulip SITE option in most integrations.
(imported from commit d7266df1fa23a5fef5d5e7cce8d108da47f36da5)
This commit is contained in:
parent
44386b3615
commit
d7c7913a11
|
@ -148,6 +148,5 @@ to pull out the resulting HTML :)
|
|||
<div class="codehilite"><pre><span class="k">[api]</span>
|
||||
<span class="na">key</span><span class="o">=</span><span class="s">BOT_API_KEY</span>
|
||||
<span class="na">email</span><span class="o">=</span><span class="s">BOT_EMAIL_ADDRESS</span>
|
||||
{% if api_site_required %}<span class="na">site</span><span class="o">=</span><span class="s">{{ external_api_uri }}</span>{% endif %}
|
||||
</pre></div>
|
||||
{% if api_site_required %}<span class="na">site</span><span class="o">=</span><span class="s">{{ external_api_uri }}</span>{% endif %}</pre></div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -255,7 +255,8 @@
|
|||
<span class="n">BASECAMP_PASSWORD</span> <span class="o">=</span> <span class="s">"p455w0rd"</span>
|
||||
|
||||
<span class="n">ZULIP_USER</span> <span class="o">=</span> <span class="s">"basecamp-bot@example.com"</span>
|
||||
<span class="n">ZULIP_API_KEY</span> <span class="o">=</span> <span class="s">"0123456789abcdef0123456789abcdef"</span></pre>
|
||||
<span class="n">ZULIP_API_KEY</span> <span class="o">=</span> <span class="s">"0123456789abcdef0123456789abcdef"</span>
|
||||
{% if api_site_required %}<span class="n">ZULIP_SITE</span> <span class="o">=</span> <span class="s">"{{ external_api_uri }}"</span>{% endif %}</pre>
|
||||
</div>
|
||||
|
||||
<p>Before your first run of the script, you may optionally choose to
|
||||
|
@ -341,7 +342,8 @@
|
|||
# ~/.zuliprc if you omit --user and --api-key</span>
|
||||
<span class="n">run_locally</span> <span class="s2">"echo ':beers: I just deployed to </span><span class="si">#{</span><span class="n">stage</span><span class="si">}</span><span class="s2">! :beers:' | zulip-send \
|
||||
--user capistrano-bot@example.com --api-key a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 \
|
||||
--stream commits --subject deployments || true"</span>
|
||||
{% if api_site_required %} --site={{ external_api_uri }} \
|
||||
{% endif %} --stream commits --subject deployments || true"</span>
|
||||
<span class="k">end</span>
|
||||
<span class="k">end</span>
|
||||
</pre></div>
|
||||
|
@ -384,7 +386,8 @@
|
|||
<span class="n">CODEBASE_API_KEY</span> <span class="o">=</span> <span class="s">0123456789abcdef0123456789abcdef</span>
|
||||
|
||||
<span class="n">ZULIP_USER</span> <span class="o">=</span> <span class="s">"codebase-bot@example.com"</span>
|
||||
<span class="n">ZULIP_API_KEY</span> <span class="o">=</span> <span class="s">"0123456789abcdef0123456789abcdef"</span></pre>
|
||||
<span class="n">ZULIP_API_KEY</span> <span class="o">=</span> <span class="s">"0123456789abcdef0123456789abcdef"</span>
|
||||
{% if api_site_required %}<span class="n">ZULIP_SITE</span> <span class="o">=</span> <span class="s">"{{ external_api_uri }}"</span>{% endif %}</pre>
|
||||
</div>
|
||||
|
||||
<p>Before your first run of the script, you may optionally choose to
|
||||
|
@ -719,7 +722,8 @@
|
|||
|
||||
|
||||
<div class="codehilite"><pre><span class="n">ZULIP_USER</span> <span class="o">=</span> <span class="s">"git-bot@example.com"</span>
|
||||
<span class="n">ZULIP_API_KEY</span> <span class="o">=</span> <span class="s">"0123456789abcdef0123456789abcdef"</span></pre></div>
|
||||
<span class="n">ZULIP_API_KEY</span> <span class="o">=</span> <span class="s">"0123456789abcdef0123456789abcdef"</span>
|
||||
{% if api_site_required %}<span class="n">ZULIP_SITE</span> <span class="o">=</span> <span class="s">"{{ external_api_uri }}"</span>{% endif %}</pre></div>
|
||||
|
||||
<p>You can also specify which pushes will result in
|
||||
notifications and to what stream the notifications will be sent
|
||||
|
@ -964,7 +968,7 @@ following, to the stream <code>commits</code> with a subject that matches the re
|
|||
<div class="codehilite"><pre>[api]
|
||||
email=NAGIOS_BOT_EMAIL_ADDRESS
|
||||
key=NAGIOS_BOT_API_KEY
|
||||
</pre></div>
|
||||
{% if api_site_required %}site={{ external_api_uri }}{% endif %}</pre></div>
|
||||
|
||||
<p>Copy <code>integrations/nagios/zulip_nagios.cfg</code>
|
||||
to <code>/etc/nagios3/conf.d</code> on your Nagios server.</p>
|
||||
|
@ -1372,7 +1376,8 @@ ignore_branches = "noisy,even-more-noisy"</pre>
|
|||
<div class="codehilite"><pre><span class="n">ZULIP_USER</span> <span class="o">=</span> <span class="s">"trac-notifications-bot@example.com"</span>
|
||||
<span class="n">ZULIP_API_KEY</span> <span class="o">=</span> <span class="s">"0123456789abcdef0123456789abcdef"</span>
|
||||
<span class="n">STREAM_FOR_NOTIFICATIONS</span> <span class="o">=</span> <span class="s">"trac"</span>
|
||||
<span class="n">TRAC_BASE_TICKET_URL</span> <span class="o">=</span> <span class="s">"https://trac.example.com/ticket"</span></pre></div>
|
||||
<span class="n">TRAC_BASE_TICKET_URL</span> <span class="o">=</span> <span class="s">"https://trac.example.com/ticket"</span>
|
||||
{% if api_site_required %}<span class="n">ZULIP_SITE</span> <span class="o">=</span> <span class="s">"{{ external_api_uri }}"</span>{% endif %}</pre></div>
|
||||
|
||||
<p>Copy <code>integrations/trac/zulip_trac.py</code>
|
||||
and <code>integrations/trac/zulip_trac_config.py</code> into
|
||||
|
|
Loading…
Reference in New Issue