mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +00:00
fix: use envs/add slash/change dir
This commit is contained in:
parent
5887254da9
commit
c8457d1e63
3 changed files with 3 additions and 2 deletions
2
.github/workflows/docker-k8s.yml
vendored
2
.github/workflows/docker-k8s.yml
vendored
|
@ -101,4 +101,4 @@ jobs:
|
||||||
kubectl wait --timeout=10020s --for=condition=complete job/load-graphql
|
kubectl wait --timeout=10020s --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
|
kubectl logs jobs/load-graphql
|
||||||
|
|
|
@ -35,6 +35,7 @@ spec:
|
||||||
- apt-get update &&
|
- apt-get update &&
|
||||||
apt-get install -y git curl &&
|
apt-get install -y git curl &&
|
||||||
curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | VERSION=v2.36.4 bash &&
|
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 &&
|
git clone https://github.com/PokeAPI/pokeapi.git &&
|
||||||
cd pokeapi &&
|
cd pokeapi &&
|
||||||
git checkout $(POKEAPI_CHECKOUT_REF) | git checkout master &&
|
git checkout $(POKEAPI_CHECKOUT_REF) | git checkout master &&
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace: pokeapi
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: pokeapi-configmap
|
- name: pokeapi-configmap
|
||||||
files:
|
envs:
|
||||||
- config/pokeapi.env
|
- config/pokeapi.env
|
||||||
|
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
|
|
Loading…
Reference in a new issue