A service that polls other services about releases deliveries.


Keywords
web, sync, json, storage, services, product-delivery
License
MPL-2.0
Install
pip install pollbot==1.1.4

Documentation

PollBot

Code of conduct travis Coverage whatsdeployed

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 will provide, at a minimum, these API resources:

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

License

MPL v2 (see 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
TELEMETRY_USER_ID Telemetry User ID to select user query only.