feature: webhook support gitea #15

Closed
opened 2025-10-31 14:59:46 -05:00 by GiteaMirror · 2 comments
Owner

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 headers

Here 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!

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 headers` Here is the code part: https://github.com/mbecker20/monitor/blob/2d0c1724db77f8b1211dd60436f015ee1000be89/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!
GiteaMirror added the done label 2025-10-31 14:59:46 -05:00
Author
Owner

@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)

@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 https://github.com/mbecker20/monitor/blob/2d0c1724db77f8b1211dd60436f015ee1000be89/config_example/core.compose.yaml#L23
Author
Owner

@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 :)

@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 :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#15