obch/.github/workflows/setup-cluster.yml
2024-01-11 22:37:42 +01:00

38 lines
740 B
YAML

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:
- name: Checkout code
uses: actions/checkout@v3
- name: Install podman
run: sudo apt install podman -y
- name: Start minikube
id: minikube
uses: medyagh/setup-minikube@latest
- name: kubectl
run: kubectl get pods -A -o wide
- shell: bash
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
./run.sh
- name: kubectl
run: |
kubectl get pods -A -o wide && \
kubectl get helmrelease -A