Commit graph

5971 commits

Author SHA1 Message Date
pat-s
59ded1a8e7
lint 2024-10-02 15:35:22 +02:00
pat-s
2de6661277
update tests 2024-10-02 15:27:05 +02:00
pat-s
97edfc24aa
add lycheeignore 2024-10-02 14:16:54 +02:00
pat-s
ea6e07b441
lint and test 2024-10-02 14:13:02 +02:00
pat-s
3c7e071a56
set fsGroupChangePolicy 2024-10-02 13:26:38 +02:00
pat-s
34fd3849d9
simplify 2024-10-02 11:16:35 +02:00
pat-s
866039360c
sc fixes 2024-10-02 11:06:35 +02:00
pat-s
d67009d51b
correct FSGroupChangePolicy name 2024-10-02 10:58:45 +02:00
pat-s
85047bdd1b
add fsGroupChangePolicy and set implicit defaults for fsGroup 2024-10-02 10:48:56 +02:00
pat-s
baa72e044f
add WorkSpaceBase to Step struct, set as default workingDir 2024-10-02 10:20:14 +02:00
pat-s
102833b54e
revert workspacePath removal 2024-10-02 10:17:16 +02:00
pat-s
19cfaba0b2
fix $CI_WORKSPACE 2024-10-02 10:04:08 +02:00
pat-s
3104fad983
remove workspacePath, hardcode workingDir to /woodpecker 2024-10-02 09:16:36 +02:00
pat-s
98450c4c44
. 2024-10-02 01:49:03 +02:00
pat-s
e8353ac0fa
rev 2024-10-02 01:02:29 +02:00
pat-s
0956e0179e
chmod 775 2024-10-02 00:51:14 +02:00
pat-s
c1a72d9036
rev 2024-10-01 23:44:28 +02:00
pat-s
21ba0910a9
also remove from windows 2024-10-01 23:28:45 +02:00
pat-s
666f8563df
don't hardcode $HOME 2024-10-01 21:15:00 +02: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