Skip to content

Kyverno Chainsaw Test Suite #22

Kyverno Chainsaw Test Suite

Kyverno Chainsaw Test Suite #22

name: tests-cluster-chainsaw
on:
pull_request:
branches-ignore:
- 'gh-pages'
jobs:
test-cluster-standalone:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Setup kind
uses: ./.github/actions/setup-kind
- name: Deploy the operator
uses: ./.github/actions/deploy-operator
- name: Install Prometheus CRDs
run: |
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm install prometheus-crds prometheus-community/prometheus-operator-crds
- name: Install Chainsaw
uses: kyverno/[email protected]
- name: Setup MinIO
run: |
helm repo add minio-operator https://operator.min.io
helm upgrade \
--install \
--namespace minio-system \
--create-namespace \
--wait \
operator minio-operator/operator
helm upgrade \
--install \
--namespace minio \
--create-namespace \
--wait \
--values ./.github/minio.yaml \
tenant minio-operator/tenant
- name: Run Kyverno/Chainsaw
run: chainsaw test