From af7ff391aa970ecd327dd9653f620074cf74e9c2 Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Thu, 2 Apr 2026 18:19:21 +0800 Subject: [PATCH] chore: replace deprecated PingCAP download domains --- dm/tests/README.md | 4 ++-- dm/tests/download-compatibility-test-binaries.sh | 4 ++-- dm/tests/mariadb_master_down_and_up/lib.sh | 2 +- dm/tests/tiup/lib.sh | 2 +- dm/tests/tiup/upgrade-from-v1.sh | 2 +- dm/tests/upstream_switch/lib.sh | 2 +- scripts/download-integration-test-binaries.sh | 4 ++-- scripts/download-sync-diff.sh | 2 +- tests/integration_tests/README.md | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dm/tests/README.md b/dm/tests/README.md index f72fe191fe..f4c996cbb8 100644 --- a/dm/tests/README.md +++ b/dm/tests/README.md @@ -3,8 +3,8 @@ 1. The following executables must be copied or generated or linked into these locations. - * `bin/tidb-server` can be downloaded from [tidb-master-linux-amd64](https://download.pingcap.org/tidb-master-linux-amd64.tar.gz) or installed by [tiup](https://github.com/pingcap/tiup), you can use the command `find ~/.tiup -name tidb-server` to locate `tidb-server` binary file and copy it - * `bin/sync_diff_inspector` # can be downloaded from [tidb-enterprise-tools-latest-linux-amd64](http://download.pingcap.org/tidb-enterprise-tools-latest-linux-amd64.tar.gz) or build from [source code](https://github.com/pingcap/tidb-tools) + * `bin/tidb-server` can be downloaded from [tidb-master-linux-amd64](https://download.pingcap.com/tidb-master-linux-amd64.tar.gz) or installed by [tiup](https://github.com/pingcap/tiup), you can use the command `find ~/.tiup -name tidb-server` to locate `tidb-server` binary file and copy it + * `bin/sync_diff_inspector` # can be downloaded from [tidb-enterprise-tools-latest-linux-amd64](http://download.pingcap.com/tidb-enterprise-tools-latest-linux-amd64.tar.gz) or build from [source code](https://github.com/pingcap/tidb-tools) * `bin/minio` can be build from (https://github.com/minio/minio) * `bin/dm-master.test` # generated by `make dm_integration_test_build` * `bin/dm-worker.test` # generated by `make dm_integration_test_build` diff --git a/dm/tests/download-compatibility-test-binaries.sh b/dm/tests/download-compatibility-test-binaries.sh index cceb8c4432..934bce1820 100755 --- a/dm/tests/download-compatibility-test-binaries.sh +++ b/dm/tests/download-compatibility-test-binaries.sh @@ -52,8 +52,8 @@ tidb_sha1=$(curl "${file_server_url}/download/refs/pingcap/tidb/${branch}/sha1") # All download links. tidb_download_url="${file_server_url}/download/builds/pingcap/tidb/${tidb_sha1}/centos7/tidb-server.tar.gz" -sync_diff_inspector_download_url="http://download.pingcap.org/tidb-enterprise-tools-nightly-linux-amd64.tar.gz" -mydumper_download_url="http://download.pingcap.org/tidb-enterprise-tools-latest-linux-amd64.tar.gz" +sync_diff_inspector_download_url="http://download.pingcap.com/tidb-enterprise-tools-nightly-linux-amd64.tar.gz" +mydumper_download_url="http://download.pingcap.com/tidb-enterprise-tools-latest-linux-amd64.tar.gz" gh_os_download_url="https://github.com/github/gh-ost/releases/download/v1.1.0/gh-ost-binary-linux-20200828140552.tar.gz" minio_download_url="${file_server_url}/download/minio.tar.gz" diff --git a/dm/tests/mariadb_master_down_and_up/lib.sh b/dm/tests/mariadb_master_down_and_up/lib.sh index 3d38de273e..7f6c68be23 100644 --- a/dm/tests/mariadb_master_down_and_up/lib.sh +++ b/dm/tests/mariadb_master_down_and_up/lib.sh @@ -28,7 +28,7 @@ function exec_tidb() { } function install_sync_diff() { - curl https://download.pingcap.org/tidb-enterprise-tools-nightly-linux-amd64.tar.gz | tar xz + curl https://download.pingcap.com/tidb-enterprise-tools-nightly-linux-amd64.tar.gz | tar xz mkdir -p bin mv tidb-enterprise-tools-nightly-linux-amd64/bin/sync_diff_inspector bin/ } diff --git a/dm/tests/tiup/lib.sh b/dm/tests/tiup/lib.sh index 8b57d9355e..61637feca5 100755 --- a/dm/tests/tiup/lib.sh +++ b/dm/tests/tiup/lib.sh @@ -57,7 +57,7 @@ function run_sql_tidb_with_retry() { } function install_sync_diff() { - curl https://download.pingcap.org/tidb-enterprise-tools-nightly-linux-amd64.tar.gz | tar xz + curl https://download.pingcap.com/tidb-enterprise-tools-nightly-linux-amd64.tar.gz | tar xz mkdir -p bin mv tidb-enterprise-tools-nightly-linux-amd64/bin/sync_diff_inspector bin/ } diff --git a/dm/tests/tiup/upgrade-from-v1.sh b/dm/tests/tiup/upgrade-from-v1.sh index 3520dd0f7b..e7d8fff4ba 100755 --- a/dm/tests/tiup/upgrade-from-v1.sh +++ b/dm/tests/tiup/upgrade-from-v1.sh @@ -30,7 +30,7 @@ function deploy_v1_by_ansible() { # step 3 su tidb < You could download these binaries by yourself from [tidb-community-toolkit](https://download.pingcap.org/tidb-community-toolkit-v6.0.0-linux-amd64.tar.gz) and [tidb-community-server](https://download.pingcap.org/tidb-community-server-v6.0.0-linux-amd64.tar.gz). + > You could download these binaries by yourself from [tidb-community-toolkit](https://download.pingcap.com/tidb-community-toolkit-v6.0.0-linux-amd64.tar.gz) and [tidb-community-server](https://download.pingcap.com/tidb-community-server-v6.0.0-linux-amd64.tar.gz). 2. These are programs/packages need be installed. * [mysql](https://dev.mysql.com/doc/mysql-installation-excerpt/5.7/en/) (the MySQL cli client,