-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11223 from jcsp/rp-storage-tool
tools: import `rp-storage-tool`
- Loading branch information
Showing
41 changed files
with
10,042 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,15 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
dir="$1" | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
export PATH="$dir/.cargo/bin:${PATH}" | ||
pushd /tmp | ||
set -x | ||
|
||
pushd /tmp | ||
git clone https://github.com/redpanda-data/client-swarm.git | ||
|
||
pushd client-swarm | ||
git reset --hard 5610f614545ee34f593e1279b30ee9986959d9b0 | ||
cargo build --release | ||
cp target/release/client-swarm /usr/local/bin | ||
popd | ||
rm -rf client-swarm | ||
|
||
git clone https://github.com/jcsp/segment_toy.git | ||
pushd segment_toy | ||
git reset --hard b101a31927d48e513bec21ad500c048c91e7c192 | ||
cargo build --release | ||
cp target/release/rp-storage-tool /usr/local/bin | ||
popd | ||
rm -rf segment_toy | ||
|
||
rm -rf client-swarm | ||
popd | ||
rm -rf $dir/.cargo | ||
rm -rf $dir/.rustup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -e | ||
set -x | ||
|
||
cd /rp_storage_tool | ||
cargo build --release | ||
cp target/release/rp-storage-tool /usr/local/bin | ||
cd / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
set -x | ||
|
||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=1.70.0 -y |
Oops, something went wrong.