Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions br/tests/download_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/"
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions dumpling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,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](http://download.pingcap.com/tidb-enterprise-tools-latest-linux-amd64.tar.gz))
Comment thread
wuhuizuo marked this conversation as resolved.
Outdated
* `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 <https://min.io/download>)
* Now, you can run `sh ./dumpling/install.sh` to get the above binary files.
- The following programs must be installed:
Expand Down
6 changes: 5 additions & 1 deletion dumpling/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ mkdir -p bin/

# download lightning and sync_diff_inspector
TOOLS_TAG="nightly"
wget http://download.pingcap.org/tidb-toolkit-$TOOLS_TAG-linux-amd64.tar.gz -O tools.tar.gz
<<<<<<< HEAD
wget http://download.pingcap.com/tidb-toolkit-$TOOLS_TAG-linux-amd64.tar.gz -O tools.tar.gz
Comment thread
wuhuizuo marked this conversation as resolved.
Outdated
=======
wget http://download.pingcap.com/tidb-toolkit-$TOOLS_TAG-linux-$ARCH_SUFFIX.tar.gz -O tools.tar.gz
>>>>>>> 2caf3752b (docs: replace deprecated PingCAP domains)
tar -xzvf tools.tar.gz
mv tidb-toolkit-$TOOLS_TAG-linux-amd64/bin/* bin/

Expand Down
Loading