New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial test for installing SQL server for Travis tests #8076
Conversation
An attempt to port OSGeo/gdal@121b330 so that we can run SQL server provider tests on Travis too. |
.ci/travis/linux/before_install.sh
Outdated
docker pull microsoft/mssql-server-linux:2017-latest | ||
sudo docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=DummyPassw0rd' -p 1433:1433 --name sql1 -d microsoft/mssql-server-linux:2017-latest | ||
sleep 10 | ||
docker exec -it sql1 /opt/mssql-tools/bin/sqlcmd -l 30 -S localhost -U SA -P DummyPassw0rd -Q "CREATE DATABASE TestDB;" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this part should go into docker-compose.travis.yml
5fe3607
to
b35662d
Compare
echo "Importing SQL Server test data..." | ||
|
||
export SQLUSER=sa | ||
export SQLHOST=localhost |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SQLHOST=sqlserver
?
e79062d
to
4af8a38
Compare
No description provided.