2024-01-07 20:03:28 +00:00
|
|
|
name: Setup cluster
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
branches:
|
|
|
|
- '**'
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
branches:
|
|
|
|
- '**'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
setup-cluster:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-01-10 22:36:10 +00:00
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v3
|
2024-01-10 23:10:37 +00:00
|
|
|
- name: Install podman
|
|
|
|
run: sudo apt install podman -y
|
2024-01-10 22:36:10 +00:00
|
|
|
- name: Start minikube
|
|
|
|
id: minikube
|
|
|
|
uses: medyagh/setup-minikube@latest
|
|
|
|
- name: kubectl
|
|
|
|
run: kubectl get pods -A -o wide
|
|
|
|
- name: Setup cluster
|
|
|
|
run: |
|
|
|
|
./run.sh
|
|
|
|
- name: kubectl
|
|
|
|
run: |
|
|
|
|
kubectl get pods -A -o wide && \
|
|
|
|
kubectl get helmrelease -A
|