An Azure Function for pushing GitHub webhook events to IRC
Go to file
R Tyler Croy 4281b536db Add initial version of the irc-push Azure Function
This relies on spawning a thread for dispatching things to IRC, since GitHub
webhooks will timeout in 10s
    https://github.community/t5/GitHub-API-Development-and/Extended-Service-Timeout-for-webhooks/td-p/19639

Really though, it's not like webhook logs are terribly useful in GitHub's VUI
2020-01-12 13:22:06 -08:00
.vscode Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00
src Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00
.dockerignore Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00
.gitignore Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00
Cargo.toml Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00
Dockerfile Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00
README.adoc Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00
events.push.json Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00
host.json Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00
local.settings.json Add initial version of the irc-push Azure Function 2020-01-12 13:22:06 -08:00

README.adoc

<html lang="en"> <head> </head>

IRC push function

Development

Local invocations

curl -XPOST --data @events.push.json http://localhost:8100/api/webhook

Deployment

docker build -t functionsbrokencode.azurecr.io/irc-push . && docker push functionsbrokencode.azurecr.io/irc-push
</html>