mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 14:14:17 +00:00
24 lines
595 B
YAML
24 lines
595 B
YAML
|
name: Create Cluster
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- 'master'
|
||
|
- 'staging'
|
||
|
|
||
|
jobs:
|
||
|
create-cluster:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
with:
|
||
|
submodules: recursive
|
||
|
- name: Create k8s Kind Cluster
|
||
|
uses: helm/kind-action@v1.1.0
|
||
|
- name: Test
|
||
|
run: |
|
||
|
kubectl cluster-info
|
||
|
kubectl get storageclass standard
|
||
|
cp Resources/k8s/kustomize/secrets/postgres.env.sample Resources/k8s/kustomize/secrets/postgres.env
|
||
|
kubectl apply -k Resources/k8s/kustomize/
|