From ce029e1a75b070bac1750737bd06c48f9a329927 Mon Sep 17 00:00:00 2001 From: dan moore Date: Fri, 8 Mar 2024 10:25:15 -0600 Subject: [PATCH] again --- .github/workflows/k8s-regression-tester.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/k8s-regression-tester.yml b/.github/workflows/k8s-regression-tester.yml index d573b84ea0..338fbf4811 100644 --- a/.github/workflows/k8s-regression-tester.yml +++ b/.github/workflows/k8s-regression-tester.yml @@ -96,7 +96,12 @@ jobs: # kubectl delete -f grafana-service.yaml,panoptichain-service.yaml,prometheus-service.yaml,grafana-deployment.yaml,grafana-claim0-persistentvolumeclaim.yaml,panoptichain-deployment.yaml,prometheus-deployment.yaml,prometheus-claim0-persistentvolumeclaim.yaml --namespace=pos --context=gke_prj-polygonlabs-devtools-dev_europe-west2_ci-cluster-1 - name: Remove all datadog agent resources - run: | + register: tf_result + retries: 3 + delay: 5 + until: tf_result is not failed + ansible.builtin.shell: + cmd: | cd panoptichain/terraform terraform init terraform destroy -auto-approve -target=helm_release.datadog_agent -var="datadog_api_key=${{ secrets.DATADOG_API_KEY }}" -var="coralogix_api_key=${{ secrets.CORALOGIX_API_KEY }}" @@ -106,4 +111,3 @@ jobs: cd polygon-devnets/kubernetes/pos export KUBECONFIG=~/.kube/regression-cluster.yaml kubectl delete -k overlays/gcr --namespace=pos --context=gke_prj-polygonlabs-devtools-dev_europe-west2_ci-cluster-1 -