6543
7f46a5dc2f
pipeline: use more explizite error for step dependencies filtered out by its conditions ( #6680 )
2026-05-31 15:16:12 +03:00
6543
c61d7403b2
Migrate gopkg.in/yaml.v3 usages to go.yaml.in/yaml/v4 ( #6651 )
2026-05-28 15:08:09 +02:00
Simon Meyer
64d7ed8952
Support optional flag in depends_on for workflows and steps ( #6461 )
...
Extends `depends_on` to accept objects with `name` and `optional` fields, at both workflow and step level. When `optional: true`, the dependency is silently dropped if the referenced workflow/step is not part of the pipeline (e.g. filtered out by `when` conditions). If present, it is enforced as usual.
Co-authored-by: 6543 <6543@obermui.de >
2026-05-28 09:23:42 +02:00
Akash Kumar
4c56f40cf3
Deduplicate schema linter composition errors ( #6633 )
2026-05-26 20:05:23 +02:00
6543
11f74a6291
format with gofumpt v0.10.0 ( #6573 )
2026-05-14 14:02:43 +02:00
Ralf Haferkamp
9789615aa3
Add 'entrypoint' property to service in schema ( #6487 )
...
Co-authored-by: test taset <devops@opencloud.eu >
2026-04-23 12:50:59 +02:00
6543
950534751b
Add WOODPECKER_FORCE_IGNORE_SERVICE_FAILURE config to preserve non breaking behavior by default ( #6448 )
2026-04-17 17:10:03 +02:00
6543
66e221b4b1
Move skip pipeline by commit message into pipeline/frontend package ( #6437 )
...
and add some custom types for events and failure in metadata package.
no logic change at all.
2026-04-15 09:50:03 +02:00
6543
3e61f444e5
Fix build error and include status calculation ( #6436 )
2026-04-15 09:24:41 +02:00
Harri Avellan
b22ac757f3
chore: remove excessive dev/test log outputs ( #6432 )
2026-04-13 19:47:30 +02:00
Aidan Coyle
7749f6097f
Fix erroneous linter error for plugin privileges ( #6424 )
2026-04-11 17:01:28 +02:00
6543
a68860058c
Support string for when.status again ( #6406 )
2026-04-08 15:40:40 +02:00
qwerty287
79cc07265e
Unify import aliases ( #6328 )
...
Co-authored-by: 6543 <6543@obermui.de >
2026-03-28 15:45:23 +01:00
6543
280d2e902a
Fix workflow serialize to omit skip_clone if false ( #6319 )
2026-03-24 20:27:29 +02:00
Sim-hu
f842ce2cc2
Improve linter warning when step has no when block ( #6314 )
2026-03-24 15:05:49 +01:00
qwerty287
17dcc86942
Allow to cancel on failure ( #6158 )
2026-03-19 13:41:44 +01:00
qwerty287
768f22904f
Fix deprecation error ( #6236 )
2026-03-13 12:51:35 +01:00
qwerty287
22899b6581
Use native slice in tests ( #6190 )
2026-03-03 18:00:28 +01:00
qwerty287
39a7ebda75
Independently evaluate status filter and support on workflows ( #6183 )
...
fix https://github.com/woodpecker-ci/woodpecker/issues/6161
And also allow `when.status` at workflow level. `runs_on` is deprecated then.
Co-authored-by: 6543 <6543@obermui.de >
2026-03-02 17:37:37 +01:00
qwerty287
05f55fb0f9
Update schema ( #6156 )
...
closes https://github.com/woodpecker-ci/woodpecker/issues/6135
Everything else in the issue is correct, and nothing that has to be fixed.
Also changes the parsing for the `status` filter from the constraint list (with includes/excludes) to an allowlist only (as we only have two statuses it's quite useless to have an exclude and this was also not documented).
2026-02-26 12:46:50 +01:00
6543
a63b93f5ee
Refactor pipeline engine ( #6073 )
...
restructure pipeline/*.go to use submodules
<!-- https://claude.ai/chat/1b8965d7-5bca-42c7-86b4-48c2d645c362 -->
- pipeline/error.go -> pipeline/errors/...
- pipeline/pipeline.go#Runtime -> pipeline/runtime/runtime.go
- pipeline/pipeline.go#execAll -> pipeline/runtime/executor.go
- pipeline/shutdown.go -> pipeline/runtime/shutdown.go
- pipeline/logger.go ->pipeline/logging
- pipeline/tracer.go -> pipeline/tracing
- pipeline/pipeline.go#State -> state/state.go
2026-02-13 11:56:43 +01:00
6543
ff0d43f1d3
document how to ignore failure on services ( #6106 )
...
Co-authored-by: Robert Kaussow <xoxys@rknet.org >
2026-02-12 12:09:57 +01:00
qwerty287
fe9db664fe
Add some tests ( #6076 )
2026-02-06 23:49:42 +01:00
qwerty287
bd8e2f350e
Use require to exit tests ( #5998 )
2026-01-22 09:41:20 +01:00
qwerty287
cd88723b2d
Use NoError for error assertion ( #5992 )
2026-01-20 08:43:51 +01:00
6543
d1b7e35ca8
Improve service syntax related docs and tests nits ( #5991 )
2026-01-19 19:44:18 +02:00
6543
4e0b91fbd2
Remove deactivated secrets type from container defintion ( #5983 )
2026-01-18 21:48:47 +01:00
6543
93cba04b36
Allow untrusted repo to still drop network for steps ( #5820 )
...
as it is an undocumented feature this might change / move into a more generalized backend network option at some point ...
but i think we could at least support it as proposed in this patch meanwhile
2025-12-09 16:57:44 +01:00
6543
dd0f5932b3
Switch from BoolTrue to optional.Option[bool] ( #5693 )
2025-11-04 14:43:30 +01:00
Harri Avellan
69fc5bfa25
fix: panic due to an invalid memory address when injectSecretRecursive encounters nil values ( #5699 )
2025-10-31 08:10:00 +01:00
6543
3d43a3fce6
Make pipeline/frontend/yaml/* types able to be marshaled back to YAML ( #1835 )
2025-10-25 10:27:22 +02:00
6543
388557d94a
New event pull request metadata ( #5214 )
...
Co-authored-by: qwerty287 <qwerty287@posteo.de >
2025-09-25 00:07:45 +02:00
Robert Kaussow
8a69a1cfc6
Fix formatting and version formatting tools ( #5540 )
2025-09-23 00:36:46 +02:00
Sebastian Klaus
4fd240a144
fix: changed schema definition for "backend_options.kubernetes.tolerations" to accept an array of objects ( #5478 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com >
2025-09-05 19:04:15 +02:00
scottshotgg
d7495357d5
Add Agent-level Tolerations setting ( #5266 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-10 10:12:42 +02:00
qwerty287
12cd608150
Support secrets in cli exec ( #5374 )
2025-07-31 07:13:07 +03:00
Harri Avellan
5c00b9d74b
Prevent secrets from leaking to Kubernetes API Server logs ( #5305 )
2025-07-14 17:45:13 +03:00
qwerty287
fe5ea7ad3b
Simplify backend types ( #5299 )
2025-07-05 12:59:17 +03:00
Patrick Schratz
e92706bfd8
Revert "kubernetes: prevent secrets from leaking to api-server logs" ( #5293 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com >
2025-07-05 09:40:40 +03:00
Harri Avellan
5e052f5579
kube backend: prevent secrets from leaking to Kubernetes apiserver logs ( #5196 )
2025-06-14 22:44:33 +02:00
Robert Kaussow
f2c12e0eaf
Use slugified plugin urls in docs ( #5116 )
2025-04-23 10:07:53 +02:00
Robert Kaussow
b4020072b6
Revert "Use existing WorkingDir for clone steps ( #5023 )" ( #5047 )
2025-04-02 09:21:26 +02:00
Ralf Haferkamp
8a432a6b83
Fix exclude path constraint behavior ( #5042 )
...
Co-authored-by: Robert Kaussow <mail@thegeeklab.de >
2025-04-01 20:05:51 +02:00
Robert Kaussow
d296c29613
Use existing WorkingDir for clone steps ( #5023 )
2025-03-31 18:56:09 +02:00
Robert Kaussow
bce5899037
Fix docs links ( #5016 )
2025-03-26 14:42:05 +02:00
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
qwerty287
986f6c4254
Fix k8s secret schema ( #4819 )
2025-02-07 19:36:56 +02: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
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