Skip to content

Commit ded7eee

Browse files
committed
blep
1 parent 8e9cb4c commit ded7eee

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/docker-k8s.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
make kustomize-ga-apply
8686
kubectl proxy &
8787
sleep 1
88-
bash Resources/scripts/wait.sh http://localhost/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/
88+
bash Resources/scripts/wait.sh http://localhost:8001/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/
8989
- name: Set default namespace and print info
9090
run: |
9191
kubectl config set-context --current --namespace pokeapi
@@ -94,7 +94,7 @@ jobs:
9494
run: |
9595
make k8s-migrate
9696
make k8s-build-db
97-
bash Resources/scripts/wait.sh http://localhost/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/pal-park-area/5/
97+
bash Resources/scripts/wait.sh http://localhost:8001/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/pal-park-area/5/
9898
- name: K8s wait for job
9999
run: |
100100
kubectl wait --timeout=600s --for=condition=complete job/load-graphql

Resources/scripts/wait.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ wait_for_http() {
1313
success='true'
1414
break
1515
fi
16+
echo "$(curl -s -o /dev/null -L -w '%{http_code}' "$url")"
1617
done
1718
if [ "$success" = 'true' ]; then
1819
exit 0

0 commit comments

Comments
 (0)