fix pipeline.yml syntax

This commit is contained in:
lamya1baidouri 2025-02-03 11:31:59 +01:00
parent 6233b03066
commit 2ff0bfecc9

View file

@ -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