A service that polls other services about releases deliveries.
Project description
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 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)
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 |
CHANGELOG
0.2.1 (2017-09-06)
Fixes archive-l10n checks for nightly with new MAR files.
0.2.0 (2017-09-01)
Add a /v1/{product} endpoint (#47)
Add a /v1/{product}/ongoing-versions endpoint (#52)
Add a /v1/{product}/{version} that lists all checks (#62)
Add a nightly specific task and endpoint for latest-date publication (#68)
Add a nightly specific task and endpoint for latest-date-l10n publication (#68)
Add more context about what the task have been checking (#58)
Fix the ESR download links task url (#66)
Add a task to validate if devedition and beta version matches (#78)
Redirects URL ending by a / to URL without the / in case of 404. (#54)
Add Cache-Control headers (#43)
Handle aiohttp.ClientError as tasks errors (#76)
Handle Archive CDN errors (#75)
0.1.0 (2017-08-08)
Add the /v1/ info page (#10)
Add the archive.mozilla.org bot (#17)
Add the bedrock release-notes bot (#16)
Add the bedrock security-advisories bot (#26)
Add the bedrock download-page bot (#28)
Add the product-details bot (#27)
Expose the Open API Specification (#23)
Add the contribute.json endpoint (#25)
Add CORS support (#28)
Add the /__version__ endpoint (39)
Add the __heartbeat__ and __lbheartbeat__ endpoints (#38)
Serve the Swagger documentation (#30)
Contributors
Ethan Glasser-Camp <ethan@betacantrips.com>
Mathieu Agopian <mathieu@agopian.info>
Mathieu Leplatre <mathieu@mozilla.com>
Rémy Hubscher <rhubscher@mozilla.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pollbot-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e23d7d0857696e0faf1b8469e5674070a056de97708d72fca4ba4492e7debd |
|
MD5 | ecd7070f4336d04fc0c14052cc3e2558 |
|
BLAKE2b-256 | b54bc2e743294eba8ede5f262b0e9ef59f091fbecd2edccd462028d1100f0ea8 |