Commit Graph

264 Commits

Author SHA1 Message Date
6543
0825e1505d Fix build deb rpm packages (#6309) 2026-03-24 01:21:04 +01:00
qwerty287
3156cd687c Fix license headers (#6205) 2026-03-23 11:54:07 +01:00
renovate[bot]
4443ad319a chore(deps): update dependency golangci/golangci-lint to v2.11.4 (#6301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-22 21:57:25 +01:00
renovate[bot]
698a50e66d chore(deps): update dependency golangci/golangci-lint to v2.11.3 (#6237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-14 01:58:17 +01:00
renovate[bot]
7150cef378 chore(deps): update golangci/golangci-lint docker tag to v2.11.2 (#6219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2026-03-08 07:59:10 +01:00
renovate[bot]
e60e615d55 chore(deps): update golangci/golangci-lint docker tag to v2.11.1 (#6211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-07 05:57:58 +01:00
qwerty287
f16712724b Increase timeout for migration tests (#6206) 2026-03-06 20:25:18 +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
renovate[bot]
8c2b459be9 chore(deps): update golang-lang (#6123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-14 07:00:03 +01:00
renovate[bot]
71b8821583 chore(deps): update dependency golangci/golangci-lint to v2.9.0 (#6107)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-11 22:50:36 +01:00
6543
3786077c07 Update Architecture: move pipeline/rpc => rpc & server/{grpc => rpc} (#6012) 2026-01-26 21:25:38 +01:00
renovate[bot]
b13119e1e0 chore(deps): update pre-commit non-major (#5949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
2026-01-15 15:55:28 +01:00
renovate[bot]
6d7375b3d1 chore(deps): update golangci/golangci-lint docker tag to v2.8.0 (#5944)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-10 13:57:03 +01:00
renovate[bot]
bb8fd5bf63 chore(deps): update dependency golangci/golangci-lint to v2.7.2 (#5845)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-08 11:05:52 +01:00
renovate[bot]
90e4a9778a chore(deps): update dependency golangci/golangci-lint to v2.7.1 (#5832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-06 09:51:32 +01:00
Yorgos Saslis
7589e35e16 Fix outdated Makefile target (#5817)
Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
2025-12-03 10:33:23 +01:00
6543
bbe7980024 Makefile: add target to generate man pages (#5810) 2025-12-01 16:14:38 +01:00
qwerty287
2f4754ee7c Split make install targets (#5796) 2025-11-29 16:49:50 +01:00
renovate[bot]
cab3446e77 chore(deps): update dependency golangci/golangci-lint to v2.6.2 (#5751)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-15 03:45:06 +01:00
renovate[bot]
e53644c9eb chore(deps): update dependency golangci/golangci-lint to v2.6.1 (#5732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-08 03:52:56 +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
renovate[bot]
480b9c528a chore(deps): update dependency mvdan/gofumpt to v0.9.2 (#5687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-25 04:36:38 +02:00
6543
fed0ced353 Release linux/riscv64 binaries (#5663) 2025-10-21 08:05:41 +02:00
Marcus Ramberg
111c5a6eed Disable CGO for swag fmt (#5571)
I'm seeing this when doing make build on nixos without CGO_ENABLED=0:

```sh
go run github.com/swaggo/swag/cmd/swag fmt --exclude pipeline/rpc/proto

# github.com/swaggo/swag/cmd/swag

net(.text): relocation target \_\_errno_location not defined
net(.text): relocation target getaddrinfo not defined
net(.text): relocation target free not defined
net(.text): relocation target freeaddrinfo not defined
net(.text): relocation target gai_strerror not defined
```

Works fine with CGO_ENABLED=0.
2025-09-29 22:10:08 +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
renovate[bot]
57b1be28dd chore(deps): update golang-lang (#5423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-17 18:43:49 +02:00
Robert Kaussow
572f1e1861 Rework background colors for light/dark theme (#5411) 2025-08-14 11:42:06 +02:00
Robert Kaussow
286794a800 Bump golangci-lint to v2 (#5034) 2025-03-31 18:55:48 +02:00
renovate[bot]
feb2a5da2e chore(deps): update docker.io/techknowlogick/xgo docker tag to go-1.24.x (#4853)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-15 08:03:38 +01:00
Robert Kaussow
0c683110f5 Add docs-dependencies target to makefile (#4719) 2025-01-13 13:11:32 +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
Anbraten
07c8765b72 Cleanup openapi generation (#4331)
Co-authored-by: oauth <woodpecker-bot@obermui.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-11-23 09:17:19 +01:00
renovate[bot]
18caee366c chore(deps): update docker.io/techknowlogick/xgo docker tag to go-1.23.x (#4388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-17 08:25:32 +02:00
Patrick Schratz
3adcfb8b14 Fix renovate support for xgo (#4276) 2024-10-30 14:21:50 +01:00
6543
904d8da51a Release windows binaries as zip file (#3906) 2024-07-14 22:59:45 +02:00
6543
8831a0e6fd increase test timeouts
as the agent do exec multible steps it could happen that because of resource constrains the tests take longer thaan on a normal dev pc
2024-07-13 16:55:01 +02:00
qwerty287
92cd0d04a3 Unify DB tables/columns (#3806)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-06-27 09:32:06 +02:00
6543
402938e216 Exclude mocks from release build (#3831) 2024-06-25 12:23:07 +02:00
6543
96d53638f4 Allow to set dist dir using env var (#3814) 2024-06-24 08:29:47 +02:00
6543
1228dd9dd6 Update nix flake (#3780) 2024-06-12 18:02:55 +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
6543
7b3b09d628 Lint file names and directories via cSpell too (#3703) 2024-05-14 02:45:03 +02:00
Robert Kaussow
daf673a857 Add make target for spellcheck (#3648) 2024-04-26 07:51:10 +02:00
Robert Kaussow
781628816d Fix make in_docker generate (#3616) 2024-04-15 17:46:44 +02:00
Robert Kaussow
5fb732a734 Switch back to latest version of golangci (#3527)
Reverts: https://github.com/woodpecker-ci/woodpecker/pull/3520

As we have enabled pre-commit updates in renovate now, I've increased
the `autoupdate_schedule` of pre-commit to the max value (there is no
way to disable it).
2024-03-21 12:22:36 +02:00
Robert Kaussow
aaf11afef7 Fix golangci-lint version pinning (#3521) 2024-03-20 15:28:10 +01:00
Robert Kaussow
1a3eed232f Temp pin golangci version in makefile (#3520)
Looks like something is broken in v1.57.x, and I don't think that's
something that can be fixed on the end-user side:

https://ci.woodpecker-ci.org/repos/3780/pipeline/14131/33

```
WARN [runner] Can't process result by autogenerated_exclude processor: can't filter issue result.Issue{FromLinter:"contextcheck", Text:"Function `Start$1->runCron` should pass the context parameter", Severity:"", SourceLines:[]string(nil), Replacement:(*result.Replacement)(nil), Pkg:(*packages.Package)(0xc001871980), LineRange:(*result.Range)(nil), Pos:token.Position{Filename:"", Offset:0, Line:0, Column:0}, HunkPos:0, ExpectNoLint:false, ExpectedNoLintLinter:""}: no file path for issue 
WARN [runner] Can't process result by nolint processor: can't filter issue result.Issue{FromLinter:"contextcheck", Text:"Function `Start$1->runCron` should pass the context parameter", Severity:"", SourceLines:[]string(nil), Replacement:(*result.Replacement)(nil), Pkg:(*packages.Package)(0xc001871980), LineRange:(*result.Range)(nil), Pos:token.Position{Filename:"", Offset:0, Line:0, Column:0}, HunkPos:0, ExpectNoLint:false, ExpectedNoLintLinter:""}: no file path for issue 
WARN [runner/source_code] Failed to get line 0 for file : failed to get file  lines cache: can't get file  bytes from cache: can't read file : open : no such file or directory 
```
2024-03-20 14:02:37 +01:00
Konstantin Demin
db624f8c21 build: apply "grpcnotrace" go build tag (#3448)
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2024-02-28 07:28:48 +01:00
qwerty287
fc1c4d9b11 Update UI building in Makefile (#3250) 2024-01-22 09:10:28 +02:00