Commit graph

5980 commits

Author SHA1 Message Date
pat-s
2c116d991c
WorkSpaceBase -> WorkspaceBase 2024-10-21 19:08:06 +02:00
Patrick Schratz
d394432652
Merge branch 'main' into remove-hardcoded-home 2024-10-04 18:41:08 +02:00
Patrick Schratz
25b4c355d3
fix: Add wildcard to .lycheeignore (#4158) 2024-10-04 15:08:05 +01:00
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
pat-s
902e422474
use const 2024-10-02 18:14:53 +02:00
pat-s
f5bb014274
tests 2024-10-02 18:04:53 +02:00
pat-s
8a1c2a0c84
set via SecurityContextConfig 2024-10-02 17:46:57 +02:00
pat-s
ea366e9e89
always define fsGroup 2024-10-02 17:15:39 +02:00
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