mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +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
|
||||
last_command=$(kubectl get job -o jsonpath='{.status.succeeded}' load-graphql)
|
||||
test "$last_command" -eq 1
|
||||
kubectl logs jobs load-graphql
|
||||
|
|
|
@ -25,9 +25,11 @@ spec:
|
|||
secretKeyRef:
|
||||
name: graphql-env-secret
|
||||
key: HASURA_GRAPHQL_ADMIN_SECRET
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: pokeapi-configmap
|
||||
- name: POKEAPI_CHECKOUT_REF
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: pokeapi-configmap
|
||||
key: POKEAPI_CHECKOUT_REF
|
||||
command: ["sh", "-c"]
|
||||
args:
|
||||
- apt-get update &&
|
||||
|
|
Loading…
Reference in a new issue