From 3d9f7f6f81a623397c0a0b70606598b269de97cc Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 9 Mar 2026 23:10:27 -0700 Subject: [PATCH] go 1.25 --- .github/workflows/ec-integration-tests.yml | 2 +- .github/workflows/kafka-quicktest.yml | 2 +- .github/workflows/kafka-tests.yml | 14 +++++++------- .github/workflows/postgres-tests.yml | 2 +- .github/workflows/s3-parquet-tests.yml | 4 ++-- .../workflows/test-s3-over-https-using-awscli.yml | 2 +- docker/Dockerfile.foundationdb_large | 2 +- docker/Dockerfile.go_build | 2 +- docker/Dockerfile.rocksdb_dev_env | 2 +- docker/Dockerfile.rocksdb_large | 2 +- seaweedfs-rdma-sidecar/Dockerfile.sidecar | 2 +- seaweedfs-rdma-sidecar/Dockerfile.test-client | 2 +- test/foundationdb/Dockerfile.build | 2 +- test/foundationdb/Dockerfile.build.arm64 | 2 +- test/foundationdb/Dockerfile.test | 2 +- test/kafka/Dockerfile.kafka-gateway | 2 +- test/kafka/Dockerfile.seaweedfs | 2 +- test/kafka/Dockerfile.test-setup | 2 +- .../kafka-client-loadtest/Dockerfile.loadtest | 2 +- test/s3/iam/Dockerfile.s3 | 2 +- 20 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ec-integration-tests.yml b/.github/workflows/ec-integration-tests.yml index 6836140b7..14899d6ca 100644 --- a/.github/workflows/ec-integration-tests.yml +++ b/.github/workflows/ec-integration-tests.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/kafka-quicktest.yml b/.github/workflows/kafka-quicktest.yml index d8ecba940..ba696d800 100644 --- a/.github/workflows/kafka-quicktest.yml +++ b/.github/workflows/kafka-quicktest.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 cache: true cache-dependency-path: | **/go.sum diff --git a/.github/workflows/kafka-tests.yml b/.github/workflows/kafka-tests.yml index 1b4bed572..684ff0713 100644 --- a/.github/workflows/kafka-tests.yml +++ b/.github/workflows/kafka-tests.yml @@ -37,7 +37,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 id: go - name: Check out code @@ -82,7 +82,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 id: go - name: Check out code @@ -132,7 +132,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 cache: true cache-dependency-path: | **/go.sum @@ -311,7 +311,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 cache: true cache-dependency-path: | **/go.sum @@ -473,7 +473,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 cache: true cache-dependency-path: | **/go.sum @@ -631,7 +631,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 cache: true cache-dependency-path: | **/go.sum @@ -789,7 +789,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 id: go - name: Check out code diff --git a/.github/workflows/postgres-tests.yml b/.github/workflows/postgres-tests.yml index b6a9f5d38..5009162e7 100644 --- a/.github/workflows/postgres-tests.yml +++ b/.github/workflows/postgres-tests.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 id: go - name: Check out code diff --git a/.github/workflows/s3-parquet-tests.yml b/.github/workflows/s3-parquet-tests.yml index a597ee17b..9d3289156 100644 --- a/.github/workflows/s3-parquet-tests.yml +++ b/.github/workflows/s3-parquet-tests.yml @@ -41,7 +41,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 cache: true - name: Set up Python ${{ matrix.python-version }} @@ -148,7 +148,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 cache: true - name: Run Go unit tests diff --git a/.github/workflows/test-s3-over-https-using-awscli.yml b/.github/workflows/test-s3-over-https-using-awscli.yml index 207ec5c85..fe4e5b3c4 100644 --- a/.github/workflows/test-s3-over-https-using-awscli.yml +++ b/.github/workflows/test-s3-over-https-using-awscli.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-go@v6 with: - go-version: ^1.24 + go-version: ^1.25 - name: Build SeaweedFS run: | diff --git a/docker/Dockerfile.foundationdb_large b/docker/Dockerfile.foundationdb_large index 6ec702700..aec40acdc 100644 --- a/docker/Dockerfile.foundationdb_large +++ b/docker/Dockerfile.foundationdb_large @@ -1,4 +1,4 @@ -FROM golang:1.24 AS builder +FROM golang:1.25 AS builder RUN apt-get update && \ apt-get install -y build-essential wget ca-certificates && \ diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_build index 80ba3257f..c1c9a523e 100644 --- a/docker/Dockerfile.go_build +++ b/docker/Dockerfile.go_build @@ -1,4 +1,4 @@ -FROM golang:1.24-alpine as builder +FROM golang:1.25-alpine AS builder RUN apk add git g++ fuse RUN mkdir -p /go/src/github.com/seaweedfs/ ARG BRANCH=${BRANCH:-master} diff --git a/docker/Dockerfile.rocksdb_dev_env b/docker/Dockerfile.rocksdb_dev_env index 877fa453c..20123db64 100644 --- a/docker/Dockerfile.rocksdb_dev_env +++ b/docker/Dockerfile.rocksdb_dev_env @@ -1,4 +1,4 @@ -FROM golang:1.24 AS builder +FROM golang:1.25 AS builder RUN apt-get update RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev diff --git a/docker/Dockerfile.rocksdb_large b/docker/Dockerfile.rocksdb_large index 1a9e80bf6..bd2744baa 100644 --- a/docker/Dockerfile.rocksdb_large +++ b/docker/Dockerfile.rocksdb_large @@ -1,4 +1,4 @@ -FROM golang:1.24 AS builder +FROM golang:1.25 AS builder RUN apt-get update RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev diff --git a/seaweedfs-rdma-sidecar/Dockerfile.sidecar b/seaweedfs-rdma-sidecar/Dockerfile.sidecar index e9da9a63c..87bf9b33e 100644 --- a/seaweedfs-rdma-sidecar/Dockerfile.sidecar +++ b/seaweedfs-rdma-sidecar/Dockerfile.sidecar @@ -1,5 +1,5 @@ # Multi-stage build for Go Sidecar -FROM golang:1.24-alpine AS builder +FROM golang:1.25-alpine AS builder # Install build dependencies RUN apk add --no-cache git ca-certificates tzdata diff --git a/seaweedfs-rdma-sidecar/Dockerfile.test-client b/seaweedfs-rdma-sidecar/Dockerfile.test-client index 879b8033a..8798635ea 100644 --- a/seaweedfs-rdma-sidecar/Dockerfile.test-client +++ b/seaweedfs-rdma-sidecar/Dockerfile.test-client @@ -1,5 +1,5 @@ # Multi-stage build for Test Client -FROM golang:1.23-alpine AS builder +FROM golang:1.25-alpine AS builder # Install build dependencies RUN apk add --no-cache git ca-certificates tzdata diff --git a/test/foundationdb/Dockerfile.build b/test/foundationdb/Dockerfile.build index 9f034591d..58887acbb 100644 --- a/test/foundationdb/Dockerfile.build +++ b/test/foundationdb/Dockerfile.build @@ -1,6 +1,6 @@ # Simplified single-stage build for SeaweedFS with FoundationDB support # Force x86_64 platform to use AMD64 FoundationDB packages -FROM --platform=linux/amd64 golang:1.24-bookworm +FROM --platform=linux/amd64 golang:1.25-bookworm ARG FOUNDATIONDB_VERSION=7.4.5 ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION} diff --git a/test/foundationdb/Dockerfile.build.arm64 b/test/foundationdb/Dockerfile.build.arm64 index bf94625f1..d62d7eda8 100644 --- a/test/foundationdb/Dockerfile.build.arm64 +++ b/test/foundationdb/Dockerfile.build.arm64 @@ -1,5 +1,5 @@ # Multi-stage Dockerfile to build SeaweedFS with FoundationDB support for ARM64 -FROM --platform=linux/arm64 golang:1.24-bookworm AS builder +FROM --platform=linux/arm64 golang:1.25-bookworm AS builder ARG FOUNDATIONDB_VERSION=7.4.5 ENV FOUNDATIONDB_VERSION=${FOUNDATIONDB_VERSION} diff --git a/test/foundationdb/Dockerfile.test b/test/foundationdb/Dockerfile.test index a3848321c..70191f08b 100644 --- a/test/foundationdb/Dockerfile.test +++ b/test/foundationdb/Dockerfile.test @@ -1,5 +1,5 @@ # Test environment with Go and FoundationDB support -FROM golang:1.24-bookworm +FROM golang:1.25-bookworm # Install system dependencies RUN apt-get update && apt-get install -y \ diff --git a/test/kafka/Dockerfile.kafka-gateway b/test/kafka/Dockerfile.kafka-gateway index 6e96fa893..32b3d4663 100644 --- a/test/kafka/Dockerfile.kafka-gateway +++ b/test/kafka/Dockerfile.kafka-gateway @@ -1,5 +1,5 @@ # Dockerfile for Kafka Gateway Integration Testing -FROM golang:1.24-alpine AS builder +FROM golang:1.25-alpine AS builder # Install build dependencies RUN apk add --no-cache git make gcc musl-dev sqlite-dev diff --git a/test/kafka/Dockerfile.seaweedfs b/test/kafka/Dockerfile.seaweedfs index bd2983fe8..ce889e25e 100644 --- a/test/kafka/Dockerfile.seaweedfs +++ b/test/kafka/Dockerfile.seaweedfs @@ -1,5 +1,5 @@ # Dockerfile for building SeaweedFS components from the current workspace -FROM golang:1.24-alpine AS builder +FROM golang:1.25-alpine AS builder RUN apk add --no-cache git make gcc musl-dev sqlite-dev diff --git a/test/kafka/Dockerfile.test-setup b/test/kafka/Dockerfile.test-setup index 16652f269..e4290ecda 100644 --- a/test/kafka/Dockerfile.test-setup +++ b/test/kafka/Dockerfile.test-setup @@ -1,5 +1,5 @@ # Dockerfile for Kafka Integration Test Setup -FROM golang:1.24-alpine AS builder +FROM golang:1.25-alpine AS builder # Install build dependencies RUN apk add --no-cache git make gcc musl-dev diff --git a/test/kafka/kafka-client-loadtest/Dockerfile.loadtest b/test/kafka/kafka-client-loadtest/Dockerfile.loadtest index ccf7e5e16..25aa4ae41 100644 --- a/test/kafka/kafka-client-loadtest/Dockerfile.loadtest +++ b/test/kafka/kafka-client-loadtest/Dockerfile.loadtest @@ -2,7 +2,7 @@ # Multi-stage build for cross-platform support # Stage 1: Builder -FROM golang:1.24-alpine AS builder +FROM golang:1.25-alpine AS builder WORKDIR /app diff --git a/test/s3/iam/Dockerfile.s3 b/test/s3/iam/Dockerfile.s3 index 36f0ead1f..52ba670a5 100644 --- a/test/s3/iam/Dockerfile.s3 +++ b/test/s3/iam/Dockerfile.s3 @@ -1,5 +1,5 @@ # Multi-stage build for SeaweedFS S3 with IAM -FROM golang:1.23-alpine AS builder +FROM golang:1.25-alpine AS builder # Install build dependencies RUN apk add --no-cache git make curl wget