all: build with Go 1.27.3

crypto/x509 security fixes.
This commit is contained in:
Kristoffer Dalby authored and Kristoffer Dalby committed 2026-10-22 14:37:00 +02:00
1 parent 244129064d
commit 54eedce658
6 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -66,7 +66,7 @@ similar lines of code is better than a premature abstraction.
## Quick Start ## Quick Start
```bash ```bash
# Enter the nix dev shell (Go 1.27.2, buf, golangci-lint, prek) # Enter the nix dev shell (Go 1.27.3, buf, golangci-lint, prek)
nix develop nix develop
# Full development workflow: fmt + lint + test + build # Full development workflow: fmt + lint + test + build
@@ -93,7 +93,7 @@ go run ./tools/bump plan # what is stale, changes nothing
go run ./tools/bump verify # do the pins still agree go run ./tools/bump verify # do the pins still agree
``` ```
Go 1.27.2 minimum (per `go.mod:3`). `nix develop` pins the exact toolchain Go 1.27.3 minimum (per `go.mod:3`). `nix develop` pins the exact toolchain
used in CI. used in CI.
## Pre-Commit with prek ## Pre-Commit with prek
+1 -1
View File
@@ -127,7 +127,7 @@ the ACME DNS-01 challenge through a built-in DNS provider: `acmedns`,
- Improve systemd service file hardening [#3341](https://github.com/juanfont/headscale/pull/3341) - Improve systemd service file hardening [#3341](https://github.com/juanfont/headscale/pull/3341)
- Fix `headscale users destroy`/`rename` reporting "multiple users match query" when no user matches; an ambiguous match now lists the matching users [#3476](https://github.com/juanfont/headscale/pull/3476) - Fix `headscale users destroy`/`rename` reporting "multiple users match query" when no user matches; an ambiguous match now lists the matching users [#3476](https://github.com/juanfont/headscale/pull/3476)
- Deleting a user that still owns nodes now lists the nodes (ID and hostname) that must be deleted first [#3475](https://github.com/juanfont/headscale/pull/3475) - Deleting a user that still owns nodes now lists the nodes (ID and hostname) that must be deleted first [#3475](https://github.com/juanfont/headscale/pull/3475)
- Headscale now requires Go 1.27 to build - Headscale now requires Go 1.27.3 to build, which carries the `crypto/x509` security fixes [#3560](https://github.com/juanfont/headscale/pull/3560)
- `headscale preauthkeys create --user` accepts a user name as well as an ID - `headscale preauthkeys create --user` accepts a user name as well as an ID
- `derp.paths` files may be Tailscale JSON or HuJSON DERP maps as well as YAML - `derp.paths` files may be Tailscale JSON or HuJSON DERP maps as well as YAML
- `dns.extra_records_path` files may be HuJSON or YAML as well as JSON - `dns.extra_records_path` files may be HuJSON or YAML as well as JSON
+1 -1
View File
@@ -2,7 +2,7 @@
# and are in no way endorsed by Headscale's maintainers as an # and are in no way endorsed by Headscale's maintainers as an
# official nor supported release or distribution. # official nor supported release or distribution.
FROM docker.io/golang:1.27.2-trixie AS builder FROM docker.io/golang:1.27.3-trixie AS builder
ARG VERSION=dev ARG VERSION=dev
ENV GOPATH /go ENV GOPATH /go
WORKDIR /go/src/headscale WORKDIR /go/src/headscale
+1 -1
View File
@@ -7,7 +7,7 @@
# to drive a real browser-style WebSocket GET against headscale's /ts2021, # to drive a real browser-style WebSocket GET against headscale's /ts2021,
# guarding the regression in issue #3357. # guarding the regression in issue #3357.
FROM golang:1.27.2-alpine AS build FROM golang:1.27.3-alpine AS build
WORKDIR /src WORKDIR /src
+1 -1
View File
@@ -55,7 +55,7 @@ changing.
| `--timeout` | `120m` | Total test timeout. Use the built-in flag — never wrap with bash `timeout`. | | `--timeout` | `120m` | Total test timeout. Use the built-in flag — never wrap with bash `timeout`. |
| `--postgres` | `false` | Use PostgreSQL instead of SQLite | | `--postgres` | `false` | Use PostgreSQL instead of SQLite |
| `--failfast` | `true` | Stop on first test failure | | `--failfast` | `true` | Stop on first test failure |
| `--go-version` | auto | Detected from `go.mod` (currently 1.27.0) | | `--go-version` | auto | Detected from `go.mod` (currently 1.27.3) |
| `--test-binary` | unset | Execute a precompiled integration test binary instead of running `go test` | | `--test-binary` | unset | Execute a precompiled integration test binary instead of running `go test` |
| `--clean-before` | `true` | Clean stale (stopped/exited) containers before starting | | `--clean-before` | `true` | Clean stale (stopped/exited) containers before starting |
| `--clean-after` | `true` | Clean this run's containers after completion | | `--clean-after` | `true` | Clean this run's containers after completion |
+2 -2
View File
@@ -113,7 +113,7 @@ func detectGoVersion() string {
if err != nil { if err != nil {
content, err = os.ReadFile(filepath.Join("..", "..", "go.mod")) content, err = os.ReadFile(filepath.Join("..", "..", "go.mod"))
if err != nil { if err != nil {
return "1.27.0" return "1.27.3"
} }
} }
@@ -125,5 +125,5 @@ func detectGoVersion() string {
} }
} }
return "1.27.0" return "1.27.3"
} }