Commit Graph

439 Commits

Author SHA1 Message Date
Jener Rasmussen
8d94071e2f Tag pipeline with source information (#4796)
Co-authored-by: oauth <woodpecker-bot@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2025-03-22 13:45:44 +01:00
hhomar
f47165ff9f kubernetes: create service for detached steps (#4892)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-02-25 07:16:43 +01:00
Anbraten
45a92cd928 Fix org assign on login (#4817)
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2025-02-16 12:02:18 +02:00
Lauris BH
021cc59d53 Optimize repository list loading to return also latest pipeline info (#4814) 2025-02-08 09:42:45 +02:00
qwerty287
986f6c4254 Fix k8s secret schema (#4819) 2025-02-07 19:36:56 +02:00
Robert Kaussow
00aa968afa Revert "Tag pipeline with source information (#4771)" (#4794) 2025-01-31 14:53:41 +02:00
Jener Rasmussen
846fd8dc51 Tag pipeline with source information (#4771)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2025-01-30 13:03:58 +01:00
David Muthy
437d6a74a5 chore: fix some function names in comment (#4769)
Signed-off-by: damuzhi0810 <rust@before.tech>
2025-01-23 19:11:36 +02:00
Patrick Schratz
f50d6d19ec use v3 woodpecker libs (#4742)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-01-19 14:02:38 +01:00
qwerty287
41b732eb80 Apply changed files filter to closed PR (#4711) 2025-01-12 11:00:32 +02:00
YR Chen
5e75e4ec9c feat: add linter support for step-level depends_on existence (#4657) 2025-01-12 08:32:03 +02:00
qwerty287
0fba54d3cc Add hosts for detached steps (#4674) 2025-01-06 18:06:38 +02:00
qwerty287
7c31bcf327 Revert volumes/network list (#4656)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2025-01-04 11:56:26 +01:00
Anbraten
5d3300824d Fix workflow volume and network config (#4650) 2025-01-01 16:21:57 +01:00
qwerty287
428ba689cb Remove workflow-level volumes and networks (#4636) 2024-12-30 10:34:59 +01:00
qwerty287
afa6dee30b Migrate away from goblin (#4624)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-30 08:08:53 +02:00
qwerty287
fdfabe6368 Support Git as only VCS (#4346)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-12-27 22:49:19 +01:00
qwerty287
81b74025d4 Update Go imports paths (#4605)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-22 10:44:34 +01:00
Robert Kaussow
7fa474c5c3 Ignore blocked pipelines for badge rendering (#4582) 2024-12-18 08:58:08 +01:00
qwerty287
1ec785c7e9 Weakly decode backend options (#4577) 2024-12-16 18:37:38 +01:00
Robert Kaussow
fe11db6cd3 Replace discontinued mitchellh/mapstructure by maintained fork (#4573) 2024-12-16 07:41:49 +01:00
Robert Kaussow
786a8fb003 Add user as docker backend_option (#4526) 2024-12-08 12:02:35 +01:00
tsufeki
db45794091 Fix apparmorProfile being ignored when it's the only field (#4507) 2024-12-03 17:29:03 +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
08bd52a1b1 Add pagination options to all supported endpoints in sdk (#4463) 2024-11-27 07:53:35 +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
6543
f829c07f3a Docker Backend: fully support windows container (#4381) 2024-11-26 11:48:48 +01:00
6543
ebf9f9ccbb Add dns config option to official feature set (#4418)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-11-25 17:59:00 +01:00
Patrick Schratz
5d750322bc Normalize aarch64 -> arm64 for docker backend (#4451) 2024-11-25 16:17:57 +01:00
6543
d3e73d1e4a Remove secrets in favor of from_secret (#4363)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-authored-by: Lauris BH <lauris@nix.lv>
2024-11-21 15:42:02 +01:00
6543
4ed5e4e04d On wrong secrets/environment config syntax, fail with good error message (#4359)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-11-13 14:07:18 +01:00
Robert Kaussow
a1193f0fb4 Improve linter messages in UI (#4351) 2024-11-11 23:34:20 +01:00
6543
07baae28af address review lint issues (#4354) 2024-11-11 15:25:31 +01:00
Robert Kaussow
759e5497c9 Fix schema test (#4353) 2024-11-11 10:49:20 +01:00
qwerty287
8882ebcdbd Remove secrets from schema (#4345)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-11-10 16:38:55 +01:00
qwerty287
e13085b69f Pass settings to services (#4338) 2024-11-09 21:04:27 +01:00
Patrick Schratz
b5915f605b fix error="io: read/write on closed pipe" on k8s backend (#4281) 2024-11-08 11:00:03 +01:00
6543
bf5405b6cc Respect directory option for steps again (#4319) 2024-11-06 23:21:56 +01:00
Patrick Schratz
560eab96f0 Kubernetes | Docker: Add support for rootless images (#4151) 2024-11-02 18:07:27 +01:00
qwerty287
29474fc7d9 Split repo trusted setting (#4025) 2024-11-01 21:37:31 +01:00
Robert Kaussow
383bfbb6de Fix wording for privileged plugins linter error (#4280) 2024-10-30 22:14:12 +01:00
qwerty287
bd933669ef Fix snake_case env vars (#4267) 2024-10-28 17:23:49 +01:00
qwerty287
49e40772ca Deprecate secrets (#4235) 2024-10-24 08:36:29 +03:00
6543
f8cfda1ea9 Report custom labels set by agent admins back (#4141) 2024-10-06 17:13:41 +02: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
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
3f3f415dca make TestCopyLineByLine fail less
https://ci.woodpecker-ci.org/repos/3780/pipeline/20741/32
2024-09-22 18:39:20 +02:00
6543
6f03102c68 directory key is allowed for services (#4127) 2024-09-19 07:30:30 +03:00
hg
276b279b7f Process workflow logs in batches (#4045) 2024-09-18 16:29:56 +02:00