diff --git a/.github/workflows/k8s-action.yaml b/.github/workflows/k8s-action.yaml new file mode 100644 index 0000000000..7a796efae4 --- /dev/null +++ b/.github/workflows/k8s-action.yaml @@ -0,0 +1,25 @@ +name: run k8s in a github action? +on: + workflow_dispatch: + +jobs: + execute: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - name: setup k8s + uses: helm/kind-action@1.10.0 + - name: Verify k8s + run: | + kubectl cluster-info + kubectl get nodes + - name: deploy + run: | + kubectl apply -k ./deployment/develop + kubectl wait --for=condition=Ready --timeout=60s deployment/lexbox + - name: status + if: always() + run: kubectl get deployment/lexbox +