Commit Graph
19 Commits
Author SHA1 Message Date
Benjamin Pracht 2cad1cc936 Update renovate and pinning behavior, run tools from go.mod (#4759)
- Renovate

config:recommended (config:base is deprecated) and matchPackageNames globs instead of the deprecated matchPackagePrefixes.
Vulnerability alerts get a fast path: 2-day quarantine, no concurrency/hourly/schedule limits.
Go modules are no longer grouped into one "go deps" PR — each gets its own, so a bad bump can be reverted alone. The pion modules stay grouped as a documented exception: they're co-released and interdependent, so individual PRs wouldn't build.
First-party github.com/livekit/** skips the 2-week quarantine.
go.mod's go directive is no longer an update target — the build toolchain is pinned in the Dockerfile instead.
Dockerfile deps get pinDigests; the golang image is ungrouped with separateMinorPatch so a patch and a minor bump are each separately approvable.
Custom manager to bump the builder image's -alpineA.B suffix together with its digest, which the stock docker manager holds fixed.

- Pinning

Both Dockerfiles pin golang and alpine by digest alongside the readable tag.
GOTOOLCHAIN=local so a go.mod bump fails loudly instead of silently downloading a different toolchain.
apk upgrade in the runtime stage — a digest pin plus the 2-week quarantine would otherwise ship base-package CVEs Alpine has already fixed. This relies on a cold layer cache, which holds today because the release workflow configures no buildx cache; there's a comment saying so.
Workflows resolve the Go version from the Dockerfile via .github/scripts/go-version.sh, so tests, releases and images share one toolchain.

- Tools

All four code generators now come from the module graph, and tools/tools.go (the pre-Go-1.24 blank-import idiom) is replaced by go.mod tool directives:

tool	how	why
goimports	go tool	lives in x/tools — its own module is the one being selected
gotestfmt	go tool	zero dependencies, nothing to skew
wire	go run	pins x/tools v0.24.1; building it in our graph changes its output
counterfeiter	go run	unchanged, matches its //go:generate directives

The wire distinction is load-bearing. Building wire inside our module raises it from the x/tools v0.24.1 it pins to our v0.48.0, and that module version difference changes what it generates: it falls back to v/v2/v3 instead of deriving real identifiers from the type. wire_gen.go is regenerated here to match the in-module build — a cosmetic rename of 9 lines, with no other change to the generated code.

golangci-lint deliberately keeps its action rather than becoming a tool: it pins its own x/tools (v0.44.0 vs our v0.48.0) for the analyzers it bundles, adding it to go.mod would double our go.mod/go.sum (158→338 / 441→889 lines), and the action supplies caching, only-new-issues and PR annotations that invoking a binary can't. Its version stays manual by request.
2026-08-17 09:25:02 -07:00
Denys Smirnov 8ffcef93b2 Update protocol to support SIP media config. (#4509) 2026-05-06 18:18:21 +02:00
renovate[bot] c58e5d23c5 Update golang Docker tag to v1.25 (#3864)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-17 20:49:02 -07:00
renovate[bot] 177b28dcd5 chore(deps): update golang docker tag to v1.24 (#3440)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 02:06:36 -06:00
Scott Brenner 9fca20066f Resolve FromAsCasing warning in Dockerfile (#3356) 2025-01-22 15:48:40 +05:30
Raja Subramanian 865321528f Update to go 1.23 (#3199) 2024-11-25 13:17:01 +05:30
renovate[bot] 69ad8a28e4 Update golang Docker tag to v1.22 (#2458)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 11:26:20 -08:00
renovate[bot] d56b7b2ab1 Update golang Docker tag to v1.21 (#1946)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 22:16:30 -07:00
David Zhao 981fb7cac7 Adding license notices (#1913)
* Adding license notices

* remove from config
2023-07-27 16:43:19 -07:00
renovate[bot] bee4bcc158 Update golang Docker tag to v1.20 (#1403)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-09 15:29:53 -08:00
renovate[bot] 1b7c8ddba4 Update golang Docker tag to v1.19 (#905)
Generated by renovateBot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 14:11:33 -07:00
David Zhao 4222f51758 updated action versions (#885)
* updated action versions

* docker to use go 1.18
2022-08-06 13:40:40 -07:00
David Zhao 88cad8f093 Generate cleaner configs (#347)
Also upgrade to v1.17 for docker builds
2022-01-17 23:54:04 -08:00
David Zhao 0a769662aa Fixed multi-platform builds (#178) 2021-11-10 15:07:49 -08:00
David Colburn 7c30dbe970 remove docker copy proto 2021-08-27 11:17:41 -07:00
David Zhao 0a5808c73e use nack fix in ion-sfu, fixes #26 2021-02-28 22:28:24 -08:00
David Zhao e89226626a fix to golang 1.16 as builder 2021-02-17 18:12:42 -08:00
Furqan Rydhan c4dfd3c987 switch from scratch to alpine
fixes some aws build issues
2021-01-26 10:32:21 -08:00
David Zhao 18264e7a8b builds docker image 2021-01-19 22:09:11 -08:00