Skip to content

Commit 8b1db05

Browse files
Mic92mergify[bot]
authored andcommitted
gitea: mention webhook
1 parent 38c40bf commit 8b1db05

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,23 @@ this repository because it needs to install a webhook.
8888

8989
To integrate with Gitea
9090

91-
1. **Gitea Token** Obtain a Gitea token with the following permissions `write:repository` and `write:user` permission.
92-
For Gitea organizations, it's advisable to create a separate Gitea user.
93-
2. **Gitea App**: (optional). This is optional, when using GitHub as the authentication backend for buildbot.
94-
Set up a OAuth2 app for Buildbot in the Applications section. This can be done in the global "Site adminstration"
95-
settings (only available for admins) or in a Gitea organisation or in your personal settings.
96-
As redirect url set `https://buildbot.your-buildbot-domain.com/auth/login`, where `buildbot.your-buildbot-domain.com`
97-
should be replaced with the actual domain that your buildbot is running on.
98-
99-
Afterwards add the configured gitea topic to every project that should build with buildbot-nix.
100-
Notice that the buildbot user needs to have repository write access to this repository because it needs to install a webhook
101-
in the repository.
102-
91+
1. **Gitea Token** Obtain a Gitea token with the following permissions
92+
`write:repository` and `write:user` permission. For Gitea organizations, it's
93+
advisable to create a separate Gitea user. Buildbot-nix will use this token
94+
to automatically setup a webhook in the repository.
95+
2. **Gitea App**: (optional). This is optional, when using GitHub as the
96+
authentication backend for buildbot. Set up a OAuth2 app for Buildbot in the
97+
Applications section. This can be done in the global "Site adminstration"
98+
settings (only available for admins) or in a Gitea organisation or in your
99+
personal settings. As redirect url set
100+
`https://buildbot.your-buildbot-domain.com/auth/login`, where
101+
`buildbot.your-buildbot-domain.com` should be replaced with the actual domain
102+
that your buildbot is running on.
103+
104+
Afterwards add the configured gitea topic to every project that should build
105+
with buildbot-nix. Notice that the buildbot user needs to have repository write
106+
access to this repository because it needs to install a webhook in the
107+
repository.
103108

104109
### Binary caches
105110

0 commit comments

Comments
 (0)