From 07227fef63a06f025aff9fd9e9bac3c8941fc6c6 Mon Sep 17 00:00:00 2001 From: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com> Date: Tue, 30 Apr 2024 19:55:58 +0530 Subject: [PATCH] Move Chainsaw test at cert-manager/limit-dnsnames to dedicated folder (#959) * refactoring tests Signed-off-by: mohamedasifs123 * Update chainsaw-test.yaml Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com> * Create chainsaw-step-01-assert-2.yaml Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com> * Create chainsaw-step-01-assert-2.yaml Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com> * Delete cert-manager/limit-dnsnames/.chainsaw-test/cert-manager/limit-dnsnames/chainsaw-step-01-assert-2.yaml Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com> --------- Signed-off-by: mohamedasifs123 Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com> Co-authored-by: Chip Zoller --- cert-manager/limit-dnsnames/{ => .chainsaw-test}/cert-bad.yaml | 0 cert-manager/limit-dnsnames/{ => .chainsaw-test}/cert-good.yaml | 0 .../{ => .chainsaw-test}/chainsaw-step-01-assert-1.yaml | 0 .../{ => .chainsaw-test}/chainsaw-step-01-assert-2.yaml | 0 .../limit-dnsnames/{ => .chainsaw-test}/chainsaw-test.yaml | 2 +- 5 files changed, 1 insertion(+), 1 deletion(-) rename cert-manager/limit-dnsnames/{ => .chainsaw-test}/cert-bad.yaml (100%) rename cert-manager/limit-dnsnames/{ => .chainsaw-test}/cert-good.yaml (100%) rename cert-manager/limit-dnsnames/{ => .chainsaw-test}/chainsaw-step-01-assert-1.yaml (100%) rename cert-manager/limit-dnsnames/{ => .chainsaw-test}/chainsaw-step-01-assert-2.yaml (100%) mode change 100755 => 100644 rename cert-manager/limit-dnsnames/{ => .chainsaw-test}/chainsaw-test.yaml (95%) diff --git a/cert-manager/limit-dnsnames/cert-bad.yaml b/cert-manager/limit-dnsnames/.chainsaw-test/cert-bad.yaml similarity index 100% rename from cert-manager/limit-dnsnames/cert-bad.yaml rename to cert-manager/limit-dnsnames/.chainsaw-test/cert-bad.yaml diff --git a/cert-manager/limit-dnsnames/cert-good.yaml b/cert-manager/limit-dnsnames/.chainsaw-test/cert-good.yaml similarity index 100% rename from cert-manager/limit-dnsnames/cert-good.yaml rename to cert-manager/limit-dnsnames/.chainsaw-test/cert-good.yaml diff --git a/cert-manager/limit-dnsnames/chainsaw-step-01-assert-1.yaml b/cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-step-01-assert-1.yaml similarity index 100% rename from cert-manager/limit-dnsnames/chainsaw-step-01-assert-1.yaml rename to cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-step-01-assert-1.yaml diff --git a/cert-manager/limit-dnsnames/chainsaw-step-01-assert-2.yaml b/cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-step-01-assert-2.yaml old mode 100755 new mode 100644 similarity index 100% rename from cert-manager/limit-dnsnames/chainsaw-step-01-assert-2.yaml rename to cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-step-01-assert-2.yaml diff --git a/cert-manager/limit-dnsnames/chainsaw-test.yaml b/cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-test.yaml similarity index 95% rename from cert-manager/limit-dnsnames/chainsaw-test.yaml rename to cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-test.yaml index cbaf19e0b..ef590805c 100755 --- a/cert-manager/limit-dnsnames/chainsaw-test.yaml +++ b/cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-test.yaml @@ -9,7 +9,7 @@ spec: - name: step-01 try: - apply: - file: limit-dnsnames.yaml + file: ../limit-dnsnames.yaml - patch: resource: apiVersion: kyverno.io/v1