From b90bf14a4c213ceba102e2ac24b57749a17f1719 Mon Sep 17 00:00:00 2001 From: dongmen <20351731+asddongmen@users.noreply.github.com> Date: Wed, 29 Jul 2026 16:42:35 +0800 Subject: [PATCH 1/2] This is an automated cherry-pick of #5798 Signed-off-by: ti-chi-bot --- README.md | 13 +++++++++++++ deployments/integration-test.Dockerfile | 4 ++++ .../next-gen-local-integration-test.Dockerfile | 4 ++++ go.mod | 2 +- tests/integration_tests/debezium01/go.mod | 4 ++++ tools/check/go.mod | 4 ++++ tools/workload/go.mod | 4 ++++ 7 files changed, 34 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fd9fa3f5cd..c75f8d819c 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ TiCDC can be built on the following operating systems: * Linux * MacOS +<<<<<<< HEAD Install GoLang 1.25.10 ```bash @@ -107,6 +108,18 @@ sudo tar -C /usr/local -xzf go1.25.10.linux-amd64.tar.gz # MacOS curl -O https://go.dev/dl/go1.25.10.darwin-amd64.tar.gz sudo tar -C /usr/local -xzf go1.25.10.darwin-amd64.tar.gz +======= +Install GoLang 1.25.12 + +```bash +# Linux +wget https://go.dev/dl/go1.25.12.linux-amd64.tar.gz +sudo tar -C /usr/local -xzf go1.25.12.linux-amd64.tar.gz + +# MacOS +curl -O https://go.dev/dl/go1.25.12.darwin-amd64.tar.gz +sudo tar -C /usr/local -xzf go1.25.12.darwin-amd64.tar.gz +>>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) export PATH=$PATH:/usr/local/go/bin diff --git a/deployments/integration-test.Dockerfile b/deployments/integration-test.Dockerfile index 14ec5ac5bf..c54bb76b34 100644 --- a/deployments/integration-test.Dockerfile +++ b/deployments/integration-test.Dockerfile @@ -29,7 +29,11 @@ RUN ./download-integration-test-binaries.sh $BRANCH $COMMUNITY $VERSION $OS $ARC RUN ls ./bin # Download go into /usr/local dir. +<<<<<<< HEAD ENV GOLANG_VERSION 1.25.10 +======= +ENV GOLANG_VERSION 1.25.12 +>>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) ENV GOLANG_DOWNLOAD_URL https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ && tar -C /usr/local -xzf golang.tar.gz \ diff --git a/deployments/next-gen-local-integration-test.Dockerfile b/deployments/next-gen-local-integration-test.Dockerfile index ec47776bb9..5df7097c4c 100644 --- a/deployments/next-gen-local-integration-test.Dockerfile +++ b/deployments/next-gen-local-integration-test.Dockerfile @@ -28,7 +28,11 @@ WORKDIR /root/download #RUN ls ./bin # Download go into /usr/local dir. +<<<<<<< HEAD ENV GOLANG_VERSION 1.25.10 +======= +ENV GOLANG_VERSION 1.25.12 +>>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) ENV GOLANG_DOWNLOAD_URL https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ && tar -C /usr/local -xzf golang.tar.gz \ diff --git a/go.mod b/go.mod index 48c09b87cc..7d4b90a426 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/pingcap/ticdc -go 1.25.10 +go 1.25.12 require ( cloud.google.com/go/storage v1.50.0 diff --git a/tests/integration_tests/debezium01/go.mod b/tests/integration_tests/debezium01/go.mod index e71bc355d1..a6bc6e07b5 100644 --- a/tests/integration_tests/debezium01/go.mod +++ b/tests/integration_tests/debezium01/go.mod @@ -1,6 +1,10 @@ module github.com/breezewish/checker +<<<<<<< HEAD go 1.25.10 +======= +go 1.25.12 +>>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) require ( github.com/alecthomas/chroma v0.10.0 diff --git a/tools/check/go.mod b/tools/check/go.mod index 2a0e670e3b..26d4b9001f 100644 --- a/tools/check/go.mod +++ b/tools/check/go.mod @@ -1,6 +1,10 @@ module github.com/pingcap/tidb-cdc/_tools +<<<<<<< HEAD go 1.25.10 +======= +go 1.25.12 +>>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) require ( github.com/AlekSi/gocov-xml v1.1.0 diff --git a/tools/workload/go.mod b/tools/workload/go.mod index b8704fb2fd..0720da9853 100644 --- a/tools/workload/go.mod +++ b/tools/workload/go.mod @@ -1,6 +1,10 @@ module workload +<<<<<<< HEAD go 1.25.10 +======= +go 1.25.12 +>>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) require ( github.com/BurntSushi/toml v1.5.0 From fb5b2e9c5f3cecfceef551f958b68785aae3a577 Mon Sep 17 00:00:00 2001 From: dongmen <414110582@qq.com> Date: Wed, 29 Jul 2026 18:33:33 +0800 Subject: [PATCH 2/2] *: resolve Go version cherry-pick conflicts Signed-off-by: dongmen <414110582@qq.com> --- README.md | 13 ------------- deployments/integration-test.Dockerfile | 4 ---- .../next-gen-local-integration-test.Dockerfile | 4 ---- tests/integration_tests/debezium01/go.mod | 4 ---- tools/check/go.mod | 4 ---- tools/workload/go.mod | 4 ---- 6 files changed, 33 deletions(-) diff --git a/README.md b/README.md index c75f8d819c..6ead9a0589 100644 --- a/README.md +++ b/README.md @@ -97,18 +97,6 @@ TiCDC can be built on the following operating systems: * Linux * MacOS -<<<<<<< HEAD -Install GoLang 1.25.10 - -```bash -# Linux -wget https://go.dev/dl/go1.25.10.linux-amd64.tar.gz -sudo tar -C /usr/local -xzf go1.25.10.linux-amd64.tar.gz - -# MacOS -curl -O https://go.dev/dl/go1.25.10.darwin-amd64.tar.gz -sudo tar -C /usr/local -xzf go1.25.10.darwin-amd64.tar.gz -======= Install GoLang 1.25.12 ```bash @@ -119,7 +107,6 @@ sudo tar -C /usr/local -xzf go1.25.12.linux-amd64.tar.gz # MacOS curl -O https://go.dev/dl/go1.25.12.darwin-amd64.tar.gz sudo tar -C /usr/local -xzf go1.25.12.darwin-amd64.tar.gz ->>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) export PATH=$PATH:/usr/local/go/bin diff --git a/deployments/integration-test.Dockerfile b/deployments/integration-test.Dockerfile index c54bb76b34..91227be1f8 100644 --- a/deployments/integration-test.Dockerfile +++ b/deployments/integration-test.Dockerfile @@ -29,11 +29,7 @@ RUN ./download-integration-test-binaries.sh $BRANCH $COMMUNITY $VERSION $OS $ARC RUN ls ./bin # Download go into /usr/local dir. -<<<<<<< HEAD -ENV GOLANG_VERSION 1.25.10 -======= ENV GOLANG_VERSION 1.25.12 ->>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) ENV GOLANG_DOWNLOAD_URL https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ && tar -C /usr/local -xzf golang.tar.gz \ diff --git a/deployments/next-gen-local-integration-test.Dockerfile b/deployments/next-gen-local-integration-test.Dockerfile index 5df7097c4c..cbdfb7e5fb 100644 --- a/deployments/next-gen-local-integration-test.Dockerfile +++ b/deployments/next-gen-local-integration-test.Dockerfile @@ -28,11 +28,7 @@ WORKDIR /root/download #RUN ls ./bin # Download go into /usr/local dir. -<<<<<<< HEAD -ENV GOLANG_VERSION 1.25.10 -======= ENV GOLANG_VERSION 1.25.12 ->>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) ENV GOLANG_DOWNLOAD_URL https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ && tar -C /usr/local -xzf golang.tar.gz \ diff --git a/tests/integration_tests/debezium01/go.mod b/tests/integration_tests/debezium01/go.mod index a6bc6e07b5..45c3c1022b 100644 --- a/tests/integration_tests/debezium01/go.mod +++ b/tests/integration_tests/debezium01/go.mod @@ -1,10 +1,6 @@ module github.com/breezewish/checker -<<<<<<< HEAD -go 1.25.10 -======= go 1.25.12 ->>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) require ( github.com/alecthomas/chroma v0.10.0 diff --git a/tools/check/go.mod b/tools/check/go.mod index 26d4b9001f..4fbf8bb0d7 100644 --- a/tools/check/go.mod +++ b/tools/check/go.mod @@ -1,10 +1,6 @@ module github.com/pingcap/tidb-cdc/_tools -<<<<<<< HEAD -go 1.25.10 -======= go 1.25.12 ->>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) require ( github.com/AlekSi/gocov-xml v1.1.0 diff --git a/tools/workload/go.mod b/tools/workload/go.mod index 0720da9853..2c3fdb1d9b 100644 --- a/tools/workload/go.mod +++ b/tools/workload/go.mod @@ -1,10 +1,6 @@ module workload -<<<<<<< HEAD -go 1.25.10 -======= go 1.25.12 ->>>>>>> 03f77677e (*: bump Go version to 1.25.12 (#5798)) require ( github.com/BurntSushi/toml v1.5.0