fleet/tools/backup_db/restore_e2e_software_test.sh

6 lines
197 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
docker run --rm -i --network fleet_default mysql:5.7 bash -c 'gzip -kdc - | mysql -hmysql_test -uroot -ptoor e2e' < tools/testdata/e2e_software_test.sql.gz