Commit graph

1281 commits

Author SHA1 Message Date
6543
6e18a44880
Set new default approval mode based on repo visibility (#4456)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-12-05 09:16:25 +01:00
John Olheiser
9f0611d1a1
fix: addon JSON pointers (#4508)
Signed-off-by: jolheiser <git@jolheiser.com>
2024-12-03 20:58:42 +02:00
Thomas Anderson
532c3e3ed3
Do not set empty environment variables (#4193)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-12-02 22:18:09 +01:00
Robert Kaussow
8cfb8f93fa
Fix events filter in GetPipelines API (#4498) 2024-12-01 23:32:46 +01:00
Robert Kaussow
289239d1b3
Add status filter to list pipeline API (#4494) 2024-12-01 05:35:05 +01:00
renovate[bot]
6c641ae28d
fix(deps): update module github.com/google/go-github/v66 to v67 (#4487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-30 08:56:17 +02:00
Robert Kaussow
359e3af817
Add option to limit the resultset returned by paginate helper (#4475) 2024-11-29 10:39:01 +01:00
6543
52fb493495
Add filter to list repository pipelines API (#4416) 2024-11-28 22:33:52 +01:00
Patrick Schratz
6327dcd36f
Enforce exact matching for GitLab groups (#4473) 2024-11-28 15:32:21 +01:00
Fernando Barbosa
896e550143
Increase log level when failing to fetch YAML (#4107)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-11-28 12:08:48 +02:00
qwerty287
6f7f7692e1
Rename token fields (#4471)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-11-28 10:27:28 +02:00
6543
de82236aee
Queue tests: extend time in waitForProcess() to work agents under load too (#4455) 2024-11-27 14:49:42 +01:00
qwerty287
5bb7cef08b
Allow to set custom trusted clone plugins (#4352)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Thomas Anderson <127358482+zc-devs@users.noreply.github.com>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-26 14:27:05 +01:00
Anbraten
07c8765b72
Cleanup openapi generation (#4331)
Co-authored-by: oauth <woodpecker-bot@obermui.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-11-23 09:17:19 +01:00
Anbraten
53d6421940
Support github refresh tokens (#3811) 2024-11-22 19:12:43 +01:00
qwerty287
5c2204716c
Fix migration sorting (#4408) 2024-11-18 20:48:51 +02:00
6543
e95db23794
Harden and correct fifo task queue tests (#4377) 2024-11-18 17:50:17 +02:00
Anbraten
5e2fa8164b
Extend approval options (#3348) 2024-11-18 14:49:12 +01:00
Lauris BH
5699d22a55
Add server configuration option to add default set of labels for workflows that has no labels specified (#4326) 2024-11-14 22:23:42 +01:00
6543
04e8309e60
Add server config to disable user registered agents (#4206) 2024-11-11 18:51:14 +01:00
6543
07baae28af
address review lint issues (#4354) 2024-11-11 15:25:31 +01:00
6543
5139401b53
Inline model types for migrations (#4293) 2024-11-09 16:05:32 +01:00
qwerty287
066926f952
Fix avatar column type (#4340) 2024-11-09 08:23:26 +02:00
qwerty287
d72c26c08c
Use repo user to fetch branches (#4339) 2024-11-08 15:05:17 +02:00
6543
4fa3a8e578
Add migration to autofix corrupted users.org_id entrys in db (#4307) 2024-11-06 14:51:12 +02:00
6543
6e38a950cd
Add options to controll the database connections (open,idle,timeout) (#4212) 2024-11-05 15:03:22 +01:00
6543
4270eca597
gitea: add check if pull_request webhook is missing pull info (#4305) 2024-11-05 14:51:12 +01:00
6543
3ab579c03f
Move Queue creation behind new func that evaluates queue type (#4252) 2024-11-05 04:03:40 +01:00
qwerty287
6ef7cddde8
Refresh token before loading branches (#4284) 2024-11-02 19:38:57 +01:00
qwerty287
29474fc7d9
Split repo trusted setting (#4025) 2024-11-01 21:37:31 +01:00
Patrick Schratz
87bfe95c43
Don't parse forge config files multiple times if no error occured (#4272) 2024-10-29 01:57:37 +01:00
Patrick Schratz
9a7623359e
Delete GitLab webhooks with partial URL match (#4259) 2024-10-27 23:28:19 +01:00
Patrick Schratz
785f2e6d6a
Increase WOODPECKER_FORGE_TIMEOUT to fix config fetching for GitLab (#4262) 2024-10-27 11:21:40 +01:00
Patrick Schratz
d37c138738
fix: repo/owner parsing for gitlab (#4255)
Co-authored-by: 6543 <6543@obermui.de>
2024-10-26 23:20:15 +02:00
6543
98d7b1b500
Use middleware to load org (#4208)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2024-10-09 12:05:01 +02:00
6543
ddd55ee39a
Assign workflows to agents with the best label matches (#4201)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-10-08 23:06:58 +02:00
renovate[bot]
254310556a
fix(deps): update module github.com/google/go-github/v65 to v66 (#4205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 07:56:59 +03:00
6543
f8cfda1ea9
Report custom labels set by agent admins back (#4141) 2024-10-06 17:13:41 +02:00
renovate[bot]
bc74af507e
fix(deps): update module github.com/google/go-github/v64 to v65 (#4185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 15:46:36 +03:00
6543
febb8c5276
Implement org/user agents (#3539) 2024-09-30 12:33:16 +01:00
6543
6ad20ced5b
Move docker resource limit settings from server to agent (#3174)
so you can set it per agent and not per server
2024-09-26 16:56:59 +01:00
6543
fcc57dfc38
Replay pipeline using cli exec by downloading metadata (#4103)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-09-25 07:20:51 +02:00
Lukas
79aeb92e0c
Set repo user to repairing user when old user is missing (#4128) 2024-09-20 22:39:22 +02:00
6543
eebaa10d10
Restart tasks on dead agents sooner (#4114) 2024-09-20 09:40:48 +02:00
Lukas
f2060db5c0
Fix agent last work update throttling (#4124) 2024-09-18 18:26:18 +02:00
hg
276b279b7f
Process workflow logs in batches (#4045) 2024-09-18 16:29:56 +02:00
6543
e89a2f38fd
Make cli exec metadata on pair with build in server generated metadata (#4119)
remove some old environment and add all missing options to set the whole build-in environment on `cli exec` via flags


---
*Sponsored by Kithara Software GmbH*

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-09-16 22:03:24 +02:00
qwerty287
c45e0885ac
Require upgrade from 2.x (#4112)
Remove old DB migrations and require users to upgrade to 2.x first.
2024-09-16 21:09:42 +02:00
6543
4dd4d9755d
Use session for ServerConfigSet to make it atomic (#4116) 2024-09-16 15:20:47 +03:00
6543
41b2127e04
Don't expose task data via api (#4108) 2024-09-14 22:40:12 +02:00