Added config for gitea to support webhooks trigger#388
Merged
nabuskey merged 4 commits intocnoe-io:mainfrom Sep 16, 2024
Merged
Added config for gitea to support webhooks trigger#388nabuskey merged 4 commits intocnoe-io:mainfrom
nabuskey merged 4 commits intocnoe-io:mainfrom
Conversation
Signed-off-by: Mani Marothu <manikumar.1215@gmail.com>
Signed-off-by: Mani Marothu <manikumar.1215@gmail.com>
Signed-off-by: Mani Marothu <manikumar.1215@gmail.com>
Signed-off-by: Mani Marothu <manikumar.1215@gmail.com>
2d632a4 to
70cad93
Compare
nabuskey
approved these changes
Sep 16, 2024
Collaborator
nabuskey
left a comment
There was a problem hiding this comment.
LGTM
Gitea supports webhook a few configurations. We use private as the default because most of what we do are in-cluster. https://docs.gitea.com/administration/config-cheat-sheet?_highlight=webhook/administration/config-cheat-sheet#webhook-webhook
Skipping TLS verification shouldn't happen but we don't have gitea configured to use the TLS cert yet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gitea webhook event POST call is failing with
webhook can only call allowed HTTP servers (check your webhook.ALLOWED_HOST_LIST setting), fixing this issue by adding webhook settings to allow private IPs and Skip TLS Verify.