Git Events Runner is a Kubernetes operator to trigger Jobs
with the Git repository content in the job's container.
In other words it provides way to run code inside a Kubernetes cluster based on content of the Git repository commit
in response to changes in the repository or triggered by a webhook.
For details, please refer to the documentation.
Git Events Runner
provides several custom resources (CRDs) to define such entities as:
Sources
- URI and auth parameters of git repositories which should be watching and using to runActions
.Triggers
- conditions and restrictions of changes inSources
which triggersActions
: which repos, branches or tags to watch and how often. It includes scheduled and webhook triggers.Actions
- predefined configurations of K8sJob
to run as reaction to firedTrigger
.
Everything is glued by dedicated Kubernetes controller inside a cluster.
- Various Continues Deployment (CD) processes, where Kubernetes resources are involved.
- Running periodic tasks in Kubernetes, based on code in Git repo.
- Triggering tasks in Kubernetes by webhooks, based on code in Git repo.
- Replacement of CI/CD functionality, provided by repository vendor (GitHub actions, for example) where direct access to Kubernetes or cloud resources is needed but with guarantied permissions restrictions.
This is a working beta, and it's under active development now.
This project is licensed under the MIT license.