зеркало из https://github.com/mozilla/treeherder.git
Bug 1281821 - Docs: Correct Pulse environment variable references (#4097)
To account for the changes in #3948.
This commit is contained in:
Родитель
2aa0f9e405
Коммит
55cf146ef1
|
@ -110,7 +110,8 @@ push_sources = [
|
|||
```
|
||||
|
||||
#### Jobs
|
||||
Job Exchanges and Projects can be configured in the environment like so:
|
||||
Job Exchanges and Projects are defined in ``job_sources``, however can
|
||||
also be configured in the environment like so:
|
||||
|
||||
``PULSE_JOB_SOURCES`` defines a list of exchanges with projects.
|
||||
```bash
|
||||
|
@ -146,7 +147,7 @@ celery -A treeherder worker -B -Q pushlog,store_pulse_jobs,store_pulse_resultset
|
|||
* The ``store_pulse_resultsets`` queue will ingest all the pushes from the exchanges
|
||||
specified in ``push_sources``. This can be Mercurial and Github
|
||||
* The ``store_pulse_jobs`` queue will ingest all the jobs from the exchanges
|
||||
specified in ``PULSE_JOB_EXCHANGES``.
|
||||
specified in ``job_sources`` (or ``PULSE_JOB_SOURCES``).
|
||||
|
||||
```eval_rst
|
||||
.. note:: Any job that comes from **Pulse** that does not have an associated push will be skipped.
|
||||
|
|
|
@ -7,8 +7,8 @@ env = environ.Env()
|
|||
|
||||
def build_connection():
|
||||
"""Build a Kombu Broker connection to Mozilla Pulse."""
|
||||
# Used to specify the PulseGuardian account that will be used to create
|
||||
# ingestion queues for the exchanges specified in ``PULSE_SOURCE_EXCHANGES``.
|
||||
# Used to specify the PulseGuardian account that will be used to create ingestion
|
||||
# queues for the exchanges specified in treeherder/services/pulse/sources.py.
|
||||
# See https://pulse.mozilla.org/whats_pulse for more info.
|
||||
# Example: "amqp://myuserid:mypassword@pulse.mozilla.org:5672/?ssl=1"
|
||||
pulse_url = env.url("PULSE_URL")
|
||||
|
|
Загрузка…
Ссылка в новой задаче