summaryrefslogtreecommitdiff
path: root/azure/mssql.yml
diff options
context:
space:
mode:
authorAdam Baratz <adambaratz@php.net>2021-01-11 21:46:41 -0500
committerAdam Baratz <adambaratz@php.net>2021-01-11 21:46:41 -0500
commitb5696980954007c75ca7fa1627897dfafb3d7fd7 (patch)
tree111fe83ed2a03c3d5a412af3a50682755dac77d7 /azure/mssql.yml
parent65c789148b72e62d22fb23abaa1e0c97ba74c6da (diff)
downloadphp-git-b5696980954007c75ca7fa1627897dfafb3d7fd7.tar.gz
Add MSSQL setup to Azure Pipelines build
Diffstat (limited to 'azure/mssql.yml')
-rw-r--r--azure/mssql.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/azure/mssql.yml b/azure/mssql.yml
new file mode 100644
index 0000000000..09b2af9617
--- /dev/null
+++ b/azure/mssql.yml
@@ -0,0 +1,5 @@
+# this template should be included close to the beginning, before setup.yml
+# the container needs time to come up or the sqlcmd operation in setup.yml will have a login timeout
+steps:
+ - script: docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=<YourStrong@Passw0rd>" -p 1433:1433 --name sql1 -h sql1 -d mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04
+ displayName: 'Start MSSQL container'