Commit Graph

245 Commits

Author SHA1 Message Date
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
63b75b89fa Fix CLI exec with workflow matrix feature, where variables are not substituted. (#6162)
Co-authored-by: saces <saces@c-base.org>
2026-04-04 08:04:51 +02:00
6543
704245d96f Extend workflow integration tests (#6272) 2026-03-31 17:27:21 +02:00
qwerty287
8e7096fcf6 Deprecate commit avatar envs (#6356) 2026-03-31 13:23:39 +02:00
qwerty287
79cc07265e Unify import aliases (#6328)
Co-authored-by: 6543 <6543@obermui.de>
2026-03-28 15:45:23 +01:00
renovate[bot]
cca72cee80 fix(deps): update module github.com/charmbracelet/huh to v2 (#6243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: 6543 <6543@obermui.de>
2026-03-23 13:25:21 +01:00
qwerty287
3156cd687c Fix license headers (#6205) 2026-03-23 11:54:07 +01:00
6543
09327abd03 Creating new engine runtime now requires backend as argument (#6268) 2026-03-20 13:44:24 +01:00
qwerty287
9fb5d4dcdc Enable crons if created via CLI (#6228) 2026-03-18 20:55:30 +01:00
6543
57ac1cb6f5 refactor: use upstream slices.Concat and remove utils.MergeSlices (#6185)
a small refactor since the upstream core lib change is now long merged and adopted
2026-03-02 14:30:37 +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
qwerty287
fe9db664fe Add some tests (#6076) 2026-02-06 23:49:42 +01:00
6543
3786077c07 Update Architecture: move pipeline/rpc => rpc & server/{grpc => rpc} (#6012) 2026-01-26 21:25:38 +01:00
qwerty287
a5e0af255a Allow single output template (#5882) 2026-01-20 12:57:26 +01:00
Anbraten
503bd7bcfb Add cli contexts (#5929) 2026-01-11 15:32:00 +01:00
Jun Guo
6128b2a3b6 fix: secrets-file flag (#5909) 2026-01-02 11:19:58 +01:00
qwerty287
89ae16d5d5 Fix CLI trusted updating (#5861) 2025-12-13 14:24:30 +02:00
LUKIEYF
40f847b944 Add Header User-Agent for request client (#5664)
add Header User-Agent for request client for more precise in recognized the http request from.

close #3778
2025-11-05 11:41:48 +01:00
renovate[bot]
09e8d32353 chore(deps): update dependency golangci/golangci-lint to v2.6.0 (#5702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2025-11-03 15:22:20 +01:00
6543
393a598212 Make local backend work with cli exec (#4102) 2025-10-27 13:12:26 +01:00
Oliver Eikemeier
bc135c2655 Add branch filter to cli pipeline purge (#5616)
Signed-off-by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-10-11 20:38:00 +02:00
Marcus Ramberg
d894d3a15b Enable completion support for cli (#5552)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-09-28 21:32:00 +02:00
Robert Kaussow
2f3c4a28c1 Migrate to mockery v3 (#5547) 2025-09-24 13:12:55 +02:00
Robert Kaussow
8a69a1cfc6 Fix formatting and version formatting tools (#5540) 2025-09-23 00:36:46 +02:00
qwerty287
47a00051e6 Allow to get secrets from file (#5509) 2025-09-14 12:26:56 +02:00
Gusted
d2ea85e55f fix: allow spaces in WOODPECKER_PLUGINS_PRIVILEGED (#5494) 2025-09-09 22:33:53 +00:00
Harri Avellan
54c205d2f0 feat: expose listing available organizations via woodpecker-go / CLI (#5481)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-06 12:12:38 +02:00
6543
c5a5bbea5d Add milestone to metadata (#5174) 2025-09-01 16:12:54 +02:00
qwerty287
f240894cac Print execution errors (#5448)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-08-21 14:34:50 +02:00
qwerty287
12cd608150 Support secrets in cli exec (#5374) 2025-07-31 07:13:07 +03:00
qwerty287
bac4431d08 Fix args docs for admin secrets (#5127) 2025-04-26 09:22:15 +03:00
renovate[bot]
c45657721f fix(deps): update golang-packages (#5121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-04-25 15:55:30 +03:00
renovate[bot]
e7243e3ff5 fix(deps): update golang-packages (#5111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-04-22 10:55:07 +02:00
Joshua Chapman
22d24b8457 fix(cli): add name flag to adming secret add (#5101) 2025-04-17 16:37:16 +02:00
Robert Kaussow
73de1021a8 Fix cli format flag fallback (#5057) 2025-04-03 07:32:15 +02:00
Robert Kaussow
9a2b13341e Migrate repo output format to customizable output (#4888) 2025-03-05 15:28:54 +02:00
qwerty287
818d66d47a Replace deprecated linter (#4843) 2025-02-14 11:09:07 +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
b3c61fa47b Add client error to sdk and fix purge cli (#4574) 2024-12-16 13:05:27 +01:00
Robert Kaussow
fe11db6cd3 Replace discontinued mitchellh/mapstructure by maintained fork (#4573) 2024-12-16 07:41:49 +01:00
Robert Kaussow
ff2469ec5b Fix pipeline purge cli command (#4569) 2024-12-15 08:20:08 +02:00
qwerty287
013647340c Show client flags (#4542) 2024-12-09 15:00:21 +02:00
6543
6e18a44880 Set new default approval mode based on repo visibility (#4456)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-12-05 09:16:25 +01:00
Robert Kaussow
3c31284e7b Use pagination helper to list pipelines in cli (#4478)
Co-authored-by: 6543 <6543@obermui.de>
2024-12-01 20:39:47 +01:00
qwerty287
0f87ddc057 Sort cli commands alphabetically (#4489)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-11-30 20:11:57 +02:00
Robert Kaussow
bb1461d5d8 Fix spellcheck in purge log (#4491) 2024-11-30 18:00:11 +01:00
Robert Kaussow
57e7572b6f Unify cli commands and flags (#4481)
- Unify command and flag descriptions
- Unify logs
- Rename `woodpecker-cli [registry|ssecret|...] info` commands to `woodpecker-cli [registry|ssecret|...] show`
2024-11-30 15:23:44 +01:00
Robert Kaussow
5149d3eda4 Add pipeline purge command to cli (#4470) 2024-11-30 13:57:59 +01:00
Robert Kaussow
35f54042ce Move pipeline logs command (#4480) 2024-11-30 10:18:17 +01:00