diff --git a/br/tests/download_tools.sh b/br/tests/download_tools.sh index 960c3017c61c5..9d3677cbc76d2 100755 --- a/br/tests/download_tools.sh +++ b/br/tests/download_tools.sh @@ -34,7 +34,7 @@ done if [ ! -e "$BIN/tiflash" ]; then echo "Downloading nightly Tiflash..." - curl -L -f -o "$BIN/tiflash.tar.gz" "https://download.pingcap.org/tiflash-nightly-linux-amd64.tar.gz" + curl -L -f -o "$BIN/tiflash.tar.gz" "https://download.pingcap.com/tiflash-nightly-linux-amd64.tar.gz" tar -xf "$BIN/tiflash.tar.gz" -C "$BIN/" rm "$BIN/tiflash.tar.gz" mkdir "$BIN"/flash_cluster_manager @@ -46,7 +46,7 @@ fi if [ -n "$MISSING_TIDB_COMPONENTS" ]; then echo "Downloading latest TiDB bundle..." - curl -L -f -o "$BIN/tidb.tar.gz" "https://download.pingcap.org/tidb-nightly-linux-amd64.tar.gz" + curl -L -f -o "$BIN/tidb.tar.gz" "https://download.pingcap.com/tidb-nightly-linux-amd64.tar.gz" tar -x -f "$BIN/tidb.tar.gz" -C "$BIN/" $MISSING_TIDB_COMPONENTS rm "$BIN/tidb.tar.gz" mv "$BIN"/tidb-nightly-linux-amd64/bin/* "$BIN/" @@ -80,7 +80,7 @@ fi if [ ! -e "$BIN/cdc" ]; then echo "Downloading cdc..." - curl -L -f -o "$BIN/cdc.tar.gz" "https://download.pingcap.org/ticdc-nightly-linux-amd64.tar.gz" + curl -L -f -o "$BIN/cdc.tar.gz" "https://download.pingcap.com/ticdc-nightly-linux-amd64.tar.gz" tar -x -f "$BIN/cdc.tar.gz" -C "$BIN/" ticdc-nightly-linux-amd64/bin/cdc mv "$BIN"/ticdc-nightly-linux-amd64/bin/cdc "$BIN/cdc" fi diff --git a/dumpling/README.md b/dumpling/README.md index ef5b71543b65a..1b36d1d814b02 100644 --- a/dumpling/README.md +++ b/dumpling/README.md @@ -29,9 +29,9 @@ Building 3. Run `make dumpling_unit_test` to run the unit tests. 4. Run `make dumpling_integration_test` to run integration tests. For integration test: - The following executables must be copied or generated or linked into these locations: - * `bin/sync_diff_inspector` (download from [tidb-enterprise-tools-latest-linux-amd64](http://download.pingcap.org/tidb-enterprise-tools-latest-linux-amd64.tar.gz)) - * `bin/tidb-server` (download from [tidb-master-linux-amd64](https://download.pingcap.org/tidb-master-linux-amd64.tar.gz)) - * `bin/tidb-lightning` (download from [tidb-toolkit-latest-linux-amd64](https://download.pingcap.org/tidb-toolkit-latest-linux-amd64.tar.gz)) + * `bin/sync_diff_inspector` (download from [tidb-enterprise-tools-latest-linux-amd64](https://download.pingcap.com/tidb-enterprise-tools-latest-linux-amd64.tar.gz)) + * `bin/tidb-server` (download from [tidb-master-linux-amd64](https://download.pingcap.com/tidb-master-linux-amd64.tar.gz)) + * `bin/tidb-lightning` (download from [tidb-toolkit-latest-linux-amd64](https://download.pingcap.com/tidb-toolkit-latest-linux-amd64.tar.gz)) * `bin/minio` (download from ) * Now, you can run `sh ./dumpling/install.sh` to get the above binary files. - The following programs must be installed: @@ -41,4 +41,4 @@ Building License ------- -Dumpling is under the Apache 2.0 license. See the [LICENSE](../LICENSE) file for details. +Dumpling is under the Apache 2.0 license. See the [LICENSE](../LICENSE) file for details. \ No newline at end of file diff --git a/dumpling/install.sh b/dumpling/install.sh index 6ab2b96feb132..54236b7b61cd8 100755 --- a/dumpling/install.sh +++ b/dumpling/install.sh @@ -20,7 +20,7 @@ esac # download lightning and sync_diff_inspector TOOLS_TAG="nightly" -wget http://download.pingcap.org/tidb-toolkit-$TOOLS_TAG-linux-$ARCH_SUFFIX.tar.gz -O tools.tar.gz +wget http://download.pingcap.com/tidb-toolkit-$TOOLS_TAG-linux-$ARCH_SUFFIX.tar.gz -O tools.tar.gz tar -xzvf tools.tar.gz mv tidb-toolkit-$TOOLS_TAG-linux-$ARCH_SUFFIX/bin/* bin/