fix: Add loki readiness probe to CI
This commit is contained in:
parent
9520670d97
commit
5acf6a8bdc
8
.github/workflows/go-tests.yml
vendored
8
.github/workflows/go-tests.yml
vendored
|
@ -112,7 +112,13 @@ jobs:
|
||||||
image: grafana/loki:2.8.0
|
image: grafana/loki:2.8.0
|
||||||
ports:
|
ports:
|
||||||
- "3100:3100"
|
- "3100:3100"
|
||||||
command: -config.file=/etc/loki/local-config.yaml
|
options: >-
|
||||||
|
--name=loki1
|
||||||
|
--health-cmd "curl -f http://localhost:3100/ready"
|
||||||
|
--health-interval 30s
|
||||||
|
--health-timeout 10s
|
||||||
|
--health-retries 5
|
||||||
|
--health-start-period 30s
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
|
@ -82,4 +82,3 @@ services:
|
||||||
image: grafana/loki:2.8.0
|
image: grafana/loki:2.8.0
|
||||||
ports:
|
ports:
|
||||||
- "3100:3100"
|
- "3100:3100"
|
||||||
command: -config.file=/etc/loki/local-config.yaml
|
|
||||||
|
|
Loading…
Reference in a new issue