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 13, 2024
1 parent e6fd114 commit 2ed63b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ jobs:
docker compose create
docker compose up -d
echo "waiting for docker system to start"
sleep 20
sleep 10
echo "Docker system presumably started ..."
- name: Check the image works fine
run: |
docker ps
docker cp docker_run-prometheusdbexporter-1:/usr/local/tomcat/logs ./test_container_logs
cat ./test_container_logs/*
wget -O test.prom http://localhost:8080/PrometheusDbExporter/metrics
cat test.prom
- name: stop docker
Expand Down

0 comments on commit 2ed63b8

Please sign in to comment.