mirror of
https://github.com/IgorKha/Grafana-Mikrotik.git
synced 2025-12-06 02:19:28 +00:00
fix actions
This commit is contained in:
parent
aafa4316d5
commit
0e616af363
1 changed files with 4 additions and 4 deletions
8
.github/workflows/action.yml
vendored
8
.github/workflows/action.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: "run.sh"
|
path: "run.sh"
|
||||||
severity: "warning, error"
|
severity: "warning, error"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: test
|
name: test
|
||||||
needs: lint
|
needs: lint
|
||||||
|
|
@ -22,12 +22,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: deploy with sh script
|
- name: deploy with sh script
|
||||||
run: curl -fsSL https://raw.githubusercontent.com/IgorKha/Grafana-Mikrotik/master/run.sh | bash -s --
|
run: curl -fsSL https://raw.githubusercontent.com/IgorKha/Grafana-Mikrotik/master/run.sh | bash -s --
|
||||||
|
|
||||||
- name: Test Grafana
|
- 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
|
- name: Test Prometheus
|
||||||
run: curl -GLsS --retry 5 --retry-delay 2 "http://localhost:9090/-/ready"
|
run: curl -GLsS --retry 5 --retry-delay 2 "http://localhost:9090/-/ready"
|
||||||
|
|
||||||
- name: Test snmp_exporter
|
- name: Test snmp_exporter
|
||||||
run: curl -ILsS --retry 5 --retry-delay 2 "http://localhost:9116"
|
run: curl -ILsS --retry 5 --retry-delay 2 "http://localhost:9116"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue