1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2026-06-03 16:35:37 +02:00
Commit Graph

85 Commits

Author SHA1 Message Date
qwerty287 3156cd687c Fix license headers (#6205) 2026-03-23 11:54:07 +01:00
qwerty287 9fb5d4dcdc Enable crons if created via CLI (#6228) 2026-03-18 20:55:30 +01:00
renovate[bot] 2012d292be chore(deps): update golangci/golangci-lint docker tag to v2.10.1 (#6138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2026-02-21 10:42:37 +01:00
qwerty287 bd8e2f350e Use require to exit tests (#5998) 2026-01-22 09:41:20 +01:00
qwerty287 8db8f49d16 Allow to add a note to secrets (#5898)
Co-authored-by: 6543 <6543@obermui.de>
2026-01-10 13:06:27 +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
Anbraten 045a22209a Support multiple users with same login name but different forges (#5612)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-10-21 08:19:09 +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 2f3c4a28c1 Migrate to mockery v3 (#5547) 2025-09-24 13:12:55 +02: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
Harvey Tindall f209256bd9 woodpecker-go/types: fix time-related struct field tags (#5343) 2025-07-21 14:30:55 +03: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
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
Robert Kaussow b3c61fa47b Add client error to sdk and fix purge cli (#4574) 2024-12-16 13:05:27 +01: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
Robert Kaussow 5149d3eda4 Add pipeline purge command to cli (#4470) 2024-11-30 13:57:59 +01:00
Robert Kaussow 5cbb57bfdc Fix woodpecker-go repo model to match server (#4479) 2024-11-30 02:47:17 +02:00
Robert Kaussow 08bd52a1b1 Add pagination options to all supported endpoints in sdk (#4463) 2024-11-27 07:53:35 +01:00
Robert Kaussow bf1750a291 Add PipelineListsOptions to woodpecker-go (#3652) 2024-11-26 11:50:48 +01:00
Anbraten 5e2fa8164b Extend approval options (#3348) 2024-11-18 14:49:12 +01:00
6543 f8cfda1ea9 Report custom labels set by agent admins back (#4141) 2024-10-06 17:13:41 +02:00
6543 febb8c5276 Implement org/user agents (#3539) 2024-09-30 12:33:16 +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 41b2127e04 Don't expose task data via api (#4108) 2024-09-14 22:40:12 +02:00
qwerty287 2081ca85db Refactor JSON and SDK fields (#3968) 2024-08-07 10:49:03 +02:00
Lauris BH 28e982fffb Global and organization registries (#1672)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-07-03 06:33:11 -07:00
Anbraten 918985c508 Add timestamp for last work done by agent (#3844) 2024-07-01 10:34:47 -07:00
6543 402938e216 Exclude mocks from release build (#3831) 2024-06-25 12:23:07 +02:00
6543 4ec046e415 Spellcheck "server/*" (#3753)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-06-04 08:30:54 +02:00
Robert Kaussow 89e100cfd1 Add godot linter to harmonitze toplevel comments (#3650) 2024-05-13 22:58:21 +02:00
ianlv 6004e9907d Correct function names (#3681)
Signed-off-by: ianlv <sunlvyun@outlook.com>
2024-05-04 14:13:43 +02:00
Robert Kaussow e229a8e633 Add cli output handlers (#3660)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-05-02 08:43:46 +02:00
Robert Kaussow 2d66cfcce2 Split client into multiple files and add more tests (#3647)
All the client functions were in a single file, which was already very
long, and the test file gets even longer as more tests are added. I
split it into separate files representing the API path and started
adding some tests.
2024-04-26 13:46:55 +02:00
Thomas Anderson b02f2df89e CLI: remove step logs (#3458)
On top of #3451, addresses [PR
note](https://github.com/woodpecker-ci/woodpecker/pull/3451#discussion_r1505438144)

related to #1100

Not tested.

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2024-04-22 19:11:59 +02:00
Robert Kaussow e51f804ad6 Add task details to queue info in woodpecker-go (#3636) 2024-04-22 10:54:57 +02:00
Anbraten 0b91317cde Fix linter (#3354) 2024-02-08 22:49:07 +01:00
qwerty287 9df572ef31 Add release event trigger (#3226)
Supersedes #764 

Bitbucket does not support release webhooks.

---------

Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2024-01-30 17:39:00 +01:00
Lukas 94b882fb95 Add spellcheck config (#3018)
Part of #738 

```
pnpx cspell lint --gitignore '{**,.*}/{*,.*}'
```

---------

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-01-27 21:15:10 +01:00
Alconety 8c63c7a836 Pipeline errors must be an array (#3276)
This PR addresses 
``json: cannot unmarshal array into Go struct field Pipeline.errors of
type woodpecker.PipelineError``
when executing 
``woodpecker-cli pipeline ls X``

According to API schema, pipeline.errors should contain an array

Fixes #3119

Co-authored-by: Alberto Alcón <albertoalcon@bit2me.com>
2024-01-25 20:16:56 +02:00
qwerty287 5e2f7d81b3 Clean up models (#3228) 2024-01-22 07:56:18 +01:00
qwerty287 001b5639a6 Use assert for test (#3201)
instead of `if`s
2024-01-14 19:33:58 +01:00
Anbraten f01ac3f0a3 Add pull request closed event (#2684)
- [x] updates docs
- [x] adjust UI
  - [x] show correct icon
  - [x] show correct link (to pr)
  - [x] add as option in secret edit
- [x] parse webhook
- [x] update tests
  - [x] github merged
  - [x] github closed
  - [x] gitea merged
  - [x] gitea closed
  - [x] bitbucket merged
  - [x] bitbucket closed
  - [x] gitlab merged
  - [x] gitlab closed

closes #286
2023-12-26 19:22:52 +01:00
Anbraten 16803d6217 Show secrets from org and global level (#2873)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-16 10:29:13 +01:00
runephilosof-karnovgroup adb2c82790 Update go module path for major version 2 (#2905)
https://go.dev/doc/modules/release-workflow#breaking

Fixes https://github.com/woodpecker-ci/woodpecker/issues/2913 fixes
#2654
```
runephilosof@fedora:~/code/platform-woodpecker/woodpecker-repo-configurator (master)$ go get go.woodpecker-ci.org/woodpecker@v2.0.0
go: go.woodpecker-ci.org/woodpecker@v2.0.0: invalid version: module contains a go.mod file, so module path must match major version ("go.woodpecker-ci.org/woodpecker/v2")
```

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-12-08 08:15:08 +01:00
qwerty287 342b25826c Rename link to url (#2812)
As of https://woodpecker-ci.org/docs/next/usage/terminiology#conventions
2023-11-14 17:12:12 +01:00
qwerty287 70711ed9db Replace interface{} with any (#2807)
like golang:
https://github.com/golang/go/commit/2580d0e08d5e9f979b943758d3c49877fb2324cb
2023-11-12 18:23:48 +01:00
6543 5a7b689e30 Switch to go vanity urls (#2706)
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-07 08:04:33 +01:00