@@ -0,0 +1,18 @@
|
||||
name: k8s smoke test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Test kubectl connectivity
|
||||
run: |
|
||||
kubectl --kubeconfig ${{ secrets.KUBECONFIG }} get nodes
|
||||
Reference in New Issue
Block a user