Run summary
Run passed.
3 passed.
bugabinga.net / push
fix(luci): satisfy staticcheck error conventions
Result output · go-test
[luci] cache go-mod: exact [luci] cache go-build: exact Trying to pull docker.io/library/golang:1.26... Getting image source signatures Copying blob sha256:38985a14f2b1b8215895ecb448f3dfc4067cb494aa00b547c78c9a012e9b2460 Copying blob sha256:6eefb2f5d3e91a6cfc577476bbec26bb63f0d0fc31f904493f400833783aa2c2 Copying blob sha256:2cb3e687d353c47479f7eb82d6cc1b230f1d252bfefaddbeec9d3de57edf5d49 Copying blob sha256:69d7981efcf27fa12b9535c069edd1f606995cf42f656a660516c7b43c60ca51 Copying blob sha256:42f0cc32f2e355552fbfad163210ddc51f7b8bc7cfaddb2a41bd9c4a7c5e3c49 Copying blob sha256:7209c51370516d03457739e104a853d9634704151fe994d6acfb2b6fa9876fca Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 Copying config sha256:2166f13e96959cfe4bfe3d2bb208f4e91736a488a1fb7f3a194663dfb5840226 Writing manifest to image destination [luci] step 1/2: GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/luci go modules: services/luci ok bugabinga.net/luci/cmd/luci 0.553s ok bugabinga.net/luci/internal/artifact (cached) ok bugabinga.net/luci/internal/buildctx (cached) ok bugabinga.net/luci/internal/cache (cached) ok bugabinga.net/luci/internal/ciconfig (cached) ok bugabinga.net/luci/internal/config (cached) ok bugabinga.net/luci/internal/gitrepo (cached) ok bugabinga.net/luci/internal/history (cached) ok bugabinga.net/luci/internal/inbox (cached) ok bugabinga.net/luci/internal/lifecycle (cached) ok bugabinga.net/luci/internal/logs (cached) ok bugabinga.net/luci/internal/podman 0.015s ok bugabinga.net/luci/internal/proquint (cached) ok bugabinga.net/luci/internal/publish (cached) ok bugabinga.net/luci/internal/refscan (cached) ok bugabinga.net/luci/internal/runner 3.872s ok bugabinga.net/luci/internal/runstate (cached) ok bugabinga.net/luci/internal/scheduler (cached) ? bugabinga.net/luci/internal/servicelock [no test files] ok bugabinga.net/luci/internal/sshcmd (cached) ok bugabinga.net/luci/internal/storage (cached) ok bugabinga.net/luci/internal/trigger (cached) ok bugabinga.net/luci/internal/web (cached) [luci] step 1/2 done in 14s [luci] step 2/2: GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/toad go modules: services/toad ? bugabinga.net/toad/cmd/toad [no test files] ok bugabinga.net/toad/internal/api 0.096s ok bugabinga.net/toad/internal/client (cached) ? bugabinga.net/toad/internal/config [no test files] ok bugabinga.net/toad/internal/credential (cached) ok bugabinga.net/toad/internal/enroll (cached) ok bugabinga.net/toad/internal/host (cached) ? bugabinga.net/toad/internal/rollout [no test files] ? bugabinga.net/toad/internal/store [no test files] [luci] step 2/2 done in 2s
Passed · 3 executions
PASSEDgo-test23s
Execution configuration
Imagedocker.io/library/golang:1.26
Matrixnone
Triggerpush
Commands
GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/luci GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/toad
Job source · .ci/go.kdl
job "go-test" { image "docker.io/library/golang:1.26"cache "go-mod" { path ".go-modcache"key { file "services/luci/go.sum"file "services/toad/go.sum" } }cache "go-build" { path ".go-cache"key { file "services/luci/go.sum"file "services/toad/go.sum" } }run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/luci"run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/toad"trigger { push { branch "trunk"include "services/luci/**"include "services/toad/**"include "scripts/local/go.sh"include "scripts/local/check.sh"include "scripts/local/check-staged.sh"include "scripts/local/verify.sh"include "scripts/local/test-go-tooling.sh"include "lefthook.yml"include "justfile"include ".ci/**" } }}
step timing
| Step | Command | Time |
|---|---|---|
| 1/2 | GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/luci | 14s |
| 2/2 | GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/toad | 2s |
Log tail
[luci] cache go-mod: exact [luci] cache go-build: exact Trying to pull docker.io/library/golang:1.26... Getting image source signatures Copying blob sha256:38985a14f2b1b8215895ecb448f3dfc4067cb494aa00b547c78c9a012e9b2460 Copying blob sha256:6eefb2f5d3e91a6cfc577476bbec26bb63f0d0fc31f904493f400833783aa2c2 Copying blob sha256:2cb3e687d353c47479f7eb82d6cc1b230f1d252bfefaddbeec9d3de57edf5d49 Copying blob sha256:69d7981efcf27fa12b9535c069edd1f606995cf42f656a660516c7b43c60ca51 Copying blob sha256:42f0cc32f2e355552fbfad163210ddc51f7b8bc7cfaddb2a41bd9c4a7c5e3c49 Copying blob sha256:7209c51370516d03457739e104a853d9634704151fe994d6acfb2b6fa9876fca Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 Copying config sha256:2166f13e96959cfe4bfe3d2bb208f4e91736a488a1fb7f3a194663dfb5840226 Writing manifest to image destination [luci] step 1/2: GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/luci go modules: services/luci ok bugabinga.net/luci/cmd/luci 0.553s ok bugabinga.net/luci/internal/artifact (cached) ok bugabinga.net/luci/internal/buildctx (cached) ok bugabinga.net/luci/internal/cache (cached) ok bugabinga.net/luci/internal/ciconfig (cached) ok bugabinga.net/luci/internal/config (cached) ok bugabinga.net/luci/internal/gitrepo (cached) ok bugabinga.net/luci/internal/history (cached) ok bugabinga.net/luci/internal/inbox (cached) ok bugabinga.net/luci/internal/lifecycle (cached) ok bugabinga.net/luci/internal/logs (cached) ok bugabinga.net/luci/internal/podman 0.015s ok bugabinga.net/luci/internal/proquint (cached) ok bugabinga.net/luci/internal/publish (cached) ok bugabinga.net/luci/internal/refscan (cached) ok bugabinga.net/luci/internal/runner 3.872s ok bugabinga.net/luci/internal/runstate (cached) ok bugabinga.net/luci/internal/scheduler (cached) ? bugabinga.net/luci/internal/servicelock [no test files] ok bugabinga.net/luci/internal/sshcmd (cached) ok bugabinga.net/luci/internal/storage (cached) ok bugabinga.net/luci/internal/trigger (cached) ok bugabinga.net/luci/internal/web (cached) [luci] step 1/2 done in 14s [luci] step 2/2: GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/toad go modules: services/toad ? bugabinga.net/toad/cmd/toad [no test files] ok bugabinga.net/toad/internal/api 0.096s ok bugabinga.net/toad/internal/client (cached) ? bugabinga.net/toad/internal/config [no test files] ok bugabinga.net/toad/internal/credential (cached) ok bugabinga.net/toad/internal/enroll (cached) ok bugabinga.net/toad/internal/host (cached) ? bugabinga.net/toad/internal/rollout [no test files] ? bugabinga.net/toad/internal/store [no test files] [luci] step 2/2 done in 2s
Continue in CLI
Nushell command · read-only.
luci log dogir-nogaz-kakij-raniv 001
Local Luci data access required · no execution.
PASSEDgo-race28s
Execution configuration
Imagedocker.io/library/golang:1.26
Matrixnone
Triggerpush
Commands
GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/luci GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/toad
Job source · .ci/go.kdl
job "go-race" { image "docker.io/library/golang:1.26"cache "go-mod" { path ".go-modcache"key { file "services/luci/go.sum"file "services/toad/go.sum" } }cache "go-build" { path ".go-cache"key { file "services/luci/go.sum"file "services/toad/go.sum" } }run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/luci"run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/toad"trigger { push { branch "trunk"include "services/luci/**"include "services/toad/**"include "scripts/local/go.sh"include "scripts/local/check.sh"include "scripts/local/check-staged.sh"include "scripts/local/verify.sh"include "scripts/local/test-go-tooling.sh"include "lefthook.yml"include "justfile"include ".ci/**" } }}
step timing
| Step | Command | Time |
|---|---|---|
| 1/2 | GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/luci | 17s |
| 2/2 | GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/toad | 3s |
Log tail
[luci] cache go-mod: exact [luci] cache go-build: exact Trying to pull docker.io/library/golang:1.26... Getting image source signatures Copying blob sha256:69d7981efcf27fa12b9535c069edd1f606995cf42f656a660516c7b43c60ca51 Copying blob sha256:42f0cc32f2e355552fbfad163210ddc51f7b8bc7cfaddb2a41bd9c4a7c5e3c49 Copying blob sha256:6eefb2f5d3e91a6cfc577476bbec26bb63f0d0fc31f904493f400833783aa2c2 Copying blob sha256:7209c51370516d03457739e104a853d9634704151fe994d6acfb2b6fa9876fca Copying blob sha256:38985a14f2b1b8215895ecb448f3dfc4067cb494aa00b547c78c9a012e9b2460 Copying blob sha256:2cb3e687d353c47479f7eb82d6cc1b230f1d252bfefaddbeec9d3de57edf5d49 Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 Copying config sha256:2166f13e96959cfe4bfe3d2bb208f4e91736a488a1fb7f3a194663dfb5840226 Writing manifest to image destination [luci] step 1/2: GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/luci go modules: services/luci ok bugabinga.net/luci/cmd/luci 2.187s ok bugabinga.net/luci/internal/artifact (cached) ok bugabinga.net/luci/internal/buildctx (cached) ok bugabinga.net/luci/internal/cache (cached) ok bugabinga.net/luci/internal/ciconfig (cached) ok bugabinga.net/luci/internal/config (cached) ok bugabinga.net/luci/internal/gitrepo (cached) ok bugabinga.net/luci/internal/history (cached) ok bugabinga.net/luci/internal/inbox (cached) ok bugabinga.net/luci/internal/lifecycle (cached) ok bugabinga.net/luci/internal/logs (cached) ok bugabinga.net/luci/internal/podman 1.035s ok bugabinga.net/luci/internal/proquint (cached) ok bugabinga.net/luci/internal/publish (cached) ok bugabinga.net/luci/internal/refscan (cached) ok bugabinga.net/luci/internal/runner 5.852s ok bugabinga.net/luci/internal/runstate (cached) ok bugabinga.net/luci/internal/scheduler (cached) ? bugabinga.net/luci/internal/servicelock [no test files] ok bugabinga.net/luci/internal/sshcmd (cached) ok bugabinga.net/luci/internal/storage (cached) ok bugabinga.net/luci/internal/trigger (cached) ok bugabinga.net/luci/internal/web (cached) [luci] step 1/2 done in 17s [luci] step 2/2: GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/toad go modules: services/toad ? bugabinga.net/toad/cmd/toad [no test files] ok bugabinga.net/toad/internal/api 1.331s ok bugabinga.net/toad/internal/client (cached) ? bugabinga.net/toad/internal/config [no test files] ok bugabinga.net/toad/internal/credential (cached) ok bugabinga.net/toad/internal/enroll (cached) ok bugabinga.net/toad/internal/host (cached) ? bugabinga.net/toad/internal/rollout [no test files] ? bugabinga.net/toad/internal/store [no test files] [luci] step 2/2 done in 3s
Continue in CLI
Nushell command · read-only.
luci log dogir-nogaz-kakij-raniv 002
Local Luci data access required · no execution.
PASSEDgo-staticcheck1m
Execution configuration
Imagedocker.io/library/golang:1.26
Matrixnone
Triggerpush
Commands
GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/luci GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/toad
Job source · .ci/go.kdl
job "go-staticcheck" { image "docker.io/library/golang:1.26"cache "go-mod" { path ".go-modcache"key { file "services/luci/go.sum"file "services/toad/go.sum" } }cache "go-build" { path ".go-cache"key { file "services/luci/go.sum"file "services/toad/go.sum" } }run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/luci"run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/toad"trigger { push { branch "trunk"include "services/luci/**"include "services/toad/**"include "scripts/local/go.sh"include "scripts/local/check.sh"include "scripts/local/check-staged.sh"include "scripts/local/verify.sh"include "scripts/local/test-go-tooling.sh"include "lefthook.yml"include "justfile"include ".ci/**" } }}
step timing
| Step | Command | Time |
|---|---|---|
| 1/2 | GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/luci | 84s |
| 2/2 | GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/toad | 6s |
Log tail
[luci] cache go-mod: miss [luci] cache go-build: miss Trying to pull docker.io/library/golang:1.26... Getting image source signatures Copying blob sha256:69d7981efcf27fa12b9535c069edd1f606995cf42f656a660516c7b43c60ca51 Copying blob sha256:42f0cc32f2e355552fbfad163210ddc51f7b8bc7cfaddb2a41bd9c4a7c5e3c49 Copying blob sha256:6eefb2f5d3e91a6cfc577476bbec26bb63f0d0fc31f904493f400833783aa2c2 Copying blob sha256:7209c51370516d03457739e104a853d9634704151fe994d6acfb2b6fa9876fca Copying blob sha256:2cb3e687d353c47479f7eb82d6cc1b230f1d252bfefaddbeec9d3de57edf5d49 Copying blob sha256:38985a14f2b1b8215895ecb448f3dfc4067cb494aa00b547c78c9a012e9b2460 Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 Copying config sha256:2166f13e96959cfe4bfe3d2bb208f4e91736a488a1fb7f3a194663dfb5840226 Writing manifest to image destination [luci] step 1/2: GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/luci go modules: services/luci go: downloading github.com/moby/patternmatcher v0.6.1 go: downloading github.com/bmatcuk/doublestar/v4 v4.9.1 go: downloading github.com/robfig/cron/v3 v3.0.1 go: downloading github.com/sblinch/kdl-go v0.0.0-20260121213736-8b7053306ca6 go: downloading github.com/klauspost/compress v1.18.6 go: downloading golang.org/x/sys v0.48.0 go: downloading honnef.co/go/tools v0.8.1 go: downloading golang.org/x/tools v0.50.0 go: downloading golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678 go: downloading golang.org/x/sync v0.23.0 go: downloading github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c go: downloading golang.org/x/mod v0.41.0 [luci] step 1/2 done in 84s [luci] step 2/2: GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/toad go modules: services/toad go: downloading github.com/godbus/dbus/v5 v5.2.2 [luci] step 2/2 done in 6s
Continue in CLI
Nushell command · read-only.
luci log dogir-nogaz-kakij-raniv 003
Local Luci data access required · no execution.
All configuration at this revision
go.kdl @ 07a6
job "go-test" { image "docker.io/library/golang:1.26" cache "go-mod" { path ".go-modcache" key { file "services/luci/go.sum" file "services/toad/go.sum" } } cache "go-build" { path ".go-cache" key { file "services/luci/go.sum" file "services/toad/go.sum" } } run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/luci" run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/toad" trigger { push { branch "trunk" include "services/luci/**" include "services/toad/**" include "scripts/local/go.sh" include "scripts/local/check.sh" include "scripts/local/check-staged.sh" include "scripts/local/verify.sh" include "scripts/local/test-go-tooling.sh" include "lefthook.yml" include "justfile" include ".ci/**" } } } job "go-race" { image "docker.io/library/golang:1.26" cache "go-mod" { path ".go-modcache" key { file "services/luci/go.sum" file "services/toad/go.sum" } } cache "go-build" { path ".go-cache" key { file "services/luci/go.sum" file "services/toad/go.sum" } } run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/luci" run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh race services/toad" trigger { push { branch "trunk" include "services/luci/**" include "services/toad/**" include "scripts/local/go.sh" include "scripts/local/check.sh" include "scripts/local/check-staged.sh" include "scripts/local/verify.sh" include "scripts/local/test-go-tooling.sh" include "lefthook.yml" include "justfile" include ".ci/**" } } } job "go-staticcheck" { image "docker.io/library/golang:1.26" cache "go-mod" { path ".go-modcache" key { file "services/luci/go.sum" file "services/toad/go.sum" } } cache "go-build" { path ".go-cache" key { file "services/luci/go.sum" file "services/toad/go.sum" } } run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/luci" run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh staticcheck services/toad" trigger { push { branch "trunk" include "services/luci/**" include "services/toad/**" include "scripts/local/go.sh" include "scripts/local/check.sh" include "scripts/local/check-staged.sh" include "scripts/local/verify.sh" include "scripts/local/test-go-tooling.sh" include "lefthook.yml" include "justfile" include ".ci/**" } } } job "go-vuln" { image "docker.io/library/golang:1.26" cache "go-mod" { path ".go-modcache" key { file "services/luci/go.sum" file "services/toad/go.sum" } } cache "go-build" { path ".go-cache" key { file "services/luci/go.sum" file "services/toad/go.sum" } } run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh vuln services/luci" run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh vuln services/toad" trigger { schedule "0 3 * * 1" } } job "rust-fmt" { image "docker.io/library/rust:1.98.0-bookworm" run "rustup component add rustfmt && scripts/local/rust.sh fmt" trigger { push { branch "trunk" include "services/luigit/**" include "scripts/local/rust.sh" include "justfile" include ".ci/**" } } } job "rust-clippy" { image "docker.io/library/rust:1.98.0-bookworm" cache "cargo-luigit" { path ".cargo-home" key { file "services/luigit/Cargo.lock" } } run "rustup component add clippy && CARGO_HOME=$PWD/.cargo-home CARGO_BUILD_JOBS=2 scripts/local/rust.sh clippy" trigger { push { branch "trunk" include "services/luigit/**" include "scripts/local/rust.sh" include "justfile" include ".ci/**" } } } job "rust-test" { image "docker.io/library/rust:1.98.0-bookworm" cache "cargo-luigit" { path ".cargo-home" key { file "services/luigit/Cargo.lock" } } run "CARGO_HOME=$PWD/.cargo-home CARGO_BUILD_JOBS=2 scripts/local/rust.sh test" trigger { push { branch "trunk" include "services/luigit/**" include "scripts/local/rust.sh" include "justfile" include ".ci/**" } } }
infra.kdl @ 07a6
job "infra-tofu-route" { image "docker.io/library/alpine:3.22.0" run "apk --root $PWD/.apk --initdb --keys-dir /etc/apk/keys --repositories-file /etc/apk/repositories --no-scripts --no-chown add --no-cache bash caddy git jq just opentofu" run "export PATH=$PWD/.apk/bin:$PWD/.apk/sbin:$PWD/.apk/usr/bin:$PWD/.apk/usr/sbin:$PATH LD_LIBRARY_PATH=$PWD/.apk/lib:$PWD/.apk/usr/lib; command -v tofu just caddy jq git && just --version && caddy version && jq --version && scripts/local/test-verify-infra.sh && just verify infra tofu-route" trigger { push { branch "trunk" include "*.tf" include "**/*.tf" include "*.tf.json" include "**/*.tf.json" include ".terraform.lock.hcl" include "modules/klops/**" include "services/toad/**" include "services/luigit/**" include "sites/index/**" include "sites/personal/**" include "sites/genie/**" include "sites/pkg/**" include "scripts/local/klops.sh" include "scripts/local/deploy-toad.sh" include "scripts/local/build-remote-image.sh" include "scripts/remote/**" include "assets/bugabinga.min.svg" include "assets/nugu.css" include "assets/jellyfin-branding.xml" include "assets/registry/index-BAkATJzA.css" include "assets/dawarich/application-b5a7662b4bd877f1de1fe5769d2b98adfa15a8095b784d392ae1154df6f3b865.js" include "scripts/local/verify-infra.sh" include "scripts/local/verify.sh" include "scripts/local/test-verify-infra.sh" include "justfile" include ".ci/infra.kdl" } } } job "infra-quadlets" { image "quay.io/podman/stable:v5.6.2" run "scripts/local/install-just.sh $PWD/.just" run "PATH=$PWD/.just:$PATH; command -v git just && test -x /usr/lib/systemd/system-generators/podman-system-generator && /usr/lib/systemd/system-generators/podman-system-generator --version && just --version && scripts/local/test-verify-infra.sh && just verify infra quadlets" trigger { push { branch "trunk" include "modules/klops/quadlets/**" include "modules/klops/ci-quadlets/**" include "modules/klops/templates/ddns.container.tftpl" include "modules/klops/templates/luci.container.tftpl" include "modules/klops/templates/soft-serve.container.tftpl" include "services/toad/deploy/*.container" include "services/toad/deploy/*.network" include "scripts/local/verify-infra.sh" include "scripts/local/install-just.sh" include "scripts/local/verify.sh" include "scripts/local/test-verify-infra.sh" include "justfile" include ".ci/infra.kdl" } } }
shell.kdl @ 07a6
job "shell" { image "docker.io/library/alpine:3.22.0" run "apk --root $PWD/.apk --initdb --keys-dir /etc/apk/keys --repositories-file /etc/apk/repositories --no-scripts --no-chown add --no-cache bash git shfmt shellcheck" run "export PATH=$PWD/.apk/bin:$PWD/.apk/usr/bin:$PATH LD_LIBRARY_PATH=$PWD/.apk/lib:$PWD/.apk/usr/lib; bash --version && git --version && shfmt --version && shellcheck --version" run "PATH=$PWD/.apk/bin:$PWD/.apk/usr/bin:$PATH LD_LIBRARY_PATH=$PWD/.apk/lib:$PWD/.apk/usr/lib scripts/local/test-garbage-collection.sh && scripts/local/shell-check.sh read" trigger { push { branch "trunk" include "**/*.sh" include "*.sh" include "scripts/local/shell-check.sh" include ".ci/shell.kdl" } } }