File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -10,27 +10,28 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - name : Checkout code
13+ - name : Checkout Repository
1414 uses : actions/checkout@v4
1515
16- - name : Run docker compose
17- run : |
18- docker compose up -d
16+ - name : Start Docker Compose
17+ run : docker compose up -d
1918
20- - name : Shutdown after 3 minutes
21- run : |
22- sleep 180
23- docker compose logs > logs.txt
19+ - name : Wait for System to Run
20+ run : sleep 180
2421
25- - name : Upload logs
22+ - name : Capture Docker Logs
23+ run : docker compose logs > logs.txt
24+
25+ - name : Upload Logs as Artifact
2626 uses : actions/upload-artifact@v4
2727 if : always()
2828 with :
2929 name : fluid-builder-compose-logs
3030 path : logs.txt
3131
32- - name : Count messages received
32+ - name : Count Messages Received (with Status)
3333 run : |
34+ echo "Analyzing message counts from logs..."
3435 awk '
3536 /example-receive[[:space:]]*\|[[:space:]]*1-Received:/ {c1++}
3637 /example-receive[[:space:]]*\|[[:space:]]*2-Received:/ {c2++}
4344 }
4445 ' logs.txt
4546
46- - name : Stop and remove containers
47- run : |
48- docker compose down -v
47+ - name : Cleanup - Stop and Remove Containers
48+ run : docker compose down -v
You can’t perform that action at this time.
0 commit comments