mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
ci: fix mssql docker service starting failed (#3824)
This commit is contained in:
36
.github/workflows/ci-main.yml
vendored
36
.github/workflows/ci-main.yml
vendored
@ -32,7 +32,7 @@ env:
|
||||
|
||||
jobs:
|
||||
code-test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
# Service containers to run with `code-test`
|
||||
services:
|
||||
@ -113,24 +113,22 @@ jobs:
|
||||
# -e MSSQL_USER=root \
|
||||
# -e MSSQL_PASSWORD=LoremIpsum86 \
|
||||
# loads/mssqldocker:14.0.3391.2
|
||||
|
||||
# TODO mssql docker failed, will be enabled later after it is OK in github action.
|
||||
# mssql:
|
||||
# image: loads/mssqldocker:14.0.3391.2
|
||||
# env:
|
||||
# ACCEPT_EULA: Y
|
||||
# SA_PASSWORD: LoremIpsum86
|
||||
# MSSQL_DB: test
|
||||
# MSSQL_USER: root
|
||||
# MSSQL_PASSWORD: LoremIpsum86
|
||||
# ports:
|
||||
# - 1433:1433
|
||||
# options: >-
|
||||
# --health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P LoremIpsum86 -l 30 -Q \"SELECT 1\" || exit 1"
|
||||
# --health-start-period 10s
|
||||
# --health-interval 10s
|
||||
# --health-timeout 5s
|
||||
# --health-retries 10
|
||||
mssql:
|
||||
image: loads/mssqldocker:14.0.3391.2
|
||||
env:
|
||||
ACCEPT_EULA: Y
|
||||
SA_PASSWORD: LoremIpsum86
|
||||
MSSQL_DB: test
|
||||
MSSQL_USER: root
|
||||
MSSQL_PASSWORD: LoremIpsum86
|
||||
ports:
|
||||
- 1433:1433
|
||||
options: >-
|
||||
--health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P LoremIpsum86 -l 30 -Q \"SELECT 1\" || exit 1"
|
||||
--health-start-period 10s
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 10
|
||||
|
||||
# ClickHouse backend server.
|
||||
# docker run -d --name clickhouse \
|
||||
|
||||
Reference in New Issue
Block a user