`updatecheck` is a little utility I wrote that queries Fedora Bodhi for updates and sends an HTTP request when one is found. I am specifically going to use it to trigger rebuilding the _gasket-driver_ RPM whenever there is a new _kernel_ published.
14 lines
268 B
TOML
14 lines
268 B
TOML
[storage]
|
|
dir = "/var/lib/updatecheck"
|
|
|
|
[[watch]]
|
|
packages = "kernel"
|
|
|
|
[watch.on_update]
|
|
url = "https://jenkins.pyrocufflink.blue/generic-webhook-trigger/invoke"
|
|
coalesce = true
|
|
|
|
[[watch.on_update.headers]]
|
|
name = 'Token'
|
|
value_file = '/run/secrets/updatecheck/token'
|