From 0e616af3637c4f57cb48d3a81f5aff650f07787b Mon Sep 17 00:00:00 2001 From: IgorKha Date: Wed, 27 Jul 2022 16:15:37 +0300 Subject: [PATCH] fix actions --- .github/workflows/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 323b423..a23abc7 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -14,7 +14,7 @@ jobs: with: path: "run.sh" severity: "warning, error" - + test: name: test needs: lint @@ -22,12 +22,12 @@ jobs: steps: - name: deploy with sh script run: curl -fsSL https://raw.githubusercontent.com/IgorKha/Grafana-Mikrotik/master/run.sh | bash -s -- - + - name: Test Grafana - run: sleep 5 && curl -GLsS --retry 5 --retry-delay 2 "http://localhost:3000/api/health" + run: sleep 5 && curl -GLsS --retry 5 --retry-all-errors --retry-delay 2 'http://localhost:3000/api/health' - name: Test Prometheus run: curl -GLsS --retry 5 --retry-delay 2 "http://localhost:9090/-/ready" - + - name: Test snmp_exporter run: curl -ILsS --retry 5 --retry-delay 2 "http://localhost:9116"