ci: reduce setup time

This commit is contained in:
Nugine
2025-03-02 02:14:41 +08:00
parent 34dc49c2f5
commit 6dbf7d8d65
2 changed files with 23 additions and 87 deletions

View File

@@ -3,9 +3,20 @@ BIN=$1
VOLUME=$2
chmod +x $BIN
sudo mkdir -p $VOLUME
mkdir -p $VOLUME
export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug,iam=debug"
export RUST_BACKTRACE=full
$BIN $VOLUME > /tmp/rustfs.log 2>&1 &
sudo nohup $BIN $VOLUME > /tmp/rustfs.log 2>&1 &
sleep 10
export AWS_ACCESS_KEY_ID=rustfsadmin
export AWS_SECRET_ACCESS_KEY=rustfsadmin
export AWS_REGION=us-east-1
export AWS_ENDPOINT_URL=http://localhost:9000
export RUST_LOG="s3s_e2e=debug,s3s_test=info,s3s=debug"
export RUST_BACKTRACE=full
s3s-e2e
killall $BIN