mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-16 04:45:49 +00:00
fix pipeline.yml syntax
This commit is contained in:
parent
6233b03066
commit
2ff0bfecc9
1 changed files with 10 additions and 10 deletions
20
.github/workflows/pipeline.yml
vendored
20
.github/workflows/pipeline.yml
vendored
|
@ -15,21 +15,21 @@ jobs:
|
||||||
image: prom/prometheus:latest
|
image: prom/prometheus:latest
|
||||||
ports:
|
ports:
|
||||||
- 9090:9090
|
- 9090:9090
|
||||||
healthcheck:
|
options: >-
|
||||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:9090/-/healthy"]
|
--health-cmd "wget -q -O- http://localhost:9090/-/healthy"
|
||||||
interval: 10s
|
--health-interval 10s
|
||||||
timeout: 5s
|
--health-timeout 5s
|
||||||
retries: 3
|
--health-retries 3
|
||||||
|
|
||||||
pushgateway:
|
pushgateway:
|
||||||
image: prom/pushgateway:latest
|
image: prom/pushgateway:latest
|
||||||
ports:
|
ports:
|
||||||
- 9091:9091
|
- 9091:9091
|
||||||
healthcheck:
|
options: >-
|
||||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:9091/-/healthy"]
|
--health-cmd "wget -q -O- http://localhost:9091/-/healthy"
|
||||||
interval: 10s
|
--health-interval 10s
|
||||||
timeout: 5s
|
--health-timeout 5s
|
||||||
retries: 3
|
--health-retries 3
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
Loading…
Reference in a new issue