obch/.github/workflows/setup-cluster.yml

38 lines
740 B
YAML
Raw Permalink Normal View History

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
2024-01-11 21:37:42 +00:00
- shell: bash
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
2024-01-10 22:36:10 +00:00
run: |
./run.sh
- name: kubectl
run: |
kubectl get pods -A -o wide && \
kubectl get helmrelease -A