fix drone mssql

This commit is contained in:
Lunny Xiao 2018-10-09 15:13:01 +08:00
parent 8870afedb7
commit 5134e619c7
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ pipeline:
init_mssql: init_mssql:
image: microsoft/mssql-server-linux:2017-CU11 image: microsoft/mssql-server-linux:2017-CU11
commands: commands:
- echo 'CREATE DATABASE xorm_test' > create.sql - echo 'CREATE DATABASE xorm_test' > ./create.sql
- /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "yourStrong(!)Password" -i "create.sql" - /opt/mssql-tools/bin/sqlcmd -S mssql -U sa -P "yourStrong(!)Password" -i ./create.sql
build: build:
image: golang:${GO_VERSION} image: golang:${GO_VERSION}