Skip to content

Commit 71c9e5b

Browse files
authored
chore(*): upgrade golang to 1.25 (#2948)
close #2946
1 parent f414ade commit 71c9e5b

File tree

11 files changed

+11
-17
lines changed

11 files changed

+11
-17
lines changed

deployments/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23-alpine as builder
1+
FROM golang:1.25-alpine as builder
22
RUN apk add --no-cache git make bash
33
WORKDIR /go/src/github.com/pingcap/ticdc
44
COPY . .

deployments/dev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23-alpine as builder
1+
FROM golang:1.25-alpine as builder
22
RUN apk add --no-cache git make bash findutils
33
WORKDIR /go/src/github.com/pingcap/ticdc
44
COPY . .

deployments/integration-test.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN ./download-integration-test-binaries.sh $BRANCH $COMMUNITY $VERSION $OS $ARC
2929
RUN ls ./bin
3030

3131
# Download go into /usr/local dir.
32-
ENV GOLANG_VERSION 1.23.0
32+
ENV GOLANG_VERSION 1.25.5
3333
ENV GOLANG_DOWNLOAD_URL https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz
3434
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
3535
&& tar -C /usr/local -xzf golang.tar.gz \

deployments/kafka-consumer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23-alpine AS builder
1+
FROM golang:1.25-alpine AS builder
22
RUN apk add --no-cache make bash git build-base
33
WORKDIR /go/src/github.com/pingcap/ticdc
44
COPY . .

deployments/next-gen-local-integration-test.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ WORKDIR /root/download
2828
#RUN ls ./bin
2929

3030
# Download go into /usr/local dir.
31-
ENV GOLANG_VERSION 1.23.0
31+
ENV GOLANG_VERSION 1.25.5
3232
ENV GOLANG_DOWNLOAD_URL https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz
3333
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
3434
&& tar -C /usr/local -xzf golang.tar.gz \

deployments/pulsar-integration-test.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM openjdk:17 as jdk_container
22

3-
FROM hub.pingcap.net/jenkins/centos7_golang-1.23:latest
3+
FROM ghcr.io/pingcap-qe/ci/base:v2025.11.9-1-ga8991fa-go1.25
44
RUN curl https://archive.apache.org/dist/pulsar/pulsar-3.2.0/apache-pulsar-3.2.0-bin.tar.gz -o pulsar.tar.gz && \
55
tar -xvf pulsar.tar.gz && \
66
mv apache-pulsar-3.2.0 pulsar && \

deployments/storage-consumer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23-alpine as builder
1+
FROM golang:1.25-alpine as builder
22
RUN apk add --no-cache make bash git
33
WORKDIR /go/src/github.com/pingcap/ticdc
44
COPY . .

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/pingcap/ticdc
22

3-
go 1.24.0
4-
5-
toolchain go1.24.7
3+
go 1.25.5
64

75
require (
86
cloud.google.com/go/storage v1.39.1

tests/integration_tests/debezium01/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/breezewish/checker
22

3-
go 1.23.4
4-
5-
toolchain go1.23.7
3+
go 1.25.5
64

75
require (
86
github.com/alecthomas/chroma v0.10.0

tools/check/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/pingcap/tidb-cdc/_tools
22

3-
go 1.23.7
4-
5-
toolchain go1.24.7
3+
go 1.25.5
64

75
require (
86
github.com/AlekSi/gocov-xml v1.1.0

0 commit comments

Comments
 (0)