veza/tmt/tests/services/rust_audit.sh
senke a3f4ac6b70 fix: sync E2E tests with seed data + i18n fix
- Update E2E test credentials to match actual seed users
  (user@veza.music, artist@veza.music, admin@veza.music, mod@veza.music)
- Fix hardcoded "Suggested Accounts" in SuggestionsWidget with i18n key
- Replace hardcoded amelie_dubois references with CONFIG.users.creator
- Refactor auth, player, upload E2E tests for reliability
- Add tmt test plans and scripts for CI integration
- Simplify CI workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 19:42:03 +02:00

22 lines
420 B
Bash
Executable file

#!/bin/bash
set -e
REPO_ROOT=$(git rev-parse --show-toplevel)
STREAM_DIR="$REPO_ROOT/veza-stream-server"
echo "Rust Security Audit (cargo audit)"
if ! command -v cargo-audit &>/dev/null; then
echo "Installing cargo-audit..."
cargo install cargo-audit
fi
if [ -d "$STREAM_DIR" ]; then
cd "$STREAM_DIR"
cargo audit
else
echo "Stream Server directory not found!"
exit 1
fi
echo "Audit passed."