add PGDBNAME to database-ping-test #320
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests-cluster-chainsaw | |
on: | |
pull_request: | |
branches-ignore: | |
- 'gh-pages' | |
jobs: | |
test-cluster-standalone: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Install Cosign | |
uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.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/action-install-chainsaw@f2b47b97dc889c12702113753d713f01ec268de5 # v0.2.12 | |
with: | |
verify: true | |
- 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 |