Robots for checking if things have been delivered
Перейти к файлу
Rémy HUBSCHER 258dce59cc
Update the whatsdeployed URL.
2018-02-15 14:58:33 +01:00
.github Adding a PULL_REQUEST_TEMPLATE. 2017-09-19 21:45:49 +07:00
pollbot Update the whatsdeployed URL. 2018-02-15 14:58:33 +01:00
scripts Run tests on the docker image to validate it. 2017-08-08 18:13:50 +02:00
tests Makes it less brittle. 2018-02-14 14:13:08 +01:00
.gitignore Ignore pytest_cache folder. 2018-01-31 17:49:26 +01:00
.travis.yml Upgrade to Python 3.6 2018-02-14 13:44:18 +01:00
API_CHANGELOG.rst Add bouncer checks and endpoints. 2017-11-21 14:57:30 +01:00
CHANGELOG.rst Update the whatsdeployed URL. 2018-02-15 14:58:33 +01:00
CODE_OF_CONDUCT.md Fix broken markdown in CODE_OF_CONDUCT.md 2017-08-05 11:18:19 -07:00
CONTRIBUTORS.rst Initiate aiohttp service. 2017-08-04 16:31:03 +02:00
Dockerfile @mostlygeek review. 2017-08-08 17:57:07 +02:00
LICENSE Initial commit 2017-08-01 10:39:57 -07:00
MANIFEST.in Add the contribute.json endpoint. 2017-08-07 15:04:02 +02:00
Makefile Upgrade to Python 3.6 2018-02-14 13:44:18 +01:00
README.rst @glasserc review. 2017-09-25 17:59:46 +02:00
circle.yml Fix project name in version.json 2017-09-13 17:26:24 +02:00
dev-requirements.txt Upgrade to Python 3.6 2018-02-14 13:44:18 +01:00
requirements.txt Preparing release 1.1.0 2018-02-14 14:39:28 +01:00
setup.cfg Back to development: 1.2.0 2018-02-14 14:41:05 +01:00
setup.py Back to development: 1.2.0 2018-02-14 14:41:05 +01:00
tox.ini Upgrade to Python 3.6 2018-02-14 13:44:18 +01:00

README.rst

PollBot
=======

|coc| |travis| |master-coverage|

.. |coc| image:: https://img.shields.io/badge/%E2%9D%A4-code%20of%20conduct-blue.svg
    :target: https://github.com/mozilla/PollBot/blob/master/CODE_OF_CONDUCT.md
    :alt: Code of conduct

.. |travis| image:: https://travis-ci.org/mozilla/PollBot.svg?branch=master
    :target: https://travis-ci.org/mozilla/PollBot

.. |master-coverage| image::
    https://coveralls.io/repos/mozilla/PollBot/badge.svg?branch=master
    :alt: Coverage
    :target: https://coveralls.io/r/mozilla/PollBot

.. |readthedocs| image:: https://readthedocs.org/projects/pollbot/badge/?version=latest
    :target: https://pollbot.readthedocs.io/en/latest/
    :alt: Documentation Status

.. |pypi| image:: https://img.shields.io/pypi/v/pollbot.svg
    :target: https://pypi.python.org/pypi/pollbot

PollBot is an hardworking little robot (microservice) that frees its
human masters from the toilsome task of polling for the state of
things during the Firefox release process.


`Version 1.0 <https://github.com/mozilla/PollBot/projects/1>`_ will
provide, at a minimum, these API resources:

#. build exists on archive.mozilla.org
#. release notes published
#. product-details.mozilla.org JSON contains the release
#. download links are on mozilla.org and they work
#. security advisories are published and links work 

License
-------

MPL v2 (see `LICENSE <https://github.com/mozilla/PollBot/blob/master/LICENSE>`_)


Configuration
-------------

PollBot is a currently a stateless service, which means there are no
database services to configure.

However you can configure the following parameters using environment variables:

+-----------------------+-------------------------------------------------+
| **VARIABLE**          | **Description**                                 |
+-----------------------+-------------------------------------------------+
| ``PORT``              | The service PORT, by default runs on 9876       |
+-----------------------+-------------------------------------------------+
| ``VERSION_FILE``      | The JSON version file, default PWD/version.json |
+-----------------------+-------------------------------------------------+
| ``CACHE_MAX_AGE``     | The Cache-Control max-age value, default to 30  |
|                       | seconds. Set it to 0 to set it to no-cache      |
+-----------------------+-------------------------------------------------+
| ``TELEMETRY_API_KEY`` | API KEY to use to query the Telemetry Service   |
+-----------------------+-------------------------------------------------+