mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
workflow ci updates
This commit is contained in:
6
.github/workflows/gf.yml
vendored
6
.github/workflows/gf.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
# Redis backend server.
|
||||
redis:
|
||||
image : redis
|
||||
options: |
|
||||
options: >-
|
||||
--health-cmd "redis-cli ping"
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
@ -58,7 +58,7 @@ jobs:
|
||||
ports:
|
||||
- 5432:5432
|
||||
# Set health checks to wait until postgres has started
|
||||
options: |
|
||||
options: >-
|
||||
--health-cmd pg_isready
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
@ -75,7 +75,7 @@ jobs:
|
||||
MSSQL_PASSWORD: LoremIpsum86
|
||||
ports:
|
||||
- 1433:1433
|
||||
options: |
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user