diff --git a/.github/workflows/conformance-tests.yaml b/.github/workflows/conformance-tests.yaml index 48e1c96..ae2a324 100644 --- a/.github/workflows/conformance-tests.yaml +++ b/.github/workflows/conformance-tests.yaml @@ -84,9 +84,8 @@ jobs: set -e set -e export HELM=${{ steps.helm.outputs.helm-path }} - helm repo add kyverno https://kyverno.github.io/kyverno/ - kubectl create namespace kyverno - helm install kyverno --namespace kyverno kyverno/kyverno --set features.policyExceptions.enabled=true --set features.policyExceptions.namespace='*' + curl https://raw.githubusercontent.com/kyverno/kyverno/refs/heads/main/scripts/config/standard/kyverno.yaml > values.yaml + helm install kyverno -n kyverno --create-namespace ./kyverno/charts/kyverno --wait --values values.yaml - name: Wait for kyverno ready run: | set -e @@ -102,7 +101,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | set -e - cd ./kyverno/test/conformance/chainsaw && chainsaw test --config ./../../../../.chainsaw.yaml --include-test-regex '^chainsaw$/${{ matrix.tests }}' --no-color=false + cd ./kyverno/test/conformance/chainsaw && chainsaw test --config ./../../../../.chainsaw.yaml --include-test-regex '^chainsaw$/${{ matrix.tests }}' --exclude-test-regex '^chainsaw/reports/admission/label$' - name: Debug failure if: failure() uses: ./.github/actions/failure-logs diff --git a/.github/workflows/migration-tests.yaml b/.github/workflows/migration-tests.yaml index 5a1e5e7..f7323b9 100644 --- a/.github/workflows/migration-tests.yaml +++ b/.github/workflows/migration-tests.yaml @@ -74,9 +74,8 @@ jobs: run: | set -e export HELM=${{ steps.helm.outputs.helm-path }} - helm repo add kyverno https://kyverno.github.io/kyverno/ - kubectl create namespace kyverno - helm install kyverno --namespace kyverno kyverno/kyverno --set features.policyExceptions.enabled=true --set features.policyExceptions.namespace='*' + curl https://raw.githubusercontent.com/kyverno/kyverno/refs/heads/main/scripts/config/standard/kyverno.yaml > values.yaml + helm install kyverno -n kyverno --create-namespace ./kyverno/charts/kyverno --wait --values values.yaml - name: Wait for kyverno ready run: | set -e @@ -116,7 +115,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | set -e - cd ./kyverno/test/conformance/chainsaw && chainsaw test --config ./../../../../.chainsaw.yaml --include-test-regex '^chainsaw$/${{ matrix.tests }}' --no-color=false + cd ./kyverno/test/conformance/chainsaw && chainsaw test --config ./../../../../.chainsaw.yaml --include-test-regex '^chainsaw$/${{ matrix.tests }}' --exclude-test-regex '^chainsaw$/^reports$/^admission$/^label$' - name: Debug failure if: failure() uses: ./.github/actions/failure-logs