File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments