Skip to content

attempt to run k8s in gha #7

attempt to run k8s in gha

attempt to run k8s in gha #7

Workflow file for this run

name: run k8s in a github action?
on:
workflow_dispatch:
pull_request:
branches:
- develop
jobs:
execute:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install Task
uses: arduino/setup-task@v2
- run: task setup-local-env
- name: setup k8s
uses: helm/[email protected]
- name: Verify k8s
run: |
kubectl cluster-info
kubectl get nodes
- name: deploy
run: |
kubectl create namespace languagedepot
kubectl apply -k ./deployment/local-dev
kubectl wait --for=condition=Ready --timeout=60s pod -l 'app in (lexbox, ui, hg, db)' -n languagedepot
- name: status
if: always()
run: kubectl get deployment/lexbox -n languagedepot