~emersion/hottub

A CI bridge from GitHub to SourceHut
Wait for monitor jobs to finish on shutdown
Handle SIGINT and SIGTERM
build: add Makefile

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~emersion/hottub
read/write
git@git.sr.ht:~emersion/hottub

You can also use your local clone with git send-email.

#hottub

A CI bridge from GitHub to SourceHut.

A public instance is available.

#Building

go build

#Installation

  1. Follow the GitHub guide to register an app suitable for the Checks API.

  2. Set the GitHub app setup URL to https://<domain>/post-install and the webhook URL to https://<domain>/webhook.

  3. Grab the GitHub app ID and webhook secret (optional for local development). Download a new PEM private key.

  4. Start hottub:

    hottub -gh-app-id <id> -gh-private-key <path> -gh-webhook-secret <secret>
    

Optionally, to improve the authorization flow, you can register an sr.ht OAuth2 client and pass its credentials with -srht-client-id and -srht-client-secret.

#License

AGPLv3, see LICENSE.

Copyright (C) 2022 Simon Ser