Skip to content

keyporttech/gitea-tekton-interceptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitea-tektoncd-event interceptor

This a custom gitea interceptor for tekton triggers. It is used by k8sCI to validate gitea webhook requests.

The primary function is use the configured webhook secret key to validate payload encryption checksum.

This code borrows heavily from go-github, which is modified for use in gitea. Much gratitude the developers of that project.

usage

This is for use as a webhook interceptor so that a tekton event listener can process gitea webhooks. See tekton triggers event listeners for more details.

The docker image is published at [keyporttech/gitea-tektconcd-event-interceptor] (https://hub.docker.com/repository/docker/keyporttech/gitea-tektconcd-event-interceptor), and this image is used as service deployment in the k8sCI.

building locally

Prerequisites: golang, docker, makefile installed

make build #build
make docker # build docker image

or

go build
go test

About

an interceptor for gitea events used in tektoncd pipelines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published