Skip to content

Commit

Permalink
Remove validate (no longer supported) and remove explicit ats cluster…
Browse files Browse the repository at this point in the history
… version
  • Loading branch information
stone-z authored Nov 4, 2024
1 parent 18b84ca commit 15e84d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
1 change: 0 additions & 1 deletion .ats/main.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
external-cluster-kubeconfig-path: kube.config
external-cluster-type: kind
external-cluster-version: v1.29.8
functional-tests-cluster-type: external
skip-steps: [functional, upgrade]
smoke-tests-cluster-type: external
Expand Down
24 changes: 1 addition & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,6 @@ jobs:
command: |
make verify
validate:
machine:
image: ubuntu-2204:current
environment:
KYVERNO_VERSION: v1.12.6
steps:
- checkout
- run:
name: Download kyverno cli
command: |
curl -sL https://github.com/kyverno/kyverno/releases/download/${KYVERNO_VERSION}/kyverno-cli_${KYVERNO_VERSION}_linux_x86_64.tar.gz | tar -xz -m kyverno && chmod +x kyverno && sudo mv kyverno /usr/bin
- run:
name: Validate policies
command: |
kyverno validate ./policies
test-policies:
machine:
image: ubuntu-2204:current
Expand Down Expand Up @@ -105,13 +89,7 @@ jobs:
workflows:
workflow:
jobs:
# - verify:
# # Needed to trigger job also on git tag.
# filters:
# tags:
# only: /^v.*/

- validate:
- verify:
# Needed to trigger job also on git tag.
filters:
tags:
Expand Down

0 comments on commit 15e84d6

Please sign in to comment.