Commit graph

1263 commits

Author SHA1 Message Date
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
qwerty287
83926133d4
Allow to restart declined pipelines (#4109) 2024-09-14 17:27:45 +02:00
qwerty287
84c1b92899
Fix migration registries table (#4111) 2024-09-14 14:41:14 +03:00
6543
b1cf44ae0f
Add code comment to document updateAgentLastWorkDelay const (#4101) 2024-09-10 15:52:50 +03:00
6543
38ed7f9efd
Remove some ci environment variables (#3846)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-09-08 08:59:58 +03:00
6543
21f6039bc9
Add indices to repo table (#4087) 2024-09-06 11:04:05 +03:00
6543
3c8204a0e0
Allow alter trusted clone plugins and filter them via tag (#4074) 2024-09-01 20:41:10 +02:00
renovate[bot]
8e0af15e85
fix(deps): update module github.com/google/go-github/v63 to v64 (#4073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 17:41:02 +02:00
6543
e4f954ef94
Remove all default 3rd party privileged plugins (#3918) 2024-08-31 19:04:47 +02:00
6543
6767b59932 fix lint issue
because I got distracted by an unrelated CI error and thought the pull was ok :/
https://github.com/woodpecker-ci/woodpecker/pull/4048#issuecomment-2308988964
2024-08-25 23:06:02 +02:00
hg
37d1ca8bc1
Read long log lines from file storage correctly (#4048) 2024-08-25 22:53:04 +02:00
6543
886061fb2f
move arbitrary number into const (#4044) 2024-08-17 10:18:47 +02:00
Anbraten
b8c1d68eb1
Only update agent.LastWork if not done recently (#4031) 2024-08-14 21:53:35 +02:00
qwerty287
bcecbbd398
Fix lint (#4032) 2024-08-14 22:37:05 +03:00
qwerty287
acd862cac3
Improve error on config loading (#4024) 2024-08-11 12:05:10 +02:00
qwerty287
67a9c7991c
Fix cron migration (#4020) 2024-08-10 21:32:21 +02:00
qwerty287
eeec084293
Set refspec for gitlab MR (#4021) 2024-08-10 21:43:50 +03:00
qwerty287
92ff320429
Remove various deprecations (#4017) 2024-08-09 16:50:35 +02:00
hg
df5287bb65
Set CI_PREV_COMMIT_{SOURCE,TARGET}_BRANCH as mentioned in the documentation (#4001) 2024-08-08 19:01:59 +02:00