Commit graph

6054 commits

Author SHA1 Message Date
6543
8b4d440bbc
Print agent labels in debug mode (#4155) 2024-10-03 10:53:41 +02:00
Patrick Schratz
aee9759d1f
Add .lycheeignore (#4154) 2024-10-02 21:50:52 +01:00
Kirill Isakov
a5448360b6 Translated using Weblate (Russian)
Currently translated at 100.0% (341 of 341 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
2024-10-01 12:58:03 +00:00
6543
febb8c5276
Implement org/user agents (#3539) 2024-09-30 12:33:16 +01:00
Andrew Melnick
b52b021acb
Implement registries for Kubernetes backend (#4092)
According to [the documentation](https://woodpecker-ci.org/docs/administration/backends/kubernetes#images-from-private-registries), per-organization and per-pipeline registries are currently unsupported for the Kubernetes backend.

This patch implements this missing functionality by creating and deleting a matching secret for each pod with a matched registry, using the same name, labels, and annotations as the pod, and appending it to its `imagePullSecrets` list.

This patch adds tests for the new functionality, and has been manually end-to-end-tested in KinD by using a private image hosted in the matching gitea instance.

This will require updating the matching helm charts to add the create/delete permissions to the agent role, which **is already done**.

close  #2987
2024-09-30 01:03:05 +01:00
A
ecb59ce1c4 Translated using Weblate (German)
Currently translated at 100.0% (338 of 338 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2024-09-28 03:58:02 +00:00
Kirill Isakov
e69652deeb Translated using Weblate (Russian)
Currently translated at 100.0% (338 of 338 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/ru/
2024-09-26 21:14:47 +00: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
Patrick Schratz
b75a2cac10
Update image filter error message (#4143) 2024-09-26 13:04:07 +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
6543
1a6c8dfec6
Ensure cli exec has by default not the same prefix (#4132) 2024-09-24 22:49:36 +02:00
6543
b59533a06f
cli exec: rename "--pipeline-files" to "--pipeline-changed-files" (#4142) 2024-09-24 20:29:19 +02:00
6543
352201dbbd
cli exec: fix flag type and remove uneffective ones (#4129) 2024-09-24 19:08:18 +02:00
6543
c06f3e0843 Added translation using Weblate (Esperanto) 2024-09-23 17:41:34 +00:00
6543
b9586a0265
static workflow: let lychee pretend to be curl (#4138) 2024-09-23 15:34:07 +02:00
6543
c10d0e0da8
Default git clone support sha256 (#4136) 2024-09-22 21:02:36 +02:00
6543
3f3f415dca make TestCopyLineByLine fail less
https://ci.woodpecker-ci.org/repos/3780/pipeline/20741/32
2024-09-22 18:39:20 +02:00
Lukas
4909e32ed6
Fix repo add loading spinner (#4135) 2024-09-21 18:47:59 +03:00
6543
8c827be951
Set /woodpecker as default workdir for the **woodpecker-cli** container (#4130) 2024-09-21 17:05:13 +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
e52dfc92e3
build: web: test should wait for format-check (#4134) 2024-09-20 22:24:22 +02:00
6543
eebaa10d10
Restart tasks on dead agents sooner (#4114) 2024-09-20 09:40:48 +02:00
6543
cfe6df5add
Docs: reference to built-in docker compose and remove deprecated version from compose examples (#4123) 2024-09-20 02:33:49 +02:00
6543
6f03102c68
directory key is allowed for services (#4127) 2024-09-19 07:30:30 +03: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
4683968925
Fix regression of #4119 (#4121) 2024-09-17 07:46:31 +03:00
6543
375309a8a8
Remove unused struct from metadata (#4120) 2024-09-16 23:30:31 +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
4289853322
Fail gracefully on grpc listening error (#4118) 2024-09-16 19:40:09 +03: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
Gifford Nowland
57a22235d1
[docs] Removes dot prefix from pipeline configuration filenames (#4105) 2024-09-12 21:15:57 +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
0fc113364a
🎉 Release 2.7.1 (#4090) (#4091)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-09-07 10:52:38 +02:00
renovate[bot]
d6446bab48
chore(deps): update dependency @antfu/eslint-config to v3 (#4095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-09-07 11:27:08 +03:00
renovate[bot]
6e8b8550f0
chore(deps): update dependency jsdom to v25 (#4094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-07 10:51:36 +03:00
Anbraten
28a549137b
Correct migrations text (#4089) 2024-09-06 11:03:20 +02:00
6543
21f6039bc9
Add indices to repo table (#4087) 2024-09-06 11:04:05 +03:00
6543
34f4f81eab
Better migration wording in docs for remove of all default privileged plugins (#4088) 2024-09-05 20:24:02 +03:00
renovate[bot]
116ce27524
chore(deps): update docker.io/golang docker tag to v1.23 (#4081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 11:53:05 +02:00
renovate[bot]
3e8f205c6e
chore(deps): update docker.io/woodpeckerci/plugin-prettier docker tag to v0.2.0 (#4082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 07:27:31 +02:00
6543
b33f24a996
update test workflow to lint correctly (#4085) 2024-09-05 08:14:52 +03:00
6543
f7d12bf256
Linter: respect tags for linting of global privileged plugins (#4083)
https://ci.woodpecker-ci.org/repos/8981/pipeline/162/4 should have shown an lit error but it did not.

this fix it

a followup of https://github.com/woodpecker-ci/woodpecker/pull/4053
2024-09-05 00:25:22 +02:00
6543
32d1ec7cec
Remove all default privileged plugins (#4053) 2024-09-02 10:41:20 +02:00
6543
6feab0093f fix docs misspell nit 2024-09-02 09:13:49 +02:00