1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

update CLI test to test against 1.5 sample policies

Signed-off-by: ShutingZhao <shuting@nirmata.com>
This commit is contained in:
ShutingZhao 2022-01-05 18:59:38 +08:00 committed by shuting
parent d79e9ff618
commit 4f301da57d

View file

@ -243,7 +243,7 @@ test-e2e-local:
#Test TestCmd Policy
test-cmd: cli
$(PWD)/$(CLI_PATH)/kyverno test https://github.com/kyverno/policies/main
$(PWD)/$(CLI_PATH)/kyverno test https://github.com/kyverno/policies/release-1.5
$(PWD)/$(CLI_PATH)/kyverno test ./test/cli/test-mutate
$(PWD)/$(CLI_PATH)/kyverno test ./test/cli/test
$(PWD)/$(CLI_PATH)/kyverno test ./test/cli/test-fail/missing-policy && exit 1 || exit 0