Metadata-Version: 2.1
Name: applier
Version: 0.4.0
Summary: Automatically apply SaltStack highstate on webhooks
Author: Alex Krantz
Author-email: alex@krantz.dev
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: cachetools (>=5.3.0,<6.0.0)
Requires-Dist: dramatiq[redis] (>=1.14.1,<2.0.0)
Requires-Dist: flask (>=2.2.2,<3.0.0)
Requires-Dist: gunicorn (>=20.1.0,<21.0.0)
Requires-Dist: importlib-metadata (>=3.6.0,<4.0.0)
Requires-Dist: salt (>=3005.1,<3006.0)
Description-Content-Type: text/markdown

# applier

Automatically apply SaltStack highstate on GitHub webhooks.


### Configuration

The following environment variables can be configured:

| Environment Variable       | Default        | Description                                                    |
|----------------------------|----------------|----------------------------------------------------------------|
| DEFAULT_BRANCH             | main           | The branch to perform updates on, typically the default branch |
| REDIS_HOST                 | 127.0.0.1      | The hostname/IP address of the Redis instance                  |
| REDIS_PORT                 | 6379           | The port the Redis instance is running on                      |
| SECRET_TTL                 | 900            | How many seconds to cache secrets for                          |
| WEBHOOK_SECRET_SDB_KEY     | github-webhook | The SDB secret path to read from                               |
| WEBHOOK_SECRET_SDB_BACKEND | secrets        | The SDB secret backend to use                                  |

