mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 12:31:52 +03:00
15071a3bc9
Relates to https://github.com/hasura/graphql-engine/issues/7755 This includes: 1. SQL Server 2. Citus And removes the persistent-based testing in favor of duplicating the schema setup, data insertion and teardown. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3030 Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com> GitOrigin-RevId: ab03e68436d2ae07a9ddeb5a499ff41e48d0e2d6
12 lines
293 B
Bash
Executable File
12 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo 'Attempting to run script (10 times max)'
|
|
|
|
sleep 5
|
|
for i in 1 2 3 4 5 6 7 8 9 10; do
|
|
echo Will wait 5 seconds if this fails ...
|
|
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P "DockerComposePassword!" -i init.sql && break || sleep 5;
|
|
done
|
|
|
|
echo Finished attempts.
|