ci: fix e2e tests

This commit is contained in:
Nugine
2025-02-26 14:20:05 +08:00
parent 7f89b2a0ea
commit 0a01113c83
4 changed files with 146 additions and 153 deletions

11
scripts/e2e-run.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash -ex
BIN=$1
VOLUME=$2
chmod +x $BIN
sudo mkdir -p $VOLUME
export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug,iam=debug"
export RUST_BACKTRACE=full
sudo nohup $BIN $VOLUME > /tmp/rustfs.log 2>&1 &