Pipeline YouTube con relay, overlay e publisher sync lato backend; fix GL pauseGlDuringRotation su Android per evitare crash in rotazione durante lo streaming Flutter. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
591 B
Bash
Executable File
12 lines
591 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Test YouTube notturno sul server (retry fino a successo).
|
|
set -euo pipefail
|
|
HOST="${DEPLOY_HOST:-eminux@192.168.1.146}"
|
|
LOG="/tmp/youtube_e2e_overnight.log"
|
|
|
|
echo "Avvio test YouTube → $LOG"
|
|
ssh "$HOST" "docker cp /opt/matchlivetv/backend/lib/tasks/youtube_e2e.rake infra-rails-1:/app/lib/tasks/youtube_e2e.rake"
|
|
ssh "$HOST" "docker exec infra-rails-1 bin/rails runner \"Redis.new(url: ENV['REDIS_URL']).del('youtube_api:rate_limited_until')\""
|
|
ssh "$HOST" "nohup docker exec infra-rails-1 bin/rails youtube:e2e >> $LOG 2>&1 &"
|
|
echo "Monitor: ssh $HOST tail -f $LOG"
|