gitea: mention webhook

This commit is contained in:
Jörg Thalheim 2024-05-04 23:55:24 +02:00 committed by mergify[bot]
parent 38c40bf54e
commit 8b1db0531a

View file

@ -88,18 +88,23 @@ this repository because it needs to install a webhook.
To integrate with Gitea To integrate with Gitea
1. **Gitea Token** Obtain a Gitea token with the following permissions `write:repository` and `write:user` permission. 1. **Gitea Token** Obtain a Gitea token with the following permissions
For Gitea organizations, it's advisable to create a separate Gitea user. `write:repository` and `write:user` permission. For Gitea organizations, it's
2. **Gitea App**: (optional). This is optional, when using GitHub as the authentication backend for buildbot. advisable to create a separate Gitea user. Buildbot-nix will use this token
Set up a OAuth2 app for Buildbot in the Applications section. This can be done in the global "Site adminstration" to automatically setup a webhook in the repository.
settings (only available for admins) or in a Gitea organisation or in your personal settings. 2. **Gitea App**: (optional). This is optional, when using GitHub as the
As redirect url set `https://buildbot.your-buildbot-domain.com/auth/login`, where `buildbot.your-buildbot-domain.com` authentication backend for buildbot. Set up a OAuth2 app for Buildbot in the
should be replaced with the actual domain that your buildbot is running on. Applications section. This can be done in the global "Site adminstration"
settings (only available for admins) or in a Gitea organisation or in your
Afterwards add the configured gitea topic to every project that should build with buildbot-nix. personal settings. As redirect url set
Notice that the buildbot user needs to have repository write access to this repository because it needs to install a webhook `https://buildbot.your-buildbot-domain.com/auth/login`, where
in the repository. `buildbot.your-buildbot-domain.com` should be replaced with the actual domain
that your buildbot is running on.
Afterwards add the configured gitea topic to every project that should build
with buildbot-nix. Notice that the buildbot user needs to have repository write
access to this repository because it needs to install a webhook in the
repository.
### Binary caches ### Binary caches