From 44cfad859a4f8075bc49118af6719062a508438d Mon Sep 17 00:00:00 2001 From: Lukasz Zajaczkowski Date: Fri, 29 Nov 2024 15:29:34 +0100 Subject: [PATCH] fix checking services --- test/plural/lib/azure-kubeconfig.yml | 9 --------- test/plural/lib/cluster-services.yml | 2 +- test/plural/lib/gcloud-kubeconfig.yml | 10 ---------- 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 test/plural/lib/azure-kubeconfig.yml delete mode 100644 test/plural/lib/gcloud-kubeconfig.yml diff --git a/test/plural/lib/azure-kubeconfig.yml b/test/plural/lib/azure-kubeconfig.yml deleted file mode 100644 index d222e27c..00000000 --- a/test/plural/lib/azure-kubeconfig.yml +++ /dev/null @@ -1,9 +0,0 @@ -executor: azure-kubeconfig -input: - name: '' - project: '' - -steps: - - script: az aks get-credentials --overwrite-existing --name {{ .input.name }} --resource-group {{ .input.project }} - assertions: - - result.code ShouldEqual 0 \ No newline at end of file diff --git a/test/plural/lib/cluster-services.yml b/test/plural/lib/cluster-services.yml index 6de1c0a7..fc3f9208 100644 --- a/test/plural/lib/cluster-services.yml +++ b/test/plural/lib/cluster-services.yml @@ -11,4 +11,4 @@ steps: retry: 3 delay: 50 assertions: - - result.systemout ShouldEqual HEALTHY \ No newline at end of file + - result.systemout ShouldEqual STALE \ No newline at end of file diff --git a/test/plural/lib/gcloud-kubeconfig.yml b/test/plural/lib/gcloud-kubeconfig.yml deleted file mode 100644 index 73d90842..00000000 --- a/test/plural/lib/gcloud-kubeconfig.yml +++ /dev/null @@ -1,10 +0,0 @@ -executor: gcloud-kubeconfig -input: - name: '' - project: '' - region: '' - -steps: - - script: gcloud container clusters get-credentials {{ .input.name }} --region {{ .input.region }} --project {{ .input.project }} - assertions: - - result.code ShouldEqual 0 \ No newline at end of file