LUCIRUNSDOCSPUBLIC CI
Run · bugabinga.net / push

Run passed.

feat(klops): serve Pinchflat-NGX at tube.bugabinga.net with capped storage

9 passed.

Finished

Execution 001 · PASSED

go-test

34s wall time
.ci/go.kdl:1Pinned workflow · declarations are not execution proof
job "go-test" {
  1. 2
    image "docker.io/library/golang:1.26"
    Pinned image · docker.io/library/golang:1.26
  2. 3
    cache "go-mod" {
      path ".go-modcache"
      key {
        file "services/luci/go.sum"
        file "services/toad/go.sum"
      }
    }
  3. 10
    cache "go-build" {
      path ".go-cache"
      key {
        file "services/luci/go.sum"
        file "services/toad/go.sum"
      }
    }
  4. 17
    run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/luci"
    Resolved command · step 1
    GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/luci
    Reported end · · unverified job marker
  5. 18
    run "GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/toad"
    Resolved command · step 2
    GOTOOLCHAIN=local GOMAXPROCS=2 GOFLAGS=-p=2 GOMODCACHE=$PWD/.go-modcache GOCACHE=$PWD/.go-cache scripts/local/go.sh check read services/toad
    Reported end · · unverified job marker
  6. 19
    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/**"
      }
    }
}
Runner evidence · not KDL

Where time went

Execution wall time ·

Runner intervals unavailable. Not reconstructed from the log.

Completed step markers · 20s reported.

Unattributed wall time · ≈14s. Whole-second markers cannot account for setup, teardown or interrupted steps.

Execution output · recorded tailComplete raw log
[earlier output truncated]
ok  	bugabinga.net/luci/internal/publish	(cached)
ok  	bugabinga.net/luci/internal/refscan	(cached)
ok  	bugabinga.net/luci/internal/runner	4.035s
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 16s
[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
go: downloading github.com/godbus/dbus/v5 v5.2.2
?   	bugabinga.net/toad/cmd/toad	[no test files]
ok  	bugabinga.net/toad/internal/api	0.104s
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 4s
Original pinned files · 92e3
.ci/go.kdl
Original file
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/**"
    }
  }
}
.ci/infra.kdl
Original file
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/local/deploy-pinchflat.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"
    }
  }
}
.ci/shell.kdl
Original file
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"
    }
  }
}