fix: use envs/add slash/change dir

This commit is contained in:
Naramsim 2024-06-03 07:15:06 +02:00
parent 5887254da9
commit c8457d1e63
3 changed files with 3 additions and 2 deletions

View file

@ -101,4 +101,4 @@ jobs:
kubectl wait --timeout=10020s --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
kubectl logs jobs/load-graphql

View file

@ -35,6 +35,7 @@ spec:
- apt-get update &&
apt-get install -y git curl &&
curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | VERSION=v2.36.4 bash &&
cd /tmp &&
git clone https://github.com/PokeAPI/pokeapi.git &&
cd pokeapi &&
git checkout $(POKEAPI_CHECKOUT_REF) | git checkout master &&

View file

@ -5,7 +5,7 @@ namespace: pokeapi
configMapGenerator:
- name: pokeapi-configmap
files:
envs:
- config/pokeapi.env
secretGenerator: