Commit graph

34 commits

Author SHA1 Message Date
magic_rb 437ebc49b9 Support combined builds for Gitea
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-26 11:23:49 +02:00
magic_rb dd2df67009 Combine build reports for GitHub if there are too many
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-26 11:09:12 +02:00
magic_rb 6e8e735628 Utilize pydantic for serialization and deserialization
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-26 06:13:34 +00:00
Jörg Thalheim 5163434da6 github/reporter: use properties to render github secret 2024-07-14 02:48:29 +00:00
magic_rb c3346978d5 Support per installation tokens directly in GitHubStatusPush
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-14 02:48:29 +00:00
magic_rb 458b39fc3a Don't pass token into AvatarGitHub, it works perfectly without it
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-12 07:33:19 +02:00
magic_rb 372d7dc70b Defer hook creation to project reload, both GitHub and Gitea
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-05 12:13:55 +00:00
zowoq 1912618053 remove github.user 2024-06-14 14:35:31 +00:00
magic_rb 300fd88394
Fix treefmt errors introduced in #156
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 18:59:23 +02:00
magic_rb 0ac5dcb33d
Fix GitHub App backend failing if project-id-map disappears
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 17:36:43 +02:00
magic_rb eeb21e9ddd
Streamline Legacy <-> App GitHub auth backend migrations
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 17:19:11 +02:00
Jörg Thalheim 9f04067a6a bust cache after adding installation_id 2024-06-12 07:58:34 +02:00
Jörg Thalheim 30a49d4e88 fix typo in class name 2024-06-07 16:55:36 +02:00
Jörg Thalheim 4357604463 add assert message to get_repo_token 2024-06-07 16:50:03 +02:00
magic_rb 475fbf3952 Fix GitHub avatars for GitHub Apps
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb 067f3e0fc1 Add GitHub App support
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:39 +00:00
Jörg Thalheim 1153510b04 Revert "don't block CI on github status updates"
This reverts commit 0bb55aaa8dfe98dc81c993d647ba814ebd9df260.
2024-05-03 20:36:17 +02:00
Jörg Thalheim f0f934bf11 don't block CI on github status updates 2024-05-03 11:51:34 +00:00
Jörg Thalheim 5e37a99685 github: only include properties that we actually use for performance 2024-05-02 04:29:28 +00:00
Jörg Thalheim 56899cd29c fix printing errors in project reload hooks 2024-04-30 18:03:29 +02:00
Jörg Thalheim 6ae08b645c make it possible to disable github 2024-04-30 17:32:40 +02:00
magic_rb 3f01a96147 Add Gitea backend
Signed-off-by: magic_rb <richard@brezak.sk>
2024-04-29 18:30:15 +02:00
magic_rb 1605d2d3c2 Remove assumption of GitHub being the only forge
Signed-off-by: magic_rb <richard@brezak.sk>
2024-04-29 18:29:35 +02:00
Jörg Thalheim c9e850ff32 only refresh github projects in timer and sort them
This way errors are more visible to users on the first running.

Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2024-01-08 11:45:01 +00:00
Jörg Thalheim 8b9c060dbe fix new linting errors 2023-12-26 22:36:40 +01:00
Jörg Thalheim dd6eacc4c4 allow all members in an org to restart/cancel/trigger builds 2023-12-08 11:11:48 +00:00
phaer 9ad17c646b fmt 2023-10-27 09:11:40 +00:00
phaer 2edf6860b0 allow github projects with "." in their name 2023-10-27 09:11:39 +00:00
phaer 44486f6633 skip github projects without sufficient perms 2023-10-27 09:11:39 +00:00
phaer a758cb41ca fix: also set repos if not cached 2023-10-27 09:11:38 +00:00
Jörg Thalheim e82d3a3d91 add option to reload github projects
fix mypy
2023-10-12 23:58:59 +02:00
Jörg Thalheim 74fb30f6ff also install webhooks secrets 2023-10-12 21:05:37 +02:00
Jörg Thalheim 54bcb08fae also create webhooks automatically 2023-10-12 17:50:43 +02:00
Jörg Thalheim 6406f34ebe first commit; very broken 2023-09-10 08:11:56 +00:00