Skip to content

Commit b5054fe

Browse files
committed
inspect
1 parent 2986d3d commit b5054fe

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/payload_filter.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ jobs:
1919
docker-compose up --build -d
2020
sleep 5
2121
env
22+
docker ps -a
2223
./inspect.sh
2324
../testing/test.sh ./about

payload_filter/inspect.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/sh
22

3-
function tryit {
4-
echo "$1 is ready on port $2 ?";
5-
curl http://localhost:$2 | grep "$3" | wc -l
6-
}
3+
echo "good ready?"
4+
curl http://localhost:5015
75

8-
tryit good 5015 "matching"
9-
tryit nope 5066 "not matching"
10-
tryit nginx 8080/ping "pong"
6+
echo "nope ready?"
7+
curl http://localhost:5066
8+
9+
echo "nginx ready?"
10+
curl http://localhost:8080/ping

0 commit comments

Comments
 (0)