mirror of
https://github.com/PokeAPI/pokeapi
synced 2025-02-16 20:48:25 +00:00
chore: test gql with a greater timeout
This commit is contained in:
parent
5575d2476a
commit
a328c161ac
1 changed files with 6 additions and 3 deletions
5
.github/workflows/kustomize.yml
vendored
5
.github/workflows/kustomize.yml
vendored
|
@ -1,6 +1,9 @@
|
||||||
name: Deploy Kustomize k8s cluster
|
name: Deploy Kustomize k8s cluster
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'kustomize-test'
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Build and Push Docker image"]
|
workflows: ["Build and Push Docker image"]
|
||||||
branches: [master, staging]
|
branches: [master, staging]
|
||||||
|
@ -45,6 +48,6 @@ jobs:
|
||||||
bash Resources/scripts/wait.sh http://localhost:8001/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/pal-park-area/5/
|
bash Resources/scripts/wait.sh http://localhost:8001/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/pal-park-area/5/
|
||||||
- name: K8s Apply
|
- name: K8s Apply
|
||||||
run: |
|
run: |
|
||||||
kubectl wait --timeout=120s --for=condition=complete job/load-graphql
|
kubectl wait --timeout=240s --for=condition=complete job/load-graphql
|
||||||
last_command=$(kubectl get job -o jsonpath='{.status.succeeded}' load-graphql)
|
last_command=$(kubectl get job -o jsonpath='{.status.succeeded}' load-graphql)
|
||||||
test "$last_command" -eq 1
|
test "$last_command" -eq 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue