File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -37,18 +37,18 @@ jobs:
3737
3838 - name : Start cloud-provider-kind
3939 run : |
40- cloud-provider-kind &
40+ cloud-provider-kind > cloud_provider_output.log 2>&1 &
4141 echo "Started cloud-provider-kind"
42- sleep 10
42+ sleep 40
4343
4444 - name : Find port mapping for service
4545 run : |
46- echo "Checking Docker containers for port mappings..."
47- docker ps
48-
49- HOST_PORT=$(docker ps --format '{{.Ports}}' | grep -o '[0-9]\+->5000/tcp' | cut -d':' -f2 | cut -d'-' -f1 || echo "")
50-
51- echo "SERVICE_URL=http://localhost:$HOST_PORT" >> $GITHUB_ENV
46+ echo "Checking Docker containers for port mappings..."
47+ docker ps
48+
49+ HOST_PORT=$(docker ps --format '{{.Ports}}' | grep -o '[0-9]\+->5000/tcp' | cut -d':' -f2 | cut -d'-' -f1 || echo "")
50+
51+ echo "SERVICE_URL=http://localhost:$HOST_PORT" >> $GITHUB_ENV
5252
5353 - name : Send GET request and check response
5454 run : |
You can’t perform that action at this time.
0 commit comments