From 2ff0bfecc9965000b903fcb02c22f0436da932d8 Mon Sep 17 00:00:00 2001 From: lamya1baidouri Date: Mon, 3 Feb 2025 11:31:59 +0100 Subject: [PATCH] fix pipeline.yml syntax --- .github/workflows/pipeline.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 97e9e0ee5..8287e7ecf 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -15,21 +15,21 @@ jobs: image: prom/prometheus:latest ports: - 9090:9090 - healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:9090/-/healthy"] - interval: 10s - timeout: 5s - retries: 3 + options: >- + --health-cmd "wget -q -O- http://localhost:9090/-/healthy" + --health-interval 10s + --health-timeout 5s + --health-retries 3 pushgateway: image: prom/pushgateway:latest ports: - 9091:9091 - healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:9091/-/healthy"] - interval: 10s - timeout: 5s - retries: 3 + options: >- + --health-cmd "wget -q -O- http://localhost:9091/-/healthy" + --health-interval 10s + --health-timeout 5s + --health-retries 3 steps: - uses: actions/checkout@v4