Skip to content

Commit

Permalink
Update docker_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ademarcqrtsl authored Nov 14, 2024
1 parent feae3d3 commit 58552b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
run: |
docker ps
docker cp docker_run-prometheusdbexporter-1:/usr/local/tomcat/logs ./test_container_logs
docker exec -it "docker_run-prometheusdbexporter-1" apt-get update -y
docker exec -it "docker_run-prometheusdbexporter-1" apt-get install -y iputils-ping
docker exec -it "docker_run-prometheusdbexporter-1" ping -c 4 database
docker exec "docker_run-prometheusdbexporter-1" apt-get update -y
docker exec "docker_run-prometheusdbexporter-1" apt-get install -y iputils-ping
docker exec "docker_run-prometheusdbexporter-1" ping -c 4 database
cat ./test_container_logs/*
wget -O test.prom http://localhost:8080/PrometheusDbExporter/metrics
cat test.prom
Expand Down

0 comments on commit 58552b7

Please sign in to comment.