mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-09 07:13:36 -05:00
feature: webhook support gitea #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Lukas-Heiligenbrunner on GitHub (Aug 13, 2024).
I tried to setup the webook with Gitea. I'm sending the webook with POST to the url provided in stack settings:
http://192.168.0.78:9120/listener/github/stack/66bb5edcfa9aae4c152233d8/deploy
But there seems to fail a signature verification:
2024-08-13T14:44:58.840775Z WARN stack_pull_webhook{id="66bb5edcfa9aae4c152233d8"}: core::listener::github: failed to run stack pull webook for stack 66bb5edcfa9aae4c152233d8 | no signature in headersHere is the code part:
2d0c1724db/bin/core/src/listener/github/mod.rs (L226)A possible solution might be to disable this check via an env var?
Great project btw. thanks a lot!
@mbecker20 commented on GitHub (Aug 13, 2024):
Hey, Gitea webhooks definitely works. It looks like you forgot to put the secret though. It should match the one you pass in the Environment
2d0c1724db/config_example/core.compose.yaml (L23)@Lukas-Heiligenbrunner commented on GitHub (Aug 14, 2024):
Ah, yes sorry my fault!
Maybe, if i find some time I'll add some things to your docs :)