mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-13 23:37:06 +00:00
test: display logs/use direct cf key
This commit is contained in:
parent
92e8671b8e
commit
c850b6e118
2 changed files with 6 additions and 3 deletions
1
.github/workflows/docker-k8s.yml
vendored
1
.github/workflows/docker-k8s.yml
vendored
|
@ -101,3 +101,4 @@ jobs:
|
||||||
kubectl wait --timeout=1020s --for=condition=complete job/load-graphql
|
kubectl wait --timeout=1020s --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
|
||||||
|
kubectl logs jobs load-graphql
|
||||||
|
|
|
@ -25,9 +25,11 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: graphql-env-secret
|
name: graphql-env-secret
|
||||||
key: HASURA_GRAPHQL_ADMIN_SECRET
|
key: HASURA_GRAPHQL_ADMIN_SECRET
|
||||||
envFrom:
|
- name: POKEAPI_CHECKOUT_REF
|
||||||
- configMapRef:
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
name: pokeapi-configmap
|
name: pokeapi-configmap
|
||||||
|
key: POKEAPI_CHECKOUT_REF
|
||||||
command: ["sh", "-c"]
|
command: ["sh", "-c"]
|
||||||
args:
|
args:
|
||||||
- apt-get update &&
|
- apt-get update &&
|
||||||
|
|
Loading…
Reference in a new issue