Files
chef/site-cookbooks/kredits-github
raucao 3bf51f44d5 kredits-github: fix webhook path and restart on unit changes
Probot 14 changed its default webhook path from "/" (Probot 7) to
"/api/github/webhooks", but the GitHub App still POSTs to
https://kredits-github.kosmos.org/. Every delivery returned 404, so the
app never processed pull_request events and never created the Kredits
check run. Serve "/" again via WEBHOOK_PATH.

Chef's systemd_unit :create only runs daemon-reload and never restarts a
running unit, so the env change above would not have taken effect until
the next repo change or reboot. Manage the unit with :create/:enable and
restart it from a service resource that subscribes to unit changes.
Apply the same fix to the kosmos-hubot bot resource.
2026-10-29 18:51:34 +04:00
..
2019-04-19 18:45:13 +01:00
2019-04-19 18:45:13 +01:00

kredits-github Cookbook

This cookbook installs kredits-github.

Attributes

kredits-github::default

Key Type Description Default
['kredits-github']['port'] String The local port that kredits-github is running on 3000
['kredits-github']['revision'] String Git revision/branch to deploy master
['kredits-github']['domain'] String Domain name for requests to the app kredits-github.kosmos.org