Skip to content

Commit 3cc1398

Browse files
committed
check cluster status
Signed-off-by: JeffMboya <[email protected]>
1 parent 64882c6 commit 3cc1398

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ jobs:
3030
with:
3131
version: v3.15.4
3232

33+
- name: Set up Kubectl
34+
uses: azure/setup-kubectl@v1
35+
with:
36+
version: v4.0.0
37+
id: install_kubectl
38+
39+
- name: Check if Kubernetes cluster is running
40+
run: |
41+
kubectl get all
42+
continue-on-error: false
43+
if: ${{ steps.install_kubectl.outcome == 'success' }} # Check if kubectl setup succeeded
44+
3345
- name: Add Dependencies
3446
run: |
3547
helm repo add stable https://charts.helm.sh/stable

0 commit comments

Comments
 (0)